Fork me on GitHub

随笔分类 -  Centos8

摘要:图形界面默认是Automatic(DHCP),在这个状态下我尝试修改字符界面不能成功,只能按照安装的时候获取的地址,无法改为自定义地址, 通过测试发现两种办法解决 一、图形界面修改 1、点击网卡标志 2、点击 Wired Connected(有线连接)下拉后点击Wried Settings链接设置 阅读全文
posted @ 2021-05-12 11:01 Alex-Lzy 阅读(1234) 评论(0) 推荐(0) 编辑
摘要:一、查看/etc/inittab文件内容。 二、通过文件查看可以看出,Centos8 只有两种启动模式 multi-user.target: analogous to runlevel 3 ,多用户,命令行模式,类似于runlevel3 graphical.target: analogous to 阅读全文
posted @ 2021-05-11 14:04 Alex-Lzy 阅读(1242) 评论(0) 推荐(0) 编辑
摘要:1、备份原来的源 1 cd /etc/yum.repos.d 2 cp CentOS-Linux-Base.repo CentOS-Base.repo.bak 2. 下载对应版本的repo文件 wget -O CentOS-Base.repo http://mirrors.aliyun.com/re 阅读全文
posted @ 2021-05-11 12:53 Alex-Lzy 阅读(790) 评论(0) 推荐(0) 编辑
摘要:在centos8和现在刚出的RockyLinux里面通过 systemctl start network 已经不行了,提示找不到network,因为命令改变了,同样centos8上最小化安装ifconfig 这个命令也没了,不过ip a 查看IP地址还可以 通用的命令 ifdown ens33 关闭 阅读全文
posted @ 2021-05-08 15:45 Alex-Lzy 阅读(6669) 评论(0) 推荐(1) 编辑