SysAdmin – Easiest way to install LAMP on Ubuntu
Most of my short articles are just answers to questions that come from different sources. To be able to help those who ask on long term I am trying to add them as they come along. They are at different levels and are more like tips and tricks.
So, if you want to install a LAMP environment on your Ubuntu machine just type this in the command line:
1 |
sudo tasksel
|
Select LAMP server from the list and hit Ok.
Make sure you follow the installation process to be sure that everything went well but also because you’ll probably be prompted for a root password for MySQL Database server.
This way you don’t need to search for each package and you have the option to install more packages that are usually being used with the LAMP environment (i.e. OpenSSH, PostgreSQL …).
Also please note that not all the modules/extensions/libraries will be installed for a specific package i.e. if you need cURL for PHP you need to install it manually like this:
1 |
sudo aptitude install php5-curl |
The above is pattern is valid for all other packages/modules/extensions/libraries that you might need for existing packages or for new packages like Version Control Systems.
Enjoy!
















