admin管理员组

文章数量:1602103

服务器信息

操作系统: 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/ubuntu/ focal main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu/ubuntu/ focal main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu/ubuntu/ focal-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu/ubuntu/ focal-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu/ubuntu/ focal-backports main restricted universe multivers
# deb-src https://mirrors.tuna.tsinghua.edu/ubuntu/ focal-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu/ubuntu/ focal-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu/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/developer/article/1848352?from=15425
https://cloud.tencent/developer/article/1609578?from=15425
https://cloud.tencent/developer/article/1857408?from=15425
https://blog.csdn/qq_37082966/article/details/96720635
https://www.freesion/article/4455915953/
https://wwwblogs/xuliangxing/p/7642650.html

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

本文标签: 云安腾讯图形化界面Ubuntu