装个ubuntu也是很麻烦的 = =
记录一下 常用的软件和配置, 以后备用
下载镜像
ubuntu 官网: http://www.ubuntu.org.cn/download
网易开源镜像站: http://mirrors.163.com/
清理和配置源
清理
ubuntu 默认没有设置root的密码 所以 su 一开始是用不了的
# 设置root 密码
sudo passwd root
清理不需要的软件
sudo apt-get purge libreoffice-common
sudo apt-get purge unity-webapps-common
sudo apt-get purge thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot
sudo apt-get purge gnome-mines cheese transmission-common gnome-orca webbrowser-app gnome-sudoku
sudo apt-get purge onboard deja-dup
# 清理旧版本的软件缓存
sudo apt-get autoclean
# 清理所有软件缓存
sudo apt-get clean
# 删除系统不再使用的孤立软件
sudo apt-get autoremove
配置apt-get更新源
虽然用gui界面可以设置 还是习惯用命令
找一下需要的源
清华大学开源软件镜像站: https://mirrors.tuna.tsinghua.edu.cn/
wiki ubuntu: http://wiki.ubuntu.org.cn/%E6%A8%A1%E6%9D%BF:16.04source
ubuntu 国内源: https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse