1、安装编译环境
[shell]yum install gcc gcc-c++ autoconf automake ncurses-devel make chkconfig[/shell]
2、下载,解压缩
[shell]
wget http://mysql.mirror.tw/Downloads/MySQL-5.1/mysql-5.1.45.tar.gz
tar -xzvf mysql-5.1.45.tar.gz
[/shell]
3、编译
[shell]
C[......]
CentOS 5.4编译安装MySQL(vps,小内存优化)
Leave a reply