Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide

Linux Ubuntu 11.04 (Natty) LAMP Server Installation GuideUbuntu is a community developed operating system that is perfect for laptops, desktops and servers. Whether you use it at home, at school or at work Ubuntu contains all the applications you’ll ever need, from word processing and email applications, to web server software and programming tools.

PHP MySQL Web Developers are very much familiar with the popular WAMP Server (Windows, Apache, MySQL and PHP) on your Windows platform. The Linux and Unix platforms also do have similar package called LAMP (Linux, Apache, MySQL and PHP) and serves the same purpose of web development on Open Source compendium, with Apache being a Web server, MySQL as a Relational Database and PHP (Preprocessor Hyper Text) as an object Oriented Programming Language used for Server Side Scripting.


In around 15 minutes, the time it takes to install Ubuntu Server Edition, you can have a LAMP (Linux, Apache, MySQL and PHP) server up and ready to go. This feature, exclusive to Ubuntu Server Edition, is available at the time of installation.The LAMP option means you don’t have to install and integrate each of the four separate LAMP components, a process which can take hours and requires someone who is skilled in the installation and configuration of the individual applications. Instead, you get increased security, reduced time-to-install, and reduced risk of misconfiguration, all of which results in a lower cost of ownership.New pre-configured installation options have been added to the postgreSQL Database options join existing Mail Server, Open SSH Server,Samba File Server, Print Server, Tomcat Java Server,Virtual Machine Host,Manual Package selection,LAMP and DNS options for pre-configured installations, easing the deployment of common server configurations.

Ubuntu LAMP server Install the following Versions:

Ubuntu 11.04 (Natty)
Apache 2.2.17
Mysql 5.1.54
PHP 5.3.5

First you need to download server version of Ubuntu version from here after that create a CD and start booting with the CD Once it starts booting you should see the following screen in this you need to select your language and press enter:

Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Now you need to select “Install Ubuntu Server” and press enter
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Select your language and press enter
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Select your location and press enter
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
If you want to try to have your keyboard layout detected by pressing a series of keys you need to select yes option.If you want to choose from a list click no
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Select Origin of keyboard and press enter
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Select keyboard layout and press enter
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Detecting hardware to find CD-ROM Drivers in progress
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Loading additional components in progress
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Configures the network with DHCP if there is a DHCP server in your network
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Enter your server Hostname
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Starting up the partitioner in progress
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
You have to partition your hard disk in this example i have selected use entire disk option.If you want to do manually you can choose manual option and press enter.Make sure you have swap partition in place
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Warning message about data lost on your hard disk
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Write the changes to disk here you need to select yes and press enter
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Creating ext4 file system in progress
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Installing base system in progress
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
You need enter the Full name of the user you want to create for your server in this example i have created ubuntugeek user select continue and press enter
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Enter your user account name here
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Entered the password for ubuntugeek user select continue and press enter
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Confirm password for ubuntugeek user
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
If you want to configure encrypted private directory select yes and press enter
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Configuring the package manager select continue and press enter
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Configuring package mirror this will be related to your country option
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Select how do you want to configure automatic update press enter
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Now it will start Installing software and here you need to select the server options here i have selected as openssh server and  LAMP server installation.If you want to select each package separately select “Manual package selection” option
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
At the time of software installation it will prompt for mysql server root password enter root password of your choice and select continue
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Confirm mysql server root password and select continue
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Software installation is in progress
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Installing GRUB Boot loader in progress
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Finishing installation in Progress
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
Installation complete message here you need to remove your CD select continue and press enter it will reboot your server
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide
After rebooting your server it will prompt for username and password once you logged in you should see similar to the following screen
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide

This will complete the Ubuntu 11.04 (Natty) LAMP Server Installation and your server is ready for installing applications which supports apache,mysql and php.

One more new feature i really like was after logging in it shows you system stats like CPU,Memory,Disk,Swap,No.of processes,No.of users logged in and no.of security updates available

Configuring Static ip address in Ubuntu server

If you want to install vim editor use the following command
sudo apt-get install vim-full
Ubuntu installer has configured our system to get its network settings via DHCP, Now we will change that to a static IP address for this you need to edit

Edit /etc/network/interfaces and enter your ip address details (in this example setup I will use the IP address 172.19.0.10):
sudo vi /etc/network/interfaces
and enter the following save the file and exit (In vi, ESC, then ZZ to save and exit)

# The primary network interface

auto eth0
iface eth0 inet static
address 172.19.0.10
netmask 255.255.255.0
network 172.19.0.0
broadcast 172.19.0.255
gateway 172.19.0.1

Now you need to restart your network services using the following command
sudo /etc/init.d/networking restart
You need to setup manually DNS servers in resolv.conf file when you are not using DHCP.
sudo vi /etc/resolv.conf
You need to add look something like this
search domain.com nameserver xxx.xxx.xxx.xxx

source: Ubuntu Geek
Linux Ubuntu 11.04 (Natty) LAMP Server Installation Guide Reviewed by Adnan Malik on 2:14 AM Rating: 5

1 comment:

Anonymous said...

http://www.ubuntugeek.com/step-by-step-ubuntu-11-04-natty-lamp-server-setup.html

The editors reserve the right to edit/remove any comments that are abusive, offensive, contain profanity, serves as spam or attempting to harbor irrelevant text links for any purpose. Please read our Comments Policy for details.

All Rights Reserved. iTechwhiz™ Apple, Android, Phones, Gadgets, Games, Cars. Copyrights © 2011 - 2016
Powered by Google Blogger.
Contact Form

Name

Email *

Message *

Powered by Blogger.