- centos系统自动补全
yum install -y bash-completion
-
重启系统生效/或者断开xshell重新连接即可使用
-
lrzsz文件传输、sz上传 rz下载
yum yum install -y lrzsz vim wget
- 关闭防火墙和selinux
systemctl status firewalld.service systemctl stop firewalld.service && systemctl disable firewalld.service sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config cat /etc/selinux/config
- 临时关闭selinux
[root@localhost ~]# getenforce #查看selinux状态 Enforcing [root@localhost ~]# setenforce 0 #0为关闭,1为开启 [root@localhost ~]# getenforce Permissive



