CentOs7安装源 阿里云☁
https://mirrors.aliyun.com/centos/7/os/x86_64/
阿里yum源
https://mirrors.aliyun.com/repo/Centos-7.repo
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
其他参考链接https://developer.aliyun.com/mirror/centos?spm=a2c6h.13651102.0.0.3e221b116jASGx
root身份自动登录GNOME
先以root身份登录终端,然后编辑/etc/gdm/custom.conf
文件。
[roo@localhost ~]$ su
密码:
[root@localhost roo]# vim /etc/gdm/custom.conf
[root@localhost roo]# cat /etc/gdm/custom.conf
# GDM configuration storage
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=root
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
#Enable=true
[root@localhost roo]#
修改完成后重启。