yum -y install gcc* ncurses-devel
yum -y install openssl* libxml2* bzip2* curl* net-snmp mrtg nmap ruby
yum install gd* freetype* libjpeg* libpng* libmcrypt*
CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3" ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-pthread --with-big-tables --without-debug --enable-assembler --with-system-type=linux --with-machine-type=i386 --with-charset=utf8 --with-extra-charsets=all --with-mysqld-ldflags=-all-static
./configure --prefix=/usr/local/apache --enable-so --enable-rewrite --enable-deflate --enable-ssl --with-ssl=/usr --enable-headers
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-bz2 --with-zlib --with-curl --enable-soap --enable-mbstring --with-mysql=/usr/local/mysql --with-pdo-mysql=/usr/local/mysql --enable-zend-multibyte
阅读(682) | 评论(0) | 转发(0) |