Install GCC 3.2.3: # gzip -d gcc-3.2.3-sol9-intel-local.gz # pkgadd -d ./gcc-3.2.3-sol9-intel-local # PATH=/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:$PATH # export PATH # which gcc # which make
Install MySQL 3.23.55: # groupadd -g 1002 mysql # useradd -u 1002 -g mysql -d / -s /usr/bin/false -c "MySQL DB User" mysql # gtar zxvf mysql-3.23.55.tar.gz # cd mysql-3.23.55 # ./configure --prefix=/usr/local/mysql --with-low-memory --with-extra-charsets=gb2312,gbk --with-mysqld-user=mysql # make # make install # cd /usr/local/mysql # cd bin # ./mysql_install_db # chown -R mysql:mysql /usr/local/mysql/var # cd /usr/local/mysql/share/mysql # ./mysql.server start
Install Apache 2.0.44: # gtar zxvf httpd-2.0.44.tar.gz #./configure --enable-mods-shared=all --with-egd --with-devrandom --enable-so # make # make install
Install PHP 4.3.1: # gtar zxvf php-4.3.1.tar.gz # ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --enable-ftp --with-enable-track-vars # make # make install
Configure PHP working for apache: Using vi command change the following setting in /usr/local/apache2/conf/httpd.conf: documentRoot ServerName ServerAdmin User nobody Group nobody # Add this line for PHP module LoadModule php4_module modules/libphp4.so # Add index.php to DirectoryIndex