栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

CentOS系统环境设置参考

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

CentOS系统环境设置参考

  • 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
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/335639.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号