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图形化界面(Ubuntu Server 20.04 LTS 64位) 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1728393418a1156844.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论