首页| 论坛| 消息
主题:centos7
回帖:vi /etc/selinux/config关闭linuxse

更换并加载国内yum源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo #更换阿里云yum源
curl -o /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo#添加epel源
yum makecache #加载缓存

安装 net-tools 含ifconfig‌

yum install net-tools

4.安装基础组件因为CentOS7是以最小化模式安装的,所以有经验的铁子会发现linux的魅力,Tab键自动补齐功能居然失效了,没关系、安装以下组件便可高效方便实验啦!
yum install yum-utilsbash-completion vim git wget zip tree -y
查看内核版本
uname -r

更新yum
yum update

https://www.zhihu.com/question/25126650/answer/3529138071
下一楼›:https://blog.csdn.net/weixin_50233496/article/details/150860009?utm_medium=distribute.pc_r ..

查看全部回帖(6)
«返回主帖