simon_sg  
安装MYSQL----------------------------------------------------------------
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /home/soft/phpsoft/mysql-standard-4.0.21-pc-linux-i686.tar.gz | tar xvf -
shell> ln -s mysql-standard-4.0.21-pc-linux-i686 mysql
shell> cd mysql
shell> scripts/mysql_install_db
shell> chown -R root .
shell> chown -R mysql data
shell> chgrp -R mysql .

制作启动文件:
cd /etc/init.d/
cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysql
chmod +x /etc/init.d/mysql
chkconfig --level 345 mysql on
/etc/init.d/mysql start/stop





Note: mysql-standard-4.1.10-linux-gnu-i686不是源码包是二进制分发包吧?不需要./configure的





.
posted on 2005-05-08 17:20  IT and Living  阅读(263)  评论(1)    收藏  举报