安装很是简单,如是其余版本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系统安装相关系统。