然后
# /sbin/chkconfig --del resin && chkconfig --add resin
# /sbin/chkconfig resin reset
重启系统使之生效
# reboot
3、编译安装mysql
HOST-A:/opt/download/mysql-5.1.36-xtradb6 # ./configure --prefix=/opt/mysql \
> --with-charset=utf8 \
> --with-collation=utf8_general_ci \
> --with-extra-charsets=all \
> --enable-local-infile \
> --enable-thread-safe-client \
> --enable-assembler \
> --with-client-ldflags=-all-static \
> --with-mysqld-ldflags=-all-static \
> --with-unix-socket-path=/opt/mysql/tmp/mysql.sock \
> --with-plugins=all \
下载:http://www.percona.com/docs/wiki/release:start 下载最新版src
编译
# ./configure --prefix=/opt/mysql --with-extra-charsets=utf8,gbk,gb2312
# make
# make install
初始化数据库
# cd /opt/mysql
# ./bin/mysql_install_db --basedir=/opt/mysql --datadir=/mysql/data