Here are instructions for installing MySQL on RH 7.3:
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> ./scripts/mysql_install_db
shell> chown -R root .
shell> chown -R mysql data
shell> chgrp -R mysql .
shell> ./bin/mysqld_safe --user=mysql &
And for Apache 1.31 on RH 7.3:
shell > gunzip < /path/to/apache_version-tar.gz | tar xvf –
shell > ln –s apache_version_directory apache
shell > cd apache
shell > ./configure - -prefix=/usr/local/apache - -enable-module=so
shell > make
shell > make install
And for the three gunzip files I mentioned in the other post:
Go to the directory where you downloaded jpegsr.v6b.tar.gz
shell> gunzip < /usr/local/jpegsrc.v6b.tar.gz | tar xvf –
Go to the directory where you downloaded zlib-1.2.1.tar.gz
a. shell > gunzip < /usr/local/zlib-1.2.1.tar.gz | tar xvf –
b. shell > ln –s /usr/local/zilib-1.2.1 zlib
c. shell > ./configure
d. shell > make test
e. shell > make install
- Go to the directory where you downloaded libpng-1.2.5.tar.gz
a. shell > gunzip < /usr/local/libpng-1.2.5.tar.gz | tar xvf –
b. shell > ln –s /usr/local/libpng-1.2.5 libpng
c. shell > cd libpng
d. shell > cp /usr/local/libpng/scripts/makefile.linux makefile
e. shell > make test
f. shell > make install
Last, here are instructions for PHP configuration. Of course, substitute your own paths:
shell > gunzip < /path/to/php_version-tar.gz | tar xvf –
shell > ln –s php_version_directory php
shell > cd php
shell > ./configure - -with-mysql=/usr/local/mysql \
- -with-apxs=/usr/local/apache/bin/apxs \
- -enable-magic-quotes \
- -enable-track-vars \
- -enable-trans-sid \
- -with-xml \
- -disable-short-tags \
--enable-ftp \
--with-gd \
--with-zlib-dir=/usr/local/zlib \
--with-jpeg-dir=/usr/local/jpeg-6b \
--with-png-dir=/usr/local/libpng
shell > make
shell > make install
If you want to follow my configs exactly, just know that I install everything into /usr/local directory. You will need to create the same type of sybolic links as I have as well.