How to Getting Started with Magento e-Commerce Development on Xubuntu 14.04 Trusty LTS Linux Easy Guide

July 15, 2014 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Magento Website Quick Start for Xubuntu 14.04 LTS

You are Welcome! 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 Xubuntu 14.04 Trusty Tahr GNU/Linux Desktop.

Magento 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…

Install Magento 1.9 on Xubuntu 14.04 Trusty LTS - Featured
  1. Or Open a Command Line Terminal Window
    (Press “Enter” to Execute Commands).

    Ctrl+Alt+t

    Installing Magento on Xubuntu 14.04 Trusty LTS - Open Terminal
  2. How Install LAMP and Create a Virtual Host on Xubuntu Linux.

    LAMP + Virtual Host on Xubuntu

    In this Example the Domain will be Accessible to:

    http://magento.local/

    For a Regular Magento Installation Modify this Parameter all along Installation…

  3. Install Required Packages.

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    apt-get install php5-mhash php5-mcrypt php5-cli php5-gd php5-curl php5-gd php-pear
  4. Increase the PHP 5 Memory Limit.

    nano /etc/php5/apache2/php.ini

    Set the Memory Limit to At Lest 512mb!

    memory_limit = 512M

    Ctrl+x to Save & from nano Editor :)

  5. How to Enable Apache2 mod_rewrite Module on Xubuntu.

    Enabling Apache2 Rewrite for Xubuntu
  6. Setting Up the MySQL Database.

    mysql -u root -p

    Enter the following commands at the mysql> prompt.

    create database magento;
    GRANT USAGE ON *.* TO magento@localhost IDENTIFIED BY 'magento';
    GRANT ALL ON magento.* TO magento@localhost;
    exit
  7. Download Latest Magento 1.9 CE Release

    Magento 1.9 CE tar.gz
  8. Extracting Magento 1.9 CE.

    Double-Click on the Archive
    Installing Magento 1.9 Sample Data on Xubuntu Linux - Extraction

    Or From Command Line:

    tar xvzf -C /tmp/ $HOME/Downloads/magento*.tar.gz
    rm $HOME/Downloads/magento*.tar.gz
  9. Relocate Magento Content.

    cp -r /tmp/magento/* /var/www/html/magento/
  10. Fixing Permissions.

    cd /var/www/html/magento
    chown -R www-data:www-data .
    find . -type d -exec chmod 700 {} \;
    find . -type f -exec chmod 600 {} \;
    exit
  11. Download & Install Magento 1.9 CE Sample Data

    Magento 1.9 CE Sample Xubuntu Setup

    Take Note: The Task must be Achieved Prior to Magento 1.9 CE Installation!

  12. Running Magento Web UI Installer.

    Point Browser to:

    http://magento.local/

    Set the Localization
    Installing Magento on Xubuntu 14.04 Trusty LTS - Set Localization

    Configure Database Settings
    Installing Magento on Xubuntu 14.04 Trusty LTS - Set Database Parameters

    Set the Web UI Base URL & Options
    Installing Magento on Xubuntu 14.04 Trusty LTS - Set Web UI Options

    Create an Admin Account
    Installing Magento on Xubuntu 14.04 Trusty LTS - Create the Admin Account

    Magento Successfully Installed on Xubuntu Linux
    Installing Magento on Xubuntu 14.04 Trusty LTS - Magento Successfully Installed


Tags: , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress