Re: mysql,apache,php4,RH6.2

From: Date: Sun, 16 Jul 2000 04:26:07 +0000
Subject: Re: mysql,apache,php4,RH6.2
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6797@lists.php.net to get a copy of this message
me wrote: > > Hi, > I am trying to install all the things I need to work with redhat6.2, mysql, > apache and php4. I've been fighting with this stuff for a few days and you might be able to profit from my sweat. Adjust to taste, copy to /usr/local/src , make executable and use this: #rpm -i MySQL- [server, client, shared] #rpm -i perl-5.6.0-1.i386.rpm #echo "Installing OpenSSL" #sleep 5 #tar zxvf openssl-0.9.5a.tar.gz && \ #echo "OpenSSL unpacked sucessfully" && \ #sleep 5 && \ #cd openssl-0.9.5a && \ #sh config -fPIC && \ #echo "OpenSSL configured successfully" && \ #sleep 5 && \ #make && \ #echo "OpenSLL compiled successfully" && \ #sleep 5 && \ #make test && \ #echo "OpenSSL tested successfully" && \ #sleep 5 && \ #make install && \ #cd /usr/local/src #echo "Installing MM\:" #sleep 5 && \ #tar zxvf mm-1.1.3.tar.gz && \ #echo "MM unpacked successfully" && \ #sleep 5 && \ #cd mm-1.1.3 && \ #./configure --disable-shared && \ #echo "MM configured successfully" && \ #sleep 5 &&\ #make && \ #echo "MM compiled successfully" && \ #sleep 5 && \ #cd /usr/local/src #echo "Unpacking Apache" #sleep 5 #tar zxvf apache_1_3_12_tar.gz && \ #cd /usr/local/src #echo "Installing mod_ssl" #sleep 5 #tar zxvf mod_ssl-2.6.5-1.3.12.tar.gz && \ #echo "mod_ssl unpacked successfully" && \ #sleep 5 && \ #cd mod_ssl-2.6.5-1.3.12 && \ #./configure \ #--with-apache=../apache_1.3.12 && \ #echo "mod_ssl configured successfully" #cd /usr/local/src #echo "Configuring Apache" #cd apache_1.3.12 && \ #SSL_BASE=../openssl-0.9.5a \ #EAPI_MM=../mm-1.1.3 \ #./configure \ #--prefix=/www \ #--enable-module=ssl \ #--enable-shared=ssl \ #--enable-module=so \ #--disable-shared=so \ #--enable-module=auth_dbm \ #--enable-shared=auth_dbm \ #--enable-module=cern_meta \ #--enable-shared=cern_meta \ #--enable-module=digest \ #--enable-shared=digest \ #--enable-module=expires \ #--enable-shared=expires \ #--enable-module=headers \ #--enable-shared=headers \ #--enable-module=info \ #--enable-shared=info \ #--enable-module=log_referer \ #--enable-shared=log_referer \ #--enable-module=rewrite \ #--enable-shared=rewrite \ #--enable-module=speling \ #--enable-shared=speling \ #--enable-module=status \ #--enable-shared=status \ #--enable-module=unique_id \ #--enable-shared=unique_id \ #--enable-module=usertrack \ #--enable-shared=usertrack \ #--enable-module=vhost_alias \ #--enable-shared=vhost_alias \ #--enable-module=include \ #--enable-shared=include && \ #make && \ #make certificate && \ #make install && \ #echo "Apache successfully installed" #echo "Installing libpng" #sleep 5 #tar zxvf libpng-1.0.7.tar.gz && \ #cd libpng-1.0.7 && \ #cp scripts/makefile.std makefile && \ #make test && \ #make install #echo "libpng successfully installed" #cd /usr/local/src #echo "Installing jpeg" #sleep 5 #tar zxvf jpegsrc.v6b.tar.gz && \ #cd jpeg-6b && \ #./configure && \ #make test && \ #make install #echo "JPG libraries successfully installed" #sleep 5 #cd /usr/local/src #echo "Installing zlib" #sleep 5 #tar zxvf zlib.tar.gz && \ #cd zlib-1.1.3 && \ #./configure -s && \ #make test && \ #make install #echo "zlib successfully installed" #sleep 5 #cd /usr/local/src #echo "Installing Freetype" #sleep 5 #tar zxvf freetype-1.3.1.tar.gz && \ #cd freetype-1.3.1 && \ #./configure && \ #make && \ #make install && \ #echo "Freetype successfully installed" #sleep 5 #cd /usr/local/src #echo "Installing GD" #sleep 5 #tar zxvf gd-1.8.3.tar.gz && \ #cd gd-1.8.3 && \ #echo " " #echo "The default library line in Makefile" #echo "needs to be commented out and the next" #echo "commented-out library line needs to be" #echo "uncommented. Open another terminal and" #echo "do this now." #echo " " #### insert a break here. #cd /usr/local/src/gd-1.8.3 && \ #make && \ #make install && \ #echo "GD successfully installed" #cd /usr/local/src #echo "Installing Java" #tar Ixvf jdk-1.2.2-RC4-linux-i386-glibc-2.1.2.tar.bz2 && \ #mv jdk1.2.2 /usr/local/java #insert a break here #echo "add [:/usr/local/java/bin] to the PATH statement in /etc/profile" #cd /usr/local/src #echo "Installing JSDK" #tar zxvf jsdk20-solaris2-sparc.tar.Z && \ #cd JSDK2.0 && \ #mv JSDK2.0 /usr/local/jsdk && \ #cd /usr/local/jsdk/lib && \ #unzip jsdk.jar ##Insert a break here #echo "Add [:/usr/local/jsdk/bin] to the PATH statement in /etc/profile" #echo "Add [run /path/servletrunner -d servletdirectory] to /etc/rc.local" #cd /usr/local/src #echo "Installing Jikes" #rpm -U jikes-1.06-1.i386.rpm echo "mod_perl is a total fuck and will not be installed" #sleep 5 #tar zxvf mod_perl-1.24.tar.gz && \ #cd mod_perl-1.24 && \ #perl Makefile.PL \ #APACHE_PREFIX=/www \ #APACHE_SRC=/usr/local/src/apache_1.3.12/src \ #EVERYTHING=1 && \ #make && \ #make test && \ #make install && \ #echo "mod_perl successfully installed" #sleep 5 #cd /usr/local/src #echo "Installing perl-URI" #sleep 5 #tar zxvf URI-1.07.tar.gz && \ #cd URI-1.07 && \ #perl Makefile.PL && \ #make && \ #make test && \#hangs on t-file; investigate. #make install && \ #echo "perl-URI successfully installed" #sleep 5 #cd /usr/local/src #echo "Installing perl-HTML parser" #sleep 5 #tar zxvf HTML-Parser-3.10.tar.gz && \ #cd HTML-Parser-3.10 && \ #perl Makefile.PL && \ #make && \ #make test && \ #make install && \ #echo "perl-HTML-Parser successfully instaled" #sleep 5 #cd /usr/local/src #echo "Installing perl-HTTP Headers user agent" #sleep 5 #tar zxvf HTTP-Headers-UserAgent-2.00.tar.gz && \ #cd HTTP-Headers-UserAgent-2.00 && \ #perl Makefile.PL && \ #make && \ #make test && \ #make install && \ #echo "perl-HTTP user agent successfully instaled" #sleep 5 #cd /usr/local/src #echo "Installing perl digest-MD5" #sleep 5 #tar zxvf Digest-MD5-2.09.tar.gz && \ #cd Digest-MD5-2.09 && \ #perl Makefile.PL && \ #make && \ #make test && \ #make install && \ #echo "perl Digest-MD5 successfully installed" #sleep 5 #cd /usr/local/src #echo "Installing perl MIME-Base64" #sleep 5 #tar zxvf MIME-Base64-2.11.tar.gz && \ #cd MIME-Base64-2.11 && \ #perl Makefile.PL && \ #make && \ #make install && \ #echo "perl MIME-Base64 successfully installed" #sleep 5 #cd /usr/local/src #echo "Installing perl libnet" #sleep 5 #tar zxvf libnet-1.0703.tar.gz && \ #cd libnet-1.0703 && \ #perl Makefile.PL && \ #make && \ #make test && \ #make install && \ #echo "perl libnet successfully installed" #sleep 5 #cd /usr/local/src #echo "Installing perl libwww" #sleep 5 #tar zxvf libwww-perl-5.48.tar.gz && \ #cd libwww-perl-5.48 && \ #perl Makefile.PL && \ #make && \ #make test && \ #make install && \ #echo "perl libwww successfully installed" #sleep 5 #cd /usr/local/src #echo "Installing JServ" #sleep 5 #tar zxvf ApacheJServ-1.1.2.tar.gz #cd ApacheJServ-1.1.2 #./configure \ #--with-apxs=/www/bin/apxs \ #--prefix=/www/jserv \ #--enable-compressed-jar \ #--with-jdk-home=/usr/local/java \ #--with-JSDK=/usr/local/jsdk/lib \ #--enable-EAPI \ #--disable-debugging && \ #make && \ #make install && \ #echo "JServ successfully installed" && \ #echo "Now add [Include /www/conf/jserv/jserv.conf] to httpd.conf" && \ #echo "Restart the server and visit http://server/servlets/Hello" && \ #sleep 60 #cd /usr/local/src #echo "Installing PHP:" #tar zxvf php-4.0.1pl2.tar.gz && \ #cd php-4.0.1pl2 && \ #./configure \ #--with-x \ #--with-mysql \#add path #--with-apxs=/www/bin/apxs \ #--with-config-file=/www/conf/ \ #--with-servlet=/usr/local/jsdk/ \ #--with-java=/usr/local/java/ \ #--with-openssl \ #--with-zlib \ #--with-jpeg \ #--with-png \ #--with-ttf \ #--with-gd=/usr/local/src/gd-1.8.3/ \ #--with-xml \ #--enable-versioning \ #--enable-shared \ #--enable-track-vars \ #--prefix=/www #echo "PHP configured successfully" && \ #sleep 5 && \ #make && \ #echo "PHP compiled successfully" && \ #sleep 5 && \ #make install && \ #echo "PHP installed successfully" #cd /usr/local/src #echo "Unpacking mod_sso" #sleep 5 #tar zxvf mod_sso-1.7.tar.gz #echo "Installing mod_sso" #sleep 5 #cd mod_sso-1.7 && \ #/www/bin/apxs -c mod_sso.c && \ #/www/bin/apxs -i mod_sso.so && \ #echo "mod_sso successfully installed" #sleep 5 #cd /usr/local/src #echo "Installing mod_roaming" #sleep 5 #tar zxvf mod_roaming-1.0.1.tar.gz && \ #cd mod_roaming-1.0.1 && \ #/www/bin/apxs -i -a -c mod_roaming.c && \ #echo "mod_roaming successfully installed" #cd /usr/local/src

« previous php.general (#6797) next »