1.安装apr
./configure --prefix=/usr/local/apr
make
make install
2.安装apr-util
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
make
make install
3.安装Apache
./configure --prefix=/usr/local/apache --enable-modules=so --enable-rewrite --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-pcre=/usr/local/pcre
make
make install
4.安装yum以便于安装缺失包 http://blog.csdn.net/makaveli/article/details/6241402
5.安装php http://www.cnblogs.com/lufangtao/archive/2012/12/30/2839679.html
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql
make
make install
6.mysql配置 http://www.cnblogs.com/whiteyun/archive/2011/04/13/2014913.html
./configure -prefix=/usr/local/mysql -with-extra-charsets=utf8
root 123456
启动 /etc/init.d/mysqld start
修改密码 /usr/bin/mysqladmin -u root password '123456'
mantis默认用户名密码
administrator/root
./configure --prefix=/usr/local/apr
make
make install
2.安装apr-util
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
make
make install
3.安装Apache
./configure --prefix=/usr/local/apache --enable-modules=so --enable-rewrite --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-pcre=/usr/local/pcre
make
make install
4.安装yum以便于安装缺失包 http://blog.csdn.net/makaveli/article/details/6241402
5.安装php http://www.cnblogs.com/lufangtao/archive/2012/12/30/2839679.html
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql
make
make install
6.mysql配置 http://www.cnblogs.com/whiteyun/archive/2011/04/13/2014913.html
./configure -prefix=/usr/local/mysql -with-extra-charsets=utf8
root 123456
启动 /etc/init.d/mysqld start
修改密码 /usr/bin/mysqladmin -u root password '123456'
mantis默认用户名密码
administrator/root