Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
litespeed_wiki:installation:magento2_installation [2017/08/24 20:17]
Johathan Kagan created
litespeed_wiki:installation:magento2_installation [2017/08/24 20:22] (current)
Johathan Kagan [Step by Step Instructions]
Line 3: Line 3:
  
 ===== Prerequisites ===== ===== Prerequisites =====
-The following should already be set up.+The following ​are required and should already be set up before proceeding:
  
 LIteSpeed Web Server LIteSpeed Web Server
Line 21: Line 21:
     - Inside the LSWS WebAdmin Console, go to Configuration -> Virtual Hosts and select the Virtual Host that will be used.     - Inside the LSWS WebAdmin Console, go to Configuration -> Virtual Hosts and select the Virtual Host that will be used.
     - Then go to General -> HTAccess and click Edit.     - Then go to General -> HTAccess and click Edit.
-      - In Allow Override, check everything except for the None optionand Set .htaccess as the Access Name.+      - In Allow Override, check everything except for the None option and set .htaccess as the Access Name.
   - Next extract the Magento archive file into the Doc Root of the VHost.   - Next extract the Magento archive file into the Doc Root of the VHost.
   - Once the files are extracted, open a (command line || terminal), cd into the Doc Root, and run the following commands:   - Once the files are extracted, open a (command line || terminal), cd into the Doc Root, and run the following commands:
Line 27: Line 27:
 find var vendor pub/static pub/media app/etc -type d -exec chmod u+w {} \; find var vendor pub/static pub/media app/etc -type d -exec chmod u+w {} \;
 chmod u+x bin/​magento</​code>​ chmod u+x bin/​magento</​code>​
-  - These commands will update file permissions to match those recommended by Magento.. These permissions are required for Magento 2 to work properly.+    * These commands will update file permissions to match those recommended by Magento. These permissions are required for Magento 2 to work properly.
   - Make sure the xml package for LSPHP is installed for the LSPHP version assigned to the VHost. (Replace XX with the version number 56, 70, 71, etc, depending on what is being used)   - Make sure the xml package for LSPHP is installed for the LSPHP version assigned to the VHost. (Replace XX with the version number 56, 70, 71, etc, depending on what is being used)
     * CentOS: yum install lsphpXX-xml     * CentOS: yum install lsphpXX-xml
Line 33: Line 33:
   - Using a web browser, visit the VHost via its URL and follow the on screen instructions to setup Magento 2.   - Using a web browser, visit the VHost via its URL and follow the on screen instructions to setup Magento 2.
  
-Now that Magento 2 is all set up, be sure to check out our LiteMage Cache extension to speed it up even more!+Now that Magento 2 is all set up, be sure to check out our [[litespeed_wiki:​cache:​litemage2:​installation|LiteMage Cache extension]] to speed it up even more!
  • Admin
  • Last modified: 2017/08/24 20:17
  • by Johathan Kagan