分类: LINUX
2007-03-01 14:24:55
各处阿安装步骤:
rpm -q httpd php php-mysql mysql mysql-server mysql-devel gdbm gdbm-devel openssl openssl-devel stunnel krb5-devel[MS1]
未安装的软件全部进行安装
[root@sys-server soft]# rpm --import
error: : import read failed.
检查/etc/selinux/config 文件
是否SELINUX=DISABLED
#vi /etc/httpd/conf/httpd.conf
ServerName mail.uland.com.cn:80
#service httpd start
设置防火墙:
Outbound ports (tcp)
25 - SMTP
110 - POP
143 - IMAP
783 - Spamassassin
993 - IMAPS
Inbound Ports (tcp)
22-SSH
25 - SMTP
80 - HTTP
110 - POP services
143 - IMAP
443 - HTTPS
783 - Spamassassin
993 - IMAPS
2.5 设置MySQL
#chkconfig mysqld on
#service mysqld start
#mysqladmin –u root password c2sptmjf
2.6 卸载已有的邮件系统
# service sendmail stop
#netstat –an | grep LISTEN
#rpm –qa | grep sendmail
#rpm –e sendmail-
第三节:下载所需要的软件包 TOP
此安装指南中所使用的软件包有:
autorespond-
clamav-0.83.tar.gz
courier-authlib-0.55.tar.bz2
courier-imap-
daemontools-0.76.errno.patch
daemontools-0.76.tar.gz
ezmlm-0.53.tar.gz
ezmlm-idx-0.42.tar.gz
igenus_
igenus_admin_0.1.tgz
isoqlog-2.1.1.tar.gz
maildrop-
mrtg-
netqmail-1.05.tar.gz
perl-Razor-Agent-2.40-2.i386.rpm
perl-suidperl-
qlogtools_errno.patch
qlogtools-3.1.tar.gz
qmailadmin-
qmailanalog-0.70.errno.patch
qmailanalog-0.70.tar.gz
qmailmrtg7-4.0.tar.gz
qmail-scanner-1.25.tgz
qmail-toaster-
qms-analog-
spamassassin-
squirrelmail-
sqwebmail-
tnef-
toaster-scripts-0.7.tar.gz
ucspi-tcp-0.88.errno.patch
ucspi-tcp-0.88.tar.gz
vpopmail-
vqadmin-
vqregister-2.6.tar.gz
http://www.inter7.com/index.php?page=development
#创建/home/pkg/目录
mkdir /home/pkg
cd home
#解压缩netqmail-1.05.tar.gz
#tar –xvzf netqmail-1.05.tar.gz
cd netqmail-1.05
./collate.sh