A LAMP Installation
UPDATE: I have updated this guide in more detail on my other project site which can be found here: http://draalin.com/installing-lamp-in-ubuntu/
Should you decide you want to become a web programmer in PHP& MySQL, within windows you are using the popular WAMP Server (Windows, Apache, MySQL as well as also PHP) in your windows program. But the more beneficial Linux and Unix systems have a similar package sometimes known as LAMP which is short for Linux, Apache, MySQL as well as additionally PHP and also serves the factor of web development based in Open Provider concept. Apache is the world comfortable internet server, MySQL is the relational data source and also PHP (Preprocessor Hyper Text) is object oriented programming language.
There tend to be various approaches to installing LAMP server in Ubuntu 11.04/10.10. The simplest approach definitely will be take advantage of the following command in terminal:
sudo apt-get install lamp-server^
The need initiates the install of the LAMP server to your own PC through a password emphasize and additionally when completed, its done!
Open a browser and type the following:
http://localhost/ or http://IPOFYOURSERVERHERE/
Press Enter, you should now have an Apache splash screen!
To use MySQL you can type this in your browser:
To test PHP, grab a php file (eg: test.php) in your www folder with the following script:
<?php echo '<p>Hello World</p>'; ?>
Now type this in to test PHP: http://localhost/test.php
There is another method to install them all separately, I will explain a more detailed guide regarding the other method at a later date.
- You can also install LAMP with “Tasksel”