03 2018 档案
摘要:centos6 配置samba服务 1、安装samba yum install samba -y 2、关闭selinux vim /etc/selinux/config 更改#SELINUX=enforcing 为SELINUX=disable 3、关闭iptables service iptabl
阅读全文
摘要:centos6 部署Apache服务的步骤 1、准备环境 查看防火墙有没有关:service iptables status 关闭防火墙:service iptables stop (chkconfig iptables off) 修改启动项:chkconfig iptables off 关闭sel
阅读全文
摘要:centos7 操作 第一步:修改ssh配置文件 vim /etc/ssh/sshd_config 找到“#Port 22”,复制或直接修改端口号,建议大于1024(系统使用的端口) 第二步:关闭selinux 先查看selinux开放给ssh使用的端口 semanage port -l |grep
阅读全文