Ubuntu16.04.1 Server 版本配置桌面

配置源

备份原有源

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

配置成功的效果图

image

image

当不再使用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主题

  • 3
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值