虚拟机上安装mysql.
256M内存.8G IDE硬盘
虚拟机vmware workstation 6.0安装的Redhat as4.
安装了Xwindow.开发工具,系统管理.windows文件服务.
全新安装了以后,用smb将mysql-5.0.67-linux-i686-glibc23.tar.gz
参照安装手册:http://dev.mysql.com/doc/refman/5.1/zh/installing.html#installing-binary  (2.8.1源码安装概述)
放到AS4中,用root身份登录,解压后执行
groupadd mysql
useradd -g mysql mysql
./configure --prefix=/usr/local/mysql 就出现以下的提示..NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you.  If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your systemPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h rc password 'new-password'Alternatively you can run:
./bin/mysql_secure_installationwhich will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.See the manual for more instructions.You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.plPlease report any problems with the ./bin/mysqlbug script!The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@rc mysql-5.0.67-linux-i686-glibc23]# Starting mysqld daemon with databases from /tmp/mysql-5.0.67-linux-i686-glibc23/data
STOPPING server from pid file /tmp/mysql-5.0.67-linux-i686-glibc23/data/rc.pid
080925 14:05:55  mysqld ended