将这些包放在一个目录下,如 /usr/local/src
然后解压缩这些包:
tar xzvf apche_1.3.24.tar.gz
tar xzvf php-4.2.1.tar.gz
tar xzvf mysql-3.23.49.tar.gz
tar xzvf mod_fastcgi-2.2.12.tar.gz
tar xzvf mod_perl-1.26.tar.gz
tar xzvf mod_ssl-2.8.8.-1.3.24.tar.gz
tar xzvf openssl-0.9.6d.tar.gz
解压缩完成后将会看到在当前目录下已经出现了解压缩后生成的文件夹
现在开始配置编译:
1. 首先安装 MySQL
需要PTH噢,别忘记
1) 建立 MySQL 用户组:
groupadd mysql
useradd -g mysql mysql
2) 配置并编译
cd mysql-3.23.49
./config --prefix=/usr/local/mysql
我调试出问题了:(
文中所指的:"需要PTH噢,别忘记"这是何意
而且我在
#cd mysql-3.23.49
[root@192 mysql-3.23.49]#./configure --prefix=/usr/local/mysql
出现############################################
MySQL has a Web site at http://www.mysql.com/ which carries details on the
latest release, upcoming features, and other information to make your
work or play with MySQL more productive. There you can also find
information about mailing lists for MySQL discussion.
Remember to check the platform specific part in the reference manual for
hints about installing on your platfrom. See the Docs directory.
Thank you for choosing MySQL!
##################################################
#然后我再
[root@192 mysql-3.23.49]#make就出现