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
litespeed_wiki:installation:magentoce2_installation [2017/09/16 10:10]
Usman Nasir [Download and Extract Magento CE]
litespeed_wiki:installation:magentoce2_installation [2017/09/16 11:30] (current)
Usman Nasir [Step 3: Web Configuration]
Line 70: Line 70:
 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> ​
-Note: For security purposes, you should use a Wordpress ​username and password that are different than our example.+Note: For security purposes, you should use a Magento CE DB username and password that are different than our example.
  
 ===== Set Index File ===== ===== Set Index File =====
Line 82: Line 82:
 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]]. ​ 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: If you have downloaded in zip format, use following:
Line 99: Line 99:
  
 <​code>​ <​code>​
-chown -R nobody:​nobody /​usr/​local/​lsws/​Example+chown -R nobody:​nobody /​usr/​local/​lsws/​Example/html
 </​code>​ </​code>​
  
-===== Wordpress ​Installation =====+===== 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 |}}
  
-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.+Accept terms and conditions by clicking ​'Accept ​and Setup Magento'.
  
-==== Database Details ​====+====Step 1: Readiness Check ====
  
-{{ :​litespeed_wiki:​installation:​wordpress-db.png?600 |}}+{{ :​litespeed_wiki:​installation:​readiness_check.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 database, it will start the installation process.+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'.
  
-==== Run WordPress Install ====+{{ :​litespeed_wiki:​installation:​requirments-met.png?​600 |}}
  
-{{ :​litespeed_wiki:​installation:​runinstall-wp.png?600 |}}+If you see something like this after requirements checks you are good to go, else check which one you are missing and make sure they are met.
  
-If everything works out great, just click 'Run the install'​ and WordPress will perform the installation.+====Step 2:  Add a Database ====
  
-==== Enter General Website details ====+{{ :​litespeed_wiki:​installation:​magento-database.png?​600 |}}
  
-{{ :​litespeed_wiki:​installation:​wp-enter-details.png?600 |}}+Enter database ​details ​we created above.
  
-WordPress will now ask you information regarding your blog/site, like whats the blog name, username you want to use and password, example configurations:+====Step 3 Web Configuration ====
  
-  * Site Titlelitespeedtech +{{ :litespeed_wiki:installation:magento-web-configurations.png?600 |}}
-  * Usernamelitespeedtech +
-  * Passwordlitespeedtech +
-  * Your email: example@example.com+
  
-If you are satisfied with the details click '​Install WordPress'​.+  * Your Store Address: http://​yourdomain.com 
 +  * Magento Admin Address: http://​yourdomain.com/​admin 
 +====Step 4: Customize Your Store====
  
-WordPress is now successfully installed, ​you can browse the home at http://​server_IP:​8088/​ and wordpress admin at http://​server_IP:​8088/​wp-admin+Leave everything default unless ​you want to change anything.
  
 +====Step 5: Create Admin Account====
 +
 +New Username: litespeed
 +
 +New Email: example@example.com
 +
 +New Password: litespeed@123
 +
 +====Step 6: Install====
 +
 +After completing all these steps and click install, so that Magento CE installer can install Magento for you, after successful installation you can visit your store at: http://​server_IP:​8088/​
  • Admin
  • Last modified: 2017/09/16 10:10
  • by Usman Nasir