码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2015-03-10 13:52:28      阅读:208      评论:0      收藏:0      [点我收藏+]

标签:

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
完成

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

标签:

原文地址:http://www.cnblogs.com/chenjian/p/4325676.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!