腾讯云安装ubuntu图形化界面(Ubuntu Server 20.04 LTS 64位)

服务器信息

操作系统: Ubuntu Server 20.04 LTS 64位
实例规格:标准型S2 | S2.SMALL4
CPU:1核
内存:4G

step1 安装ubuntu镜像

在这里插入图片描述

step2 配置安全组,并关联加入

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

step3 修改源

step3.1 使用FileZilla等工具,取出/etc/apt/resource.list文件

担心可备份
cp /etc/apt/sources.list /etc/apt/sources.list.bak

在这里插入图片描述

step3.2 修改源为清华开源

# 清华源# 注释源码镜像以提高更新速度
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multivers
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse

step3.3 使用FileZilla将resource.list文件放入/tmp

在这里插入图片描述

3.4 将文件拷贝到/etc/apt

cp /tmp/resource.list /etc/apt/resource.list

step4 更新源文件

apt-get update
apt-get upgrade

step5 安装桌面

apt-get install -y ubuntu-desktop

step6 安装xrdp

apt-get install -y xrdp

step7 使用windows尝试登陆

win + R 
mstsc
使用xorg,输入用户名(ubuntu),密码

TIPS

如果中途出现异常,参考下列博文

https://cloud.tencent.com/developer/article/1848352?from=15425
https://cloud.tencent.com/developer/article/1609578?from=15425
https://cloud.tencent.com/developer/article/1857408?from=15425
https://blog.csdn.net/qq_37082966/article/details/96720635
https://www.freesion.com/article/4455915953/
https://www.cnblogs.com/xuliangxing/p/7642650.html

最后,如有帮助,劳烦动下小手点一下赞,如有收藏作者不甚感激,必将再接再厉,更创辉煌!!!

  • 6
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 5
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

S. Dylan

站着恰饭不腰疼

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值