====== 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 ([[litespeed_wiki:installation |Installation instructions]])
- LSPHP ([[litespeed_wiki:php |Installation instructions]])
- LSWS Virtual Host ([[litespeed_wiki:config#virtual_hosting |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 [[https://account.magento.com/customer/account/login/ | magento.com]].
- Download Magento from [[https://magento.com/tech-resources/download | 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 ====
In your browser, visit ''http://your_server_ip:8088/magento'' and follow the instructions.\\
{{:litespeed_wiki:installation:magento1-1.png?600|}}
After setup, the Magento Home page should look like this:\\
{{:litespeed_wiki:installation:magento1-2.png?600|}}
==== Speed up Magento ====
Now that Magento is all set up, be sure to check out our [[litespeed_wiki:cache:litemage:installation|LiteMage Cache extension]] to speed it up even more!