配置源
备份原有源
cd /etc/apt/
sudo passwd # 第一次设置你的root密码
su root
cp sources.list sources.list.old
制作新源
清空,获得root权限才行
echo '' > sources.list
nano sources.list
将下列代码写入sources.list,最好分两批。使用VMWare编辑中的粘贴
# deb cdrom:[Ubuntu-Server 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.3)]/ xenial main restricted
deb http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
##test source
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
# source code
deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
##test source
deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
# Canonical cooperative partner
deb http://archive.canonical.com/ubuntu/ xenial partner
# deb http://extras.ubuntu.com/ubuntu/ xenial main
找到一个,参考比较全的网站
更新系统
继续之前获得的root权限
apt update
apt upgrade
配置Cinnamon 3
Server版本先安装比较精简的 Ubuntu Desktop 套件,精简版的500多M,大概需要5-10分钟。
sudo apt-get install --no-install-recommends ubuntu-desktop
然后安装Cinnamon 3
大概也有500M。
sudo add-apt-repository ppa:embrosyn/cinnamon
sudo apt update
sudo apt install cinnamon
配置成功的效果图
当不再使用Cinnamon时,删除
sudo apt-get install ppa-purge
sudo ppa-purge ppa:embrosyn/cinnamon
[2] How to install GUI on Ubuntu 12.04 (Precise) Server
[3] Ubuntu 16.04如何安装Cinnamon 3.0
[4] 设置Cinnamon主题