Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:installation:magentoce2_installation [2017/09/16 09:46]
Usman Nasir [Create Wordpress DB Account]
litespeed_wiki:installation:magentoce2_installation [2017/09/16 10:19]
Usman Nasir
Line 67: Line 67:
 Create the Magento CE database and your Magento CE user/​password:​ Create the Magento CE database and your Magento CE user/​password:​
  
-<​code> ​ +<​code>​mysql -u root -p (Press enter because we've not set the password)
-mysql -u root -p (Press enter because we've not set the password)+
 create database magento; grant all privileges on magento.* to magento@localhost identified by '​magento';​ exit; create database magento; grant all privileges on magento.* to magento@localhost identified by '​magento';​ exit;
 </​code> ​ </​code> ​
Line 79: Line 78:
 {{ :​litespeed_wiki:​installation:​selection_010.png?​600 |}} {{ :​litespeed_wiki:​installation:​selection_010.png?​600 |}}
  
-===== Download and Extract ​Wordpress ​=====+===== Download and Extract ​Magento CE =====
  
-To illustrate setting up Wordpress ​on a vhost we'll use the default virtual host, “Example”. You can download ​Wordpress ​from their official [[https://wordpress.org/download/|download page]]. ​+To illustrate setting up Magento CE on a vhost we'll use the default virtual host, “Example”. You can download ​Magento CE from their official [[https://magento.com/tech-resources/download|download page]]. ​
  
-Please note that the document root of '​Example'​ virtual host is **/​usr/​local/​lsws/​Example/​http/**+Please note that the document root of '​Example'​ virtual host is **/​usr/​local/​lsws/​Example/​html/** 
 + 
 +If you have downloaded in zip format, use following:
  
 <​code>​ <​code>​
-unzip latest.zip +unzip Magento-CE-x.x.zip
-mv wordpress/​* ​.+
 </​code>​ </​code>​
-===== Wordpress ​Installation =====+ 
 +Or if you have downloaded in tar.gz 
 + 
 +<​code>​ 
 +tar zxf Magento-CE-x.x.tar.gz 
 +</​code>​ 
 + 
 +Change owernship:​ 
 + 
 +<​code>​ 
 +chown -R nobody:​nobody /​usr/​local/​lsws/​Example/​html 
 +</​code>​ 
 + 
 +===== Magento CE Installation =====
  
 Open the browser with URL ''​http://​server_IP:​8088/''​ Open the browser with URL ''​http://​server_IP:​8088/''​
  
-==== wp-config.php file ====+==== Terms & Agreement ​====
  
 Once you open the url in browser you will see this window: Once you open the url in browser you will see this window:
  
-{{ :​litespeed_wiki:​installation:​wp-first.png?600 |}}+{{ :​litespeed_wiki:​installation:​magento-terms.png?600 |}} 
 + 
 +Accept terms and conditions by clicking '​Accept and Setup Magento'​. 
 + 
 +==== Readiness Check ====
  
-As you can see, WordPress will ask all database related information on next step and will create ''​wp-config.php''​ file using this information. If for some reasons (mostly permissions issues) WordPress is not able to create this file, it will provide you with data which you can copy and manually create ''​wp-config.php''​ file inside your WordPress home.+{{ :​litespeed_wiki:​installation:​readiness_check.png?600 |}}
  
-==== Database Details ====+Magento CE installer needs to check if all the requirements are met, if you have followed all the guidelines above, all requirements should meet, just click 'Start Readiness Check'​.
  
-{{ :​litespeed_wiki:​installation:​wordpress-db.png?600 |}}+{{ :​litespeed_wiki:​installation:​requirments-met.png?600 |}}
  
-We've created the database above. Just enter the database details and click '​Submit'​. ​If the WordPress installer is successfully able to connect to the databaseit will start the installation process.+If you see something like this after requirements checks you are good to goelse check which one you are missing and make sure they are met.
  
-==== Run WordPress Install ​====+==== Add a Database ​====
  
-{{ :​litespeed_wiki:​installation:​runinstall-wp.png?600 |}}+{{ :​litespeed_wiki:​installation:​magento-database.png?600 |}}
  
-If everything works out great, just click 'Run the install'​ and WordPress will perform the installation.+Enter database details we created above.
  
 ==== Enter General Website details ==== ==== Enter General Website details ====
  • Admin
  • Last modified: 2017/09/16 11:30
  • by Usman Nasir