1、安装时没有提示选择语言和时区,自动安装英文版并选择美国时区 2、设置root密码:sudo passwd root 3、安装vim:sudo apt-get install vim 4、系统安装完
1、安装时没有提示选择语言和时区,自动安装英文版并选择美国时区
2、设置root密码:sudo passwd root
3、安装vim:sudo apt-get install vim
4、系统安装完成需要安装中文语言包:选择setting->language support,选择chinese;
然后设置语言:sudo vim /etc/default/locale ,然后重启
LANG="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
5、删除libreoffice
libreoffice虽然是开源的,但是Java写出来的office执行效率实在不敢恭维,装完系统后果断删掉
sudo apt-get remove libreoffice-common
6、删除Amazon的链接
sudo apt-get remove unity-webapps-common
7、删掉基本不用的自带软件(用的时候再装也来得及)
sudo apt-get remove thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot gnome-mines cheese transmission-common gnome-orca webbrowser-app gnome-sudoku landscape-client-ui-install
sudo apt-get remove onboard deja-dup
8、设置时区:
sudo tzselect
复制文件到/etc目录下
sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
更新时间
sudo ntpdate time.windows.com
在修改时间以后,修改硬件CMOS的时间
sudo hwclock --systohc //非常重要,如果没有这一步的话,后面时间还是不准
10、自定义DHCP网络的DNS Server IP地址:
sudo vim /etc/dhcp/dhclient.conf文件,在第21行#prepend domain-name-servers 127.0.0.1;下一行添加如下2行使用aliyun和114的DNS
prepend domain-name-servers 114.114.114.114;
prepend domain-name-servers 223.5.5.5;
这样可以优先使用aliyun的dns,次要使用114的DNS。
11、设置ubuntu的apt源::
sudo vim /etc/apt/sources.list
deb http://archive.ubuntukylin.com:10006/ubuntukylin trusty main
deb http://cn.archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
更新系统:
su到root:
apt-get update
12、安装GDebi软件管理:
sudo apt-get install gdebi
13、安装sogou输入法:
sudo wget http://cdn2.ime.sogou.com/dl/index/1475147394/sogoupinyin_2.1.0.0082_amd64.deb?st=lmdpnguhGXMJkW7GgTfyhA&e=1476959304&fn=sogoupinyin_2.1.0.0082_amd64.deb
安装:
sudo dpkg -i sogoupinyin_2.1.0.0082_amd64.deb
14、安装google chrome浏览器:
sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
15、安装 新立得 软件中心:
sudo apt-get install synaptic
以上完成之后基本上已经可以轻松使用ubuntu 16.04了!
参考网站:
http://blog.csdn.net/skykingf/article/details/45267517