Page 1 of 1

PHP/mysql/Apache installation On Linux Red Hat 9

Posted: Sat Sep 06, 2003 6:00 pm
by greeneel
Hello All,

I will be installing Linux Redhat 9 soon and i would like to know what are the names of the files i would need to install Apache server, Mysql and PHP for that OS, and also where i can find them because i don`t really know the difference between the windows and unix files so that i know that i`m downloading the right file....

I have a list of things here but this list is abit outdated so if i could get a heads up on this :

says i will need -- Apache, The webserver
Mod_SSL ------- The module for the Secure Sockets Layer
OpenSSL ------ Open Source Toolkit(required for Mod_SSL)
RSARef ------ ............
Mysql ------ Database
PHP ------ Script Language

and also i should already have perl, qzip and gcc and GNU make installed on the coputer too...


can some one help me out...

Posted: Sat Sep 06, 2003 6:11 pm
by m3rajk
umm.. re hat 9 has a bunch of things it will install for you as long as you go into package selection.


what you need that it has:

linux (the os)
apache and tuxedo (two web serving softwares that can get along if you want both on, but only use one daemon set at a time)
open ssl (which it will install so it works with apache. ie: apache acts like it's a module)
MySQL/PostgresSQL (two dbs. you can choose which or both)
PHP

i don't knwo about rsa. i think it's inherint. i know ssh (telnet over ssl) uses it and i'm using it and i didn't seek to install it. never looked.

the apache is 2.0.40, the php is 4.2.2 and the mysql is 11.18 dist 3.23.56


i know this because i installed it all a few months back

Posted: Sat Sep 06, 2003 6:18 pm
by greeneel
m3rajk,
do u know where i can download these files ? man i`m a big newbie here ...

Posted: Sat Sep 06, 2003 6:25 pm
by m3rajk
hehe. that's in the red hat linux 9 installer. if you have red had linux 9 installation disks it's in there. if not, just go to http://www.redhat.com and download the installation isos (there's 3) and then burn thm to disk. when you install they will be there :)
unlike M$ linux distributions actually give you good software. they differentiate between the operating system (base kernel) and operating environment (which winblows and mac users.. well those that only use those) don't realize is what they put on and makes the os so friggin huge. to that end they like to keep their pwoplw happy by giving the most popular items toput in the oe as installations.. and it helps them to have it done by their installer: less issues for tech support.

so you get a whole bunch of goodies. since you're new to linux, i strrongly recommend making sure youinstall both emacs and xemacs COMPLETELY. meaning: if you think you're going to use the module for it, install it.
those are two programming editors that if you use them i'm sure you'll swear off the $$ ones since this does all the <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> those do and then some since it has the gcc at it's core and some other things....like they support ALL languages, not just say html and php

the only thing is this isn't the editor liek the falsh studio. it WILL NOT write the code for you, you need to know that

Posted: Sat Sep 06, 2003 6:33 pm
by greeneel
aye let me ask u something else also, where can i find this thing called mambo 4.5..

Posted: Sat Sep 06, 2003 7:16 pm
by m3rajk
mambo 4.5?
not sure. haven't heard of mambo before. it may be in the installer. find out what ti's purpose is. for some reason i wanna ask if you mean SAMBA

Posted: Sat Sep 06, 2003 7:34 pm
by greeneel
here is the info i gathered from

http://www.mamboserver.com/index.php?op ... &Itemid=34

Mambo Open Source is the finest open source Web Content Management System available today. Mambo Open Source makes communicating via the Web easy.
Have you always wanted to have your own site but never understood how? Well Mambo Open Source is just the ticket!

With Mambo Open Source there is no need for HTML, XML or DHTML skills, just enter your content, add a picture and then through the easy to use administrator web-interface ...click Publish!

Simple ... Quick ... And easy!

With the in-built editor Mambo Open Source allows you to design and create your content without the need for HTML code. Maintaining a website has never been easier.

Posted: Sun Sep 07, 2003 12:44 pm
by m3rajk
lol. looks like it's along the lines of those worm toolkits "even a 2-yr old can do it!" (not trying to mock you, just all these simpplification stuff)

beware, they always break down, and if you know the stuff already you don't need it.

Posted: Mon Sep 08, 2003 9:51 am
by d-m
U want --------------------------------- U get at:
Apache, The webserver ------------- http://www.apache.org
Mod_SSL ------- ----------------------- http://www.modssl.org/source/mod_ssl-2. ... .28.tar.gz
OpenSSL ------------------------------- http://www.openssl.org
RSARef ------ ............ U dont need it ..
Mysql ------ Database ---------------- http://www.mysql.com
PHP ------------------------------------ http://www.php.net


Downloadt it all to /usr/src and do these:

Install OpenSSL fist
----------------------
./configure
make
make install

Install Mysql
---------------
./configure
make
make install

Than install the apache with all the suport
-------------------------------------------------
--- APACHE ---
cd ../cd mod_ssl-2.8.15-1.3.28

./configure --enable-module=so --with-apache=../apache_1.3.28 --with-ssl=../openssl-0.9.7/
cd ../apache_1.3.28/
make
make certificate TYPE=custom
make install
--- END APACHE ---

OBS: CRIPT the CA.key
DO NOT CRYPT server.key

-- PHP --
cd ../php-4.3.3
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-pgsql --with-zip=/usr/local/lib
make
make install
-- END PHP ---



I hope that it could help you!

Posted: Mon Sep 08, 2003 11:06 am
by m3rajk
hey d-m: when did you install red hat 9 last? i did a few months ago. he doesn't need to get anything but mambo unless he wants a newer version than in the red hat installer.

he's new to linux. simplify it. if it's in the installer then don't tell him to go elsewhere and screw with makefiles and finding dependencies on his own.

aside from mambo they are ALL in the red hat 9 installer.

RH9 have it all - but not the latest version.

Posted: Mon Sep 08, 2003 12:14 pm
by d-m
Yeh ! U R right ... you don't have to get all. RH9 comes with all in RPM files... but not the newest versions... I was just answering the question that he made, where could I get it ... :lol: Maybe he whant to compile diferent.. :)

Posted: Mon Sep 08, 2003 7:43 pm
by m3rajk
again, the words "new to linux" this means he's probably not used to doing makefiles. to figuring out dependencies. and if he compiles with dependency issues that could lead to tother problems, thus, until he's more comfortable with linux, it's advisable for him to use the installer for everything. and later, if he feels like it's worth it to upgrade, go searching for the rpms