在 Chromebook Linux 中安装必备的软件
ChromeOS 内置 Debian buster 的 Linux 系统
修改国内源,
/etc/apt/sources.list
1
2
3
4
5
6
7
8
9deb http://mirrors.163.com/debian/ buster main non-free contrib
deb http://mirrors.163.com/debian/ buster-updates main non-free contrib
deb http://mirrors.163.com/debian/ buster-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ buster/updates main non-free contrib
deb-src http://mirrors.163.com/debian/ buster main non-free contrib
deb-src http://mirrors.163.com/debian/ buster-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ buster-backports main non-free contrib
deb-src http://mirrors.163.com/debian-security/ buster/updates main non-free contrib安装 Docker
1
2
3
4
5
6
7
8
9
10
11
12
13
14sudo apt-get update -y
sudo apt-get install -y\
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update -y
sudo apt-get install docker-ce docker-ce-cli containerd.io -y
sudo gpasswd -a ety001 docker修改 Docker 日志量
1 | # /etc/docker/daemon.json |
1 | sudo systemctl restart docker |
- 修改 Linux 容器为固定IP
/etc/network/interfaces
文件
1 | auto lo |
重启网络 sudo systemctl restart networking
- 修改 sudo 不需要密码
1 | %sudo ALL=(ALL) NOPASSWD: ALL |
- 设置当前用户密码
1 | sudo passwd ety001 |
配置 Chrome 各个插件
配置 ssh
从 github 下载私有配置,进行自定义设置
安装 nvm
1 | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash |
- 下载 vscode
- 安装 Remmina
1 | sudo apt install -y remmina \ |
- 安装 Linux 搜狗拼音
https://pinyin.sogou.com/linux/?r=pinyin
安装完,在 /etc/systemd/user/cros-garcon.service.d/cros-garcon-override.conf
中增加下面的配置
1 | Environment="GTK_IM_MODULE=fcitx" |
在 ~/.sommelierrc
中增加
1 | /usr/bin/fcitx-autostart |
参考: https://faq.fydeos.com/en/recipes/chinese-ime-in-linux-beta/
- 安装 LinuxQQ
https://im.qq.com/linuxqq/download.html
- 安装 Linux QQ音乐
https://y.qq.com/download/download.html
- 安装 Linux 网易云音乐
https://music.163.com/#/download
- 安装 Slack
https://slack.com/intl/zh-cn/downloads/linux
- 安装 hack 字体
1 | sudo apt-get install -y fonts-hack |