Difference between revisions of "Install a new server (CentOS)"
From Organic Design wiki
(Start of install of source Apache/PHP) |
(Nad, looks like ming is not installed properly) |
||
| Line 7: | Line 7: | ||
wget http://au.php.net/distributions/php-4.4.2.tar.gz | wget http://au.php.net/distributions/php-4.4.2.tar.gz | ||
| − | # | + | # Original apache installation in /var/www |
| + | # controlled with /usr/sbin/apachectl | ||
| + | # index.shtml is the index file | ||
| + | |||
| + | # Source install at /usr/local/apache2 | ||
| + | # controlled with /usr/local/apache2/bin/apachectl | ||
tar -zxvf httpd-2.2.0.tar.gz | tar -zxvf httpd-2.2.0.tar.gz | ||
| + | cd httpd-2.2.0 | ||
| + | ./configure | ||
| + | make | ||
| + | make install | ||
| + | |||
| + | # install zlib for domxml | ||
| + | cd /tmp | ||
| + | wget http://www.zlib.net/zlib-1.2.3.tar.gz | ||
| + | tar -zxvf zlib-1.2.3.tar.gz | ||
| + | cd zlib-1.2.3 | ||
| + | ./configure | ||
| + | make | ||
| + | make install | ||
| + | |||
| + | # PHP-4.4.2 | ||
| + | cd /tmp | ||
| + | tar -zxvf php-4.4.2.tar.gz | ||
| + | cd php-4.4.2 | ||
| + | ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-ming --with-dom --with-zlib-dir=/usr/local/lib | ||
| + | make | ||
| + | make install | ||
Revision as of 11:00, 30 March 2006
- ---------------------- Installation on wikiexpert.com -------------------------- #
- Apache 2.2.0 (from source)
- PHP 4.4.2 (from source)
cd /tmp wget http://mirrors.isc.org/pub/apache/httpd/httpd-2.2.0.tar.gz wget http://au.php.net/distributions/php-4.4.2.tar.gz
- Original apache installation in /var/www
- controlled with /usr/sbin/apachectl
- index.shtml is the index file
- Source install at /usr/local/apache2
- controlled with /usr/local/apache2/bin/apachectl
tar -zxvf httpd-2.2.0.tar.gz cd httpd-2.2.0 ./configure make make install
- install zlib for domxml
cd /tmp wget http://www.zlib.net/zlib-1.2.3.tar.gz tar -zxvf zlib-1.2.3.tar.gz cd zlib-1.2.3 ./configure make make install
- PHP-4.4.2
cd /tmp tar -zxvf php-4.4.2.tar.gz cd php-4.4.2 ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-ming --with-dom --with-zlib-dir=/usr/local/lib make make install



