您的位置:首页 > 其它

Ubuntu16.04.1 Server 版本配置桌面

2016-08-23 02:52 204 查看

配置源

备份原有源

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


[1] Ubuntu Server安装图形界面全过程

[2] How to install GUI on Ubuntu 12.04 (Precise) Server

[3] Ubuntu 16.04如何安装Cinnamon 3.0

[4] 设置Cinnamon主题
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu vmware server