2013年7月11日 星期四

Linux SeLinux (trouble shooting, security)


Solving the “Permission denied: make_sock: could not bind to address” issue when starting Apache on Linux
 
http://wiki.centos.org/HowTos/SELinux
sestatus ## view seLinux status
getenforce  ## view seLinux status
setenforce 0 ## stop seLinux
semanage port -l | grep http  ## list secontrol port
http_cache_port_t tcp 3128, 8080, 8118, 8123, 10001-10010
http_cache_port_t udp 3130
http_port_t tcp 80, 443, 488, 8008, 8009, 8443
pegasus_http_port_t tcp 5988 ## add
pegasus_https_port_t tcp 5989 ## add
 
 
 

沒有留言:

張貼留言