回复: 如何改变端口
改两个文件:
#
# Part of file: /etc/httpd/conf/httpd.conf
#
Listen 8080
#
# Part of file: /etc/sysconfig/iptables
#
-A INPUT -p tcp -m multiport --dport 8080,443,25,465,110,995,143,993,22 -j ACCEPT
支持 Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, FreeBSD, OpenBSD
您尚未登陆。 请选择登陆或是注册一个新账号。
iRedMail 开源邮件服务解决方案 » iRedMail 技术支持 » 如何改变端口
改两个文件:
#
# Part of file: /etc/httpd/conf/httpd.conf
#
Listen 8080
#
# Part of file: /etc/sysconfig/iptables
#
-A INPUT -p tcp -m multiport --dport 8080,443,25,465,110,995,143,993,22 -j ACCEPT
现在可以在安装 iRedMail(>=0.2-rc2) 前先编辑 'iRedMail-x.y.z/conf/httpd' 文件,设置 Apache 的监听端口。例如:
#
# Part of file: iRedMail-x.y.z/conf/httpd
#
export HTTPD_PORT='8080'
iRedMail 开源邮件服务解决方案 » iRedMail 技术支持 » 如何改变端口
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.
页面生成时间 0.005 秒, 共执行查询 55 条