Table of Contents

Magento 1.9 Installation

This guide will explain how to get up and running with Magento 1.9 on LiteSpeed Web Server.

Prerequisites

The following are required and should already be set up before proceeding:

  1. LiteSpeed Web Server (Installation instructions)
  2. LSWS Virtual Host (Configuration guide)
  3. MySQL (There are many different variations of MySQL and each variation and distribution has its own installation procedure. Look online for an installation guide specific to your version of MySQL)

Step by Step Instructions

Download Magento 1.9.x.x

  1. Register or log in to magento.com.
  2. Download Magento from their release archive.
  3. Copy/FTP the downloaded files into your server's document root. Magento should be put in a subdirectory of the virtual host. For example,
    /usr/local/lsws/DEFAULT/html/magento

    . (This puts all the files in the right directory for running Magento on the default “Example” virtual host.)

  4. Using Magento 1.9.3.1 as an example, uncompress the downloaded files with the following command, substituting the correct Magento version number for your installation:
    tar -zxvf magento-1.9.3.1.tar.gz

Change Ownership Of All Files In The Magento Directory

In order for the web server to have write permissions during installation, ownership of the uncompressed Magento Files must be changed to the “nobody” user. Using the default “Example” virtual host, do so with the following command:

chown -R nobody /usr/local/lsws/DEFAULT/html/magento

Run The Magento Setup Wizard

In your browser, visit http://your_server_ip:8088/magento and follow the instructions.

After setup, the Magento Home page should look like this:

Speed up Magento

Now that Magento is all set up, be sure to check out our LiteMage Cache extension to speed it up even more!