摘要: centos6 部署Apache服务的步骤 1、准备环境 查看防火墙有没有关:service iptables status 关闭防火墙:service iptables stop (chkconfig iptables off) 修改启动项:chkconfig iptables off 关闭sel 阅读全文
posted @ 2018-03-24 16:31 pathping 阅读(130) 评论(0) 推荐(0) 编辑
摘要: centos7 操作 第一步:修改ssh配置文件 vim /etc/ssh/sshd_config 找到“#Port 22”,复制或直接修改端口号,建议大于1024(系统使用的端口) 第二步:关闭selinux 先查看selinux开放给ssh使用的端口 semanage port -l |grep 阅读全文
posted @ 2018-03-24 16:14 pathping 阅读(1205) 评论(0) 推荐(0) 编辑