Carey【胭脂扣】

摘要: 对比表,以 apache / httpd 为例任务旧指令新指令使某服务自动启动chkconfig --level 3 httpd onsystemctl enable httpd.service使某服务不自动启动chkconfig --level 3 httpd offsystemctl disable httpd.service检查服务状态service httpd statussystemctl statushttpd.service (服务详细信息) systemctl is-active httpd.service (仅显示是否 Active)显示所有已启动的服务chkconfig - 阅读全文
posted @ 2013-10-17 13:17 胭脂筘 阅读(729) 评论(0) 推荐(1) 编辑
摘要: CentOS Linux Vsftp服务器配置CentOS Linux Vsftp服务器配置1、开启防火墙ftp端口 vi /etc/sysconfig/iptables #编辑防火墙配置文件1 -A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT(允许21端口通过防火墙)2 -A INPUT -m state --state NEW -m tcp -p tcp --dport 20 -j ACCEPT(允许20端口通过防火墙)3 -A INPUT -m state --state NEW -m tcp -p tcp 阅读全文
posted @ 2013-10-17 10:03 胭脂筘 阅读(320) 评论(0) 推荐(0) 编辑