RHEL 4 Sendmail邮件服务器搭建之四:OpenWebmail的安装和发布

1、修改系统的SELinux设置:
[root@mail ~]# vi /etc/sysconfig/selinux
//将配置行
SELINUX=enforcing
//改成
SELINUX=disabled

2、重启系统或使用命令:
//重启系统:
[root@mail ~]# init 6
//或用命令:
[root@mail ~]# getenforce     #查看当前状态
Enforcing
[root@mail ~]# setenforce 0    
[root@mail ~]# getenforce
Permissive

3、安装OpenWebmail软件:
[root@mail ~]# mount /dev/cdrom /media/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@mail ~]# cd /media/cdrom
[root@mail cdrom]# ls
openwebmail-2.51-1.i386.rpm
perl-CGI-SpeedyCGI-2.22-1.2.el4.rf.i386.rpm
perl-Compress-Zlib-1.34-1.2.el4.rf.i386.rpm
perl-Compress-Zlib-1.42-1.el4.rf.i386.rpm
perl-suidperl-5.8.5-36.RHEL4.i386.rpm
perl-Text-Iconv-1.4-1.2.el4.rf.i386.rpm
[root@mail cdrom]# rpm -ivh openwebmail-2.51-1.i386.rpm perl* 警告:openwebmail-2.51-1.i386.rpm: V3 DSA �章:NOKEY, key ID cfb164d8
警告:perl-CGI-SpeedyCGI-2.22-1.2.el4.rf.i386.rpm: V3 DSA �章:NOKEY, key ID 6b 8d79e6
警告:套件 perl-Compress-Zlib = 1.34-1.2.el4.rf 已�加入,以 perl-Compress-Zlib <= 1.42-1.el4.rf 取代
警告:perl-suidperl-5.8.5-36.RHEL4.i386.rpm: V3 DSA �章:NOKEY, key ID db42a60e
��渲�...                ########################################### [100%]
   1:perl-Text-Iconv        ########################################### [ 20%]
   2:perl-suidperl          ########################################### [ 40%]
   3:perl-Compress-Zlib     ########################################### [ 60%]
   4:openwebmail            ########################################### [ 80%]

You may login with non-root account from
[url]http://mail.rhel4a.com/cgi-bin/openwebmail/openwebmail.pl[/url]

   5:perl-CGI-SpeedyCGI     ########################################### [100%]

4、建立dbm.conf文件:
[root@mail cdrom]# vi /var/www/cgi-bin/openwebmail/etc/dbm.conf

你可能感兴趣的:(RHEL,sendmail,邮件服务器,休闲,openwebmail)