centos+mysql+extmail+extman+cyrus-sasl+courier-authlib+courier+imap

所涉及到的软件包

courier-authlib-0.63.0.tar.bz2
courier-imap-4.9.3.tar.bz2
cyrus-sasl-2.1.25.tar.gz
httpd-2.2.21.tar.gz
postfix-2.7.6.tar.gz MTA
extmail-1.2.tar.gz   WEBMAIL
extman-1.1.tar.gz    WEBMAN
php-5.3.8.tar.gz

1、数据库安装和配置
#yum install mysql mysql-server mysql-devel
安装完成后,使用,service mysqld start来启动mysql
#mysqladmin -u root password 'pass@word1'   设置mysql的root密码.
创建一个数据库,用来存放虚拟用户

继续阅读

localhost与127.0.0.1的区别(转载)

解析的很好,受教。上次别人给我解析,mysql连接的时候,采用localhost还是127的区别,我是没听懂。下面的解析,我是明白了。

以后可以用这个去指导实践。

http://blog.licess.org/localhost-and-127-0-0-1/

localhost与127.0.0.1的区别是什么?相信有人会说是本地ip,曾有人说,用127.0.0.1比localhost好,可以减少一次解析。看来这个入门问题还有人不清楚,其实这两者是有区别的。 继续阅读