Magento Website Quick Start for Ubuntu 14.04 LTS
Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with the Latest Magento 1.9 CE PHP5 e-Commerce Website on Ubuntu 14.04 Trusty Tahr i386/amd64 Linux Server/Desktop.
And Magento for Ubuntu is an out-of-the-box e-commerce platform with many features, such as catalog navigation, promotion rules, RSS feeds, product search, product tags, product reviews, tax rules, reports, and order management.
To Prepare for Magento Development we need to set up a LAMP (Linux, Apache, MySQL, PHP) environment. In that LAMP environment, we will create a Fully Qualified Domain Name (FQDN) and a virtual host.
The Process described here Suppose that the User have Super-User Powers, if Not then adapt Consequently the Commands…

Or Open a Command Line Terminal Window
(Press “Enter” to Execute Commands).Ctrl+Alt+t
In case first see: Terminal QuickStart Guide.
Or Login into Server Shell Shell…How Install LAMP and Create a Virtual Host on Ubuntu Linux.
Here LAMP + Virtual Host on UbuntuHow to Getting-Started with Apache 2, MySQL and PHP5 on Ubuntu LinuxIn this Example the Domain will be Accessible to:
Copyhttp://magento.local/
For a Regular Magento Installation Modify this Parameter all along Installation…
Install Required Packages.
Copysudo su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Copyapt-get install php5-mhash php5-mcrypt php5-cli php5-gd php5-curl php5-gd php-pear
Increase the PHP 5 Memory Limit.
Copynano /etc/php5/apache2/php.ini
Set the Memory Limit to At Lest 512mb!
Copymemory_limit = 512M
Ctrl+x to Save & from nano Editor :)
How to Enable Apache2 mod_rewrite Module on Ubuntu.
Here Enabling Apache2 Rewrite for UbuntuHow to Enable the Apache 2 PHP Rewrite Module on Ubuntu LinuxSetting Up the MySQL Database.
Copymysql -u root -p
Enter the following commands at the mysql> prompt.
Copycreate database magento;
CopyGRANT USAGE ON *.* TO magento@localhost IDENTIFIED BY 'magento';
CopyGRANT ALL ON magento.* TO magento@localhost;
Copyexit
Download Latest Magento 1.9 CE Release
Extracting Magento 1.9 CE.
Double-Click on the Archive
Or From Command Line:
Copytar xvzf $HOME/Downloads/magento*.tar.gz -C /tmp/
Copyrm $HOME/Downloads/magento*.tar.gz
Relocate Magento Content.
Copycp -r /tmp/magento/* /var/www/html/magento/
Fixing Permissions.
Copycd /var/www/html/magento
Copychown -R www-data:www-data .
Copyfind . -type d -exec chmod 700 {} \;
Copyfind . -type f -exec chmod 600 {} \;
Copyexit
Download & Install Magento 1.9 CE Sample Data
Here Magento 1.9 CE Sample Ubuntu SetupLink to Guide on Setting Up the Latest Magento CE Sample Data on UbuntuMost Noteworthy: this Task must be Achieved Prior to Magento 1.9 CE Installation!
Running Magento Web UI Installer.
Point Browser to:
Copyhttp://magento.local/
Set the Localization:
Configure Database Settings:
Set the Web UI Base URL & Options:
Create an Admin Account:
Magento Successfully Installed on Ubuntu Linux:
Congratulations! :)