Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:
 
 

Installation of LAMP using Apache Toolbox

by Krishnan Subramanian

Testing

You can check if the apache configuration file is available by using the following command

$sudo vi /usr/local/apache/conf/httpd.conf
You can test if the configuration is correct by giving the command
$sudo /usr/local/apache/bin/apachectl configtest
Syntax OK
You can now start apache by giving the following command
$sudo /usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl start: httpd started
You can also check it by
$lynx http://localhost

---------------------------------------------------------------------------------------------------------
      Test Page for the SSL/TLS-aware Apache Installation on Web Site (p1 of 2)

                               Hey, it worked !
                    The SSL/TLS-aware Apache webserver was
                    successfully installed on this website.
---------------------------------------------------------------------------------------------------------
If you get a web page saying it is installed, you are all set.

To stop you can use the following command

$sudo /usr/local/apache/bin/apachectl stop
/usr/local/apache/bin/apachectl stop: httpd stopped
You can also test the MySQL installation by giving the following command
$ /usr/local/mysql/bin/mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8 to server version: 4.0.16-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
If you want to start MySQL and Apache automatically during startup, please refer to the last section of this article. PHPMYADMIN is a very good frontend for MySQL and an HOWTO on setting it up is found here. Thanks to Peter Silcock for suggesting these links. With the installation of LAMP, you are all set to develop database driven websites using Apache, MySQL and PHP on your Fedora Box.