修改后台默认8080端口的方法

wdcp系统默认使用的是8080管理端口,可以通过以下方法修改,如要修改为8000

方法一
vi /www/wdlinux/apache/conf/wdcp.conf
把里面的8080改为8000即可
相应nginx的配置文件在/www/wdlinux/nginx/conf/wdcp

方法二
apache
sed -i 's/8080/8000/' /www/wdlinux/apache/conf/wdcp.conf
nginx
sed -i 's/8080/8000/' /www/wdlinux/nginx/conf/wdcp.conf

然后记得修改防火墙iptables的端口
sed -i 's/8080/8000/' /etc/sysconfig/iptables
重起iptables
service iptables restart

重起web
service httpd restart
or
service nginxd restart
完成

欢迎转载,但请保留此信息
[我的Linux,让Linux更易用] CentOS精简版,集成lamp,lnmp版,wdcp,wdcdn,wddns,一键安装包,集群负载均衡LVS,智能DNS/CDN,性能优化
本文连接:http://www.wdlinux.cn/old/node/371