######################################### ntpdate time.nist.gov groupadd mysql useradd mysql -d /dev/null -g mysql -s /sbin/nologin cd /opt
##################################### #2、安裝ncurses-5.6 tar -zxvf ncurses-5.6.tar.gz cd ncurses-5.6 ./configure --prefix=/usr --with-shared --without-debug make make install make install clean
#################################### #3、安裝mysql-5.0.51a cd /opt tar -zxvf mysql-5.0.51a.tar.gz cd mysql-5.0.51a ./configure --with-mysqld-user=mysql --prefix=/usr/local/mysql5 --with-charset=gbk --with-extra-charset=all --without-isam --exec-prefix=/usr/local/mysql5 make make install