RHEL5下openwebmail的安装

[root@localhost ~]# rpm -q httpd
httpd-2.2.3-6.el5
[root@localhost ~]# mount /dev/cdrom /mnt
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@localhost ~]# ls /mnt
1.htm                              mysql-3.23.57-pc-linux-i686.tar.gz
Authen-PAM-0.14.tar.gz             openwebmail-2.51-1.i386.rpm
bmb                                openwebmail-2.51.tar.gz
CGI.pm-3.05.tar.gz                 perl-CGI-SpeedyCGI-2.22-1.2.el4.rf.i386.rpm
hosts.deny                         perl-Compress-Zlib-1.34-1.2.el4.rf.i386.rpm
httpd-2.0.59.tar.gz                perl-FCGI-0.67-2.0.el5.i386.rpm
iptables_scri                      perl-suidperl-5.8.8-10.i386.rpm
ispell-3.1.20.tar.gz               perl-Text-Iconv-1.4-1.2.el4.rf.i386.rpm
libnet-1.19.tar.gz                 php-4.4.7.tar.gz
lm_sensors-2.10.6-53.el4.i386.rpm phpBB-2.0.5.tar.gz
MIME-Base64-3.01.tar.gz            Text-Iconv-1.2.tar.gz
[root@localhost ~]# cp /mnt/* /usr/local/src/
cp: omitting directory `/mnt/bmb'
cp: omitting directory `/mnt/iptables_scri'

[root@localhost ~]# cd /usr/local/src
[root@localhost src]# ls
1.htm                               openwebmail-2.51-1.i386.rpm
Authen-PAM-0.14.tar.gz              openwebmail-2.51.tar.gz
CGI.pm-3.05.tar.gz                  perl-CGI-SpeedyCGI-2.22-1.2.el4.rf.i386.rpm
hosts.deny                          perl-Compress-Zlib-1.34-1.2.el4.rf.i386.rpm
httpd-2.0.59.tar.gz                 perl-FCGI-0.67-2.0.el5.i386.rpm
ispell-3.1.20.tar.gz                perl-suidperl-5.8.8-10.i386.rpm
libnet-1.19.tar.gz                  perl-Text-Iconv-1.4-1.2.el4.rf.i386.rpm
lm_sensors-2.10.6-53.el4.i386.rpm   php-4.4.7.tar.gz
MIME-Base64-3.01.tar.gz             phpBB-2.0.5.tar.gz
mysql-3.23.57-pc-linux-i686.tar.gz Text-Iconv-1.2.tar.gz


[root@localhost src]# rpm -ivh ./perl-*
warning: ./perl-CGI-SpeedyCGI-2.22-1.2.el4.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1aa78495
warning: ./perl-Compress-Zlib-1.34-1.2.el4.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
warning: ./perl-FCGI-0.67-2.0.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 66534c2b
warning: ./perl-suidperl-5.8.8-10.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:perl-Text-Iconv        ########################################### [ 20%]
   2:perl-CGI-SpeedyCGI     ########################################### [ 40%]
   3:perl-Compress-Zlib     ########################################### [ 60%]
   4:perl-FCGI              ########################################### [ 80%]
   5:perl-suidperl          ########################################### [100%]


[root@localhost src]# rpm -ivh openwebmail-2.51-1.i386.rpm
warning: openwebmail-2.51-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID cfb164d8
Preparing...                ########################################### [100%]
   1:openwebmail            ########################################### [100%]

You may login with non-root account from
http://localhost.localdomain/cgi-bin/openwebmail/openwebmail.pl

[root@localhost /]# vi /var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf

dbm_ext                 .db
dbmopen_ext             .db
dbmopen_haslock         no

[root@localhost /]# /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init

creating db /var/www/cgi-bin/openwebmail/etc/maps/b2g ...done.
creating db /var/www/cgi-bin/openwebmail/etc/maps/g2b ...done.
creating db /var/www/cgi-bin/openwebmail/etc/maps/lunar ...done.
Welcome to the Open WebMail!

This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:

OS: Linux 2.6.18-8.el5 i686
Perl: 5.008008
WebMail: Open WebMail 2.51 20050228

Send the site report?(Y/n) y
sending report...

Thank you.

[root@localhost /]# service httpd status
httpd (pid 5349 5348 5347 5346 5345 5344 5343 5342 5340) is running...

 

 


[root@localhost /]# vi /var/www/cgi-bin/openwebmail/etc/openwebmail.conf

omainnames                     yang.com (12行)

default_language                zh_CN.GB2312 (62行)


default_iconset                 Cool3D.Chinese.Simplified (85行)

 

 

 

 

 

 

你可能感兴趣的:(职场,邮件服务器,休闲,rhel5,openwebmail)