图形化界面安装

一、操作系统安装检查

按照默认(standard)方式安装CentOS 8.4,并更换本地源。

[root@localhost ~]# cat /etc/redhat-release

CentOS Linux release 8.4.2105

[root@localhost  ~]# cat /etc/yum.repos.d/CentOS-Linux-8.4.repo
[appstream]
name=CentOS Linux  - AppStream
#mirrorlist=http://mirrorlist.centos.org/?release=&arch=$basearch&repo=AppStream&infra=$infra
#baseurl=http://mirror.centos.org/8.4.2105//AppStream/$basearch/os/
baseurl=http://172.16.71.242/el8/8.4.2105/AppStream/$basearch/os/
        https://mirrors.tuna.tsinghua.edu.cn/centos-vault/8.4.2105/AppStream/$basearch/os/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

[baseos]
name=CentOS Linux  - BaseOS
#mirrorlist=http://mirrorlist.centos.org/?release=&arch=$basearch&repo=BaseOS&infra=$infra
#baseurl=http://mirror.centos.org/8.4.2105//BaseOS/$basearch/os/
baseurl=http://172.16.71.242/el8/8.4.2105/BaseOS/$basearch/os/
        https://mirrors.tuna.tsinghua.edu.cn/centos-vault/8.4.2105/BaseOS/$basearch/os/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

[devel]
name=CentOS Linux  - Devel WARNING! FOR BUILDROOT USE ONLY!
#mirrorlist=http://mirrorlist.centos.org/?release=&arch=$basearch&repo=Devel&infra=$infra
#baseurl=http://mirror.centos.org/8.4.2105//Devel/$basearch/os/
baseurl=http://172.16.71.242/el8/8.4.2105/Devel/$basearch/os/
        https://mirrors.tuna.tsinghua.edu.cn/centos-vault/8.4.2105/Devel/$basearch/os/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

[plus]
name=CentOS Linux  - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=&arch=$basearch&repo=centosplus&infra=$infra
#baseurl=http://mirror.centos.org/8.4.2105//centosplus/$basearch/os/
baseurl=http://172.16.71.242/el8/8.4.2105/centosplus/$basearch/os/
        https://mirrors.tuna.tsinghua.edu.cn/centos-vault/8.4.2105/centosplus/$basearch/os/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

二、安装图形界面及管理工具

yum  group install "Server with GUI" --skip-broken
yum group install "Graphical Administration Tools"

三、将默认启动更改为图形运行级别

systemctl set-default graphical.target
systemctl isolate graphical.target

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值