初次使用Linux注意事项

发布时间 2023-03-29 11:10:42作者: jzm1/

1.启动网络服务

systemctl start network
systemctl enable network

2.无法使用yum

错误如下
image
解决办法

cd /etc/sysconfig/network-scripts
vi ifcfg-ens33

将ENBOOT改为yes
image

service network restart
yum -y install wget

3.下载图形化界面

yum groupinstall 'X Window System' -y
yum groupinstall 'GNOME' -y

如果没有汉语

yum groupinstall 'fonts'