如果没有安装iptables该怎么办呢?
在/etc/xinetd.d下加入http服务
重启/etc/init.d/xinetd restart
参考资料:
1 http://www.centos.org/docs/4/html/rhel-rg-en-4/s1-tcpwrappers-xinetd-config.html
2 http://linux.vbird.org/linux_basic/0560daemons.php
在/etc/xinetd.d下加入http服务
service http
{
disable = no
socket_type = stream
wait = no
redirect = 127.0.0.1 8080
log_type = FILE logpath
}
重启/etc/init.d/xinetd restart
参考资料:
1 http://www.centos.org/docs/4/html/rhel-rg-en-4/s1-tcpwrappers-xinetd-config.html
2 http://linux.vbird.org/linux_basic/0560daemons.php
无iptables时的HTTP服务配置
本文介绍在未安装iptables的情况下如何通过配置xinetd来启动HTTP服务,并提供了具体的配置示例及重启命令。
1188

被折叠的 条评论
为什么被折叠?



