Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5386043
  • 博文数量: 890
  • 博客积分: 12876
  • 博客等级: 上将
  • 技术积分: 10760
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-04 14:18
个人简介

猝然临之而不惊,无故加之而不怒。

文章分类

全部博文(890)

文章存档

2016年(1)

2014年(18)

2013年(41)

2012年(48)

2011年(65)

2010年(84)

2009年(121)

2008年(101)

2007年(129)

2006年(95)

2005年(118)

2004年(69)

分类: LINUX

2004-11-04 16:24:11

以下是我的祥细安装步骤:

工作环境:RedHat 9.0 + Postfix-1.1.11-11


[root@mail wht]# cd openwebmail
[root@mail openwebmail]# ls
openwebmail-2.30-1.i386.rpm perl-Compress-Zlib-1.21-RH9.i386.rpm perl-Text-Ico
perl-CGI-2.81-88.i386.rpm perl-suidperl-5.8.0-88.i386.rpm

/* 只有以上五个插件噢,不用这么多就可以的:) */ /*查查系统有没有安装这几个插件呀!?*/

[root@mail openwebmail]# rpm -qa|grep perl-CGI
perl-CGI-2.81-88
[root@mail openwebmail]# rpm -qa|grep perl-MIME
[root@mail openwebmail]# rpm -qa|grep perl-Text-Iconv
[root@mail openwebmail]# rpm -qa|grep perl-libnet
[root@mail openwebmail]#
[root@mail openwebmail]# rpm -ivh perl-Text-Iconv-1.2-RH80.i386.rpm
Preparing... ########################################### [100%]
1:perl-Text-Iconv ########################################### [100%]
[root@mail openwebmail]# rpm -ivh perl-Compress-Zlib-1.21-RH9.i386.rpm
Preparing... ########################################### [100%]
1:perl-Compress-Zlib ########################################### [100%]
[root@mail openwebmail]# rpm -ivh perl-suidperl-5.8.0-88.i386.rpm
warning: perl-suidperl-5.8.0-88.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:perl-suidperl ########################################### [100%]
[root@mail openwebmail]# rpm -ivh openwebmail-2.30-1.i386.rpm
Preparing... ########################################### [100%]
1:openwebmail ########################################### [100%]

You may login with non-root account from
(/* 在IE中执行此就可以了,mail是我RH9.0的电脑名 */)

[root@mail openwebmail]#
[root@mail openwebmail]# cd /var/www/cgi-bin/
[root@mail cgi-bin]# ls
openwebmail
[root@mail cgi-bin]# cd operwebmail
-bash: cd: operwebmail: 沒有此一檔案或目錄
[root@mail cgi-bin]# cd openwebmail
[root@mail openwebmail]# ls
auth openwebmail.pl openwebmail-webdisk.pl
etc openwebmail-prefs.pl preload.pl
modules openwebmail-read.pl quota
openwebmail-abook.pl openwebmail-send.pl shares
openwebmail-advsearch.pl openwebmail-spell.pl userstat.pl
openwebmail-cal.pl openwebmail-tool.pl uty
openwebmail-folder.pl openwebmail-vdomain.pl vacation.pl
openwebmail-main.pl openwebmail-viewatt.pl
[root@mail openwebmail]# ./openwebmail-tool.pl --init


WARNING!

The perl on your system has serious bug in routine tell()!
While openwebmail can work properly with this bug, other perl application
may not function properly and thus cause data loss.

We suggest that you should patch your perl as soon as possible.


Please hit 'Enter' to continue or Ctrl-C to break.

Please change './etc/dbm.conf' from    (/* 要修改这里才可以:) */)

dbm_ext .db
dbmopen_ext none
dbmopen_haslock no

to

dbm_ext .db
dbmopen_ext .db
dbmopen_haslock yes


And execute './openwebmail-tool.pl --init' again!

ps: If you are running openwebmail in persistent mode,
don't forget to 'touch openwebmail*.pl', so speedycgi
will reload all scripts, modules and conf files in --init.

[root@mail openwebmail]#
[root@mail openwebmail]# vi ./etc/dbm.conf   (/* 错了,没有这个文件 */)
[root@mail openwebmail]# cd etc
[root@mail etc]# ls
address.book b2g.map openwebmail.conf.help
auth_ldap.conf.default calendar.book README.conf.default
auth_mysql.conf.default dbm.conf.default sessions
auth_mysql_vmail.conf.default filelock.conf.default sites.conf
auth_nis.conf.default filter.book smtpauth.conf
auth_pam.conf.default g2b.map styles
auth_pg.conf.default holidays templates
auth_pgsql.conf.default lang users
auth_pop3.conf.default lunar.map users.conf
auth_unix.conf.default openwebmail.conf
auth_vdomain.conf.default openwebmail.conf.default
[root@mail etc]# cp dbm.conf.default dbm.conf
[root@mail etc]# vi dbm.conf     (/* 照上面的修改后保存就OK啦 */)
[root@mail etc]# cd ..
[root@mail openwebmail]# ./openwebmail-tool.pl --init

WARNING!

The perl on your system has serious bug in routine tell()!
While openwebmail can work properly with this bug, other perl application
may not function properly and thus cause data loss.

We suggest that you should patch your perl as soon as possible.


Please hit 'Enter' to continue or Ctrl-C to break.

creating db /var/www/cgi-bin/openwebmail/etc/b2g ...done.
creating db /var/www/cgi-bin/openwebmail/etc/g2b ...done.
creating db /var/www/cgi-bin/openwebmail/etc/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.4.20-8 i686
Perl: 5.008
WebMail: Open WebMail 2.30 20040103

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

Thank you.

[root@mail openwebmail]# (/* 还等什么呀,可以了 */)


 

阅读(2550) | 评论(0) | 转发(0) |
0

上一篇:昨天考试

下一篇:apache的默认语言设置

给主人留下些什么吧!~~