CentOS网络配置


第一次使用要更改网络配置,否则连不上网。

首先以root用户登录
输入命令:

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

按 i 进入编辑模式, 将ONBOOT改为yes

CentOS基本配置

之后重启网卡:

service network restart

CentOS图形界面


  • 安装图形界面
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
  • 重启
shutdown -r now
  • 开启图形界面
startx
  • 也可以修改默认启动方式为图形界面
systemctl set-default graphical.target

相关文章:

  • 2021-05-29
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2021-11-08
  • 2021-10-17
猜你喜欢
  • 2021-07-24
  • 2021-11-22
  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案