For Ubuntu
Apache2.4.x installation
1.APR(Apache Portable Runtime) installation
./configure
./make
./make install
2.APR-Util installation
./configure —with-apr=/usr/local/apr
./make
./make install
3.PCRE(Perl Compatible Regular Expressions) installation
./configure
./make
./make install
4.Apache installation
./configure --prefix=/home/www/apache2 --enable-module=so --enable-mods-shared-all --enable-so --enable-rewrite --enable-sll
./make
./make install
cd /usr/local/apache2/bin
ldd httpd
Mysql5.1.x installation
apt-get install ncurses-dev
apt-get install ncurses-
./configure --prefix=/usr/local/mysql --enable-shared --enable-assembler
./make
./make test (You can get some errors)
./make install
cmake
-DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DDEFAULT_CHARSET=utf8
-DDEFAULT_COLLATION=utf8_general_ci -DWITH_EXTRA_CHARSETS=all
-DMYSQL_DATADIR=/usr/local/mysql/data -DENABLED_LOCAL_INFILE=1
-DWITH_INNOBASE_STORAGE_ENGINE=1 -DMYSQL_UNIX_ADDR=/tmp/mysql.sock
-DSYSCONFDIR=/usr/local/mysql
PHP5.5.x installation
./configure nodep
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --enable-shared
./make
./make test
./make install
댓글 없음:
댓글 쓰기