Ever wanted to quickly configure a web server on ubuntu desktop edition? This walkthrough will show you how to install a LAMP(Linux, Apache, MySQL, PHP) server.
There are a few different ways we can achieve the same end:
The first way is by using the terminal. Type the following into a terminal session – note, this install may take a little while:Â…
sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5 php5-xsl php5-gd php-pear libapache2-mod-auth-mysql php5-mysql # Installs the LAMP server in one hit
The second way to install is using
taskselÂ… – it’s a tool that groups some packages in to pre-defined tasks and allows the user to install the relevant packages for the task.
sudo tasksel install lamp-server
You can use
tasksel in the package manager also. Go to System > Administration > Synaptic Package Manager. You will need to supply the root/administration password to open this.
Within the manager, click Edit > Mark Packages by Task
From the list that appears, select LAMP server.
Click OK, and then ‘Apply’ in the main Package Manager window. The LAMP server will then be installed.
For a more in depth guide, have a look at these links:
The ubuntu community page
Installing a full LAMP server from scratch
Jaytag has years of experience of configuring web servers of all types, either LAMP, WAMP or WIMP. Give us a call about configuring a web server for you on 0845 310 2750.