排序
centos7.更换系统用户名
1、vim /etc/passwd //2处必改,1处可选(描述处) 2、vim /etc/group //改1处 3、vim /etc/shadow //改1处 4、vim /etc/gshadow //改1处 5、cd /home 6、mv 旧用户名 新用户名 ####在旧用户名有s...
CentOS 7.6 安装萌茄版锐速
第一步: CentOS 7.6内核更换为:3.10.0-229.1.2.el7.x86_64 rpm -ivh http://soft.91yun.pw/ISO/Linux/CentOS/kernel/kernel-3.10.0-229.1.2.el7.x86_64.rpm --force 第二步: bash <(wget ...
CentOS7使用firewalld打开关闭防火墙与端口
1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开...
将Centos的yum源更换为阿里云的源
1、备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/ CentOS 5 wget -O /etc/yum.repos.d/CentOS-Base....