最近,新安装了ubuntu18.04为了免除以后重装系统还需要各种配置的麻烦,把需要做的配置一一记录下来:
- ubuntu换源
- 搜狗输入法和fcitx的安装
- shadow-socks 的安装
Ubuntu换源:
sudo cp /etc/apt/source.list /etc/apt/source.list.bak sudo gedit /etc/apt/sources.list
拷贝副本,然后修改源文件
删除所有的源文件 更换为阿里云
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src