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

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

This document provides instructions for installing and configuring a LAMP stack on Ubuntu. It describes downloading and installing the LAMP server from the Ubuntu server CD, or installing Apache, PHP, and MySQL on an existing Ubuntu machine using apt-get. It also explains how to configure the applications at the command line to work together, including setting up the MySQL database, users, and privileges. Additionally, it mentions how to install WordPress, PHPBB2, and Drupal on the server once LAMP is configured.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
115 views2 pages

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

This document provides instructions for installing and configuring a LAMP stack on Ubuntu. It describes downloading and installing the LAMP server from the Ubuntu server CD, or installing Apache, PHP, and MySQL on an existing Ubuntu machine using apt-get. It also explains how to configure the applications at the command line to work together, including setting up the MySQL database, users, and privileges. Additionally, it mentions how to install WordPress, PHPBB2, and Drupal on the server once LAMP is configured.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
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