0% found this document useful (0 votes)
83 views2 pages

Configuration:: Sudo Apt-Get Install Apache2 Php5-Mysql Libapache2-Mod-Php5 Mysql-Server

Download as doc, pdf, or txt
Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1/ 2

SET UP LAMP STACK IN UBUNTU

Purpose and scope:
                                          A lot of people are trying out the turn­key LAMP installer 
from the Dapper server cd.It is also very easy to break the working setup. This guide 
will help guide the user to install, configure, troubleshoot and use the LAMP stack 
installed on Ubuntu Dapper There is no GUI interface.It will also show the user how 
to install Wordpress for blogging, PhpBB2 forums and Drupal Content Management 
software on the server.

Installation of LAMP:
                                            You can install LAMP on any computer running Ubuntu. 
You just have to install the packages. There is nothing preventing you from installing 
the Ubuntu Desktop on a machine and then adding on the Apache2, Mysql and Php 
packages.

Installing from scratch:

                You may download the Server CD from http://www.ubuntu.com/download. 
Burn it to disk and boot from it. Pick "Install LAMP server" and continue the 
installation. When you reboot, you will now have a running ubuntu server setup with 
LAMP.

Installing on an existing Ubuntu machine:
To install the LAMP stack on an existing Ubuntu server or desktop, run 
sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server

Configuration:
The Apache, Mysql and PhP configuration is mostly done via the command line. This 
is in general because they are not used in a GUI environment. It is actually fairly 
painless to use the command line to install and configure these applications to work 
together. 
Configuration of database 
• ­ Set up databse 
­ set MysqlRoot password ­ create mysql user with password ­ Grant 
priviledges to that user 
 Dynapmic DNS 
• ­ What it does ­ Stand­alone box ­ linux router ­ router appliance 

You might also like