安裝很是簡單,如是其餘版本linux系統,使用相應的在線升級命令便可,如apt-get
1.安裝中文包:yum -y groupinstall chinese-support
2.修改字符編碼配置文件
vi /etc/sysconfig/i18n
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"
export LC_ALL="zh_CN.GB18030"
3.從新登陸系統。php
install wubihtml
使用centos 倉庫裏的 ibus,五筆支持是 ibus-table-wubi 包mysql
sudo yum install ibus-table-wubilinux
CentOS系統安裝mysql
[root@mail build]#yum install mysql-server
[root@mail build]#yum install mysql-develweb
CentOS系統安裝apache
[root@mail build]#yum install httpdsql
CentOS系統安裝php
[root@mail build]#yum install php
[root@mail build]#yum install php-mysql
[root@mail build]#yum install php-gd
[root@mail build]#yum install php-imap
[root@mail build]#yum install vsftpd
[root@mail build]#yum install clamav
[root@mail build]#yum install spamassassin
[root@mail build]#/usr/bin/freshclam數據庫
CentOS系統設置apache
默認:User apache改成User postfix
默認Group apache改成Group postfix
默認AddDefaultCharset UTF-8改成AddDefaultCharset gb2312
新加入:AddType application/x-httpd-php .phpAddType application/x-httpd-php-source .phpsapache
CentOS系統安裝phpMyAdmin
[root@mail build]#tar –zxf ../src/phpMyAdmin-2.8.0.1.tar.gz
[root@mail build]#mv phpMyAdmin-2.8.0.1 /var/www/html/dbadmin/
[root@mail build]#cp /var/www/html/dbadmin/libraries/config.default.php /var/www/html/dbadmin/dbadmin/libraries/config.inc.php (line 1.)centos
CentOS系統設置數據庫[root@mail build]#mysql
Mysql> create datases postfix;
Mysql> use mysql;
Mysql> INSERT INTO user (host,user,password) VALUES('localhost','postfix','');
Mysql> update user set password=password('postfix') where User='postfix';
Mysql> GRANT ALL ON postfix.* TO postfix@localhost IDENTIFIED BY "postfix";
Mysql> exit
[root@mail build] tar –zxf ../src/webmail.tar.gz
[root@mail build] mysql –u root –p postfix < Tmail.sqlsass
增長postfix的用戶和組
[root@mail build] groupadd -g 12345 postfix
[root@mail build] useradd -u 12345 -g 12345 -c postfix -d/dev/null -s/sbin/nologin postfix
[root@mail build] groupadd -g 54321 postdrop以上介紹CentOS系統安裝相關係統。