安装非常简单,如是其他版本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.重新登录系统。
install wubi
使用centos 仓库里的 ibus,五笔支持是 ibus-table-wubi 包
sudo yum install ibus-table-wubi
CentOS系统安装mysql
[root@mail build]#yum install mysql-server
[root@mail build]#yum install mysql-devel
CentOS系统安装apache
[root@mail build]#yum install httpd
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 .phps
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系统设置数据库[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.sql
增加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系统安装相关系统。