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:
- LiteSpeed Web Server (Installation instructions)
- LSPHP (Installation instructions)
- LSWS Virtual Host (Configuration guide)
- 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
- Register or log in to magento.com.
- Download Magento from their release archive.
- 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.)
- 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
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!