
Originally Posted by
sucafish
Thanks for the info, I am really excited to get into this. How is the learning curve? I am brand new to all aspects of LAMP, but the back end or data base portion is what is really making my jimmy jump...
lol you sound like me when I first played with Fedora, I did it for the exact same reasons you are, I wanted a LAMP web server, but had never used Linux before, and it was setting up the LAMP that got me using Linux on the desktop.
For the backend, you want:
- Apache (yum install httpd)
- MySQL (yum install mysql)
- PHP (yum install php php-mysql)
You already have Linux, Apache is your web server software, MySQL is your database, and PHP is the scripting language.
Once those are installed, you can install them all at once like:
Code:
yum install httpd mysql php php-mysql
, start the services and set them to start with the system:
Code:
service httpd start
service mysqld start
chkconfig --level 35 httpd on
chkconfig --level 35 mysqld on
The service command starts the services, the chkconfig command sets them to load with the system, with runlevels 3 and 5 (--level 35).
Next create a file called test.php in /var/www/html and in it put:
PHP Code:
<?php
echo "PHP works! wahoo!";
?>
Then point your browser to http://localhost/test.php and you should see in your browser "PHP works! wahoo!". 
If you want graphical tools for working with MySQL databases, there's the MySQL Administrator and MySQL Query Browser:
Code:
yum install mysql-query-browser mysql-administrator
See this tutorial and skip down to Post Installation for setting up MySQL.