How to Install Magento Using SSH

Some web hosting server does not allow extracting of large files using File Manager. The extraction of these files can be done by connecting to SSH.  

Note: This process is only applicable for Magento versions not later than 2.3 and with a Vodien Virtual Server or Dedicated Server Hosting

Follow the instructions below on how to install Magento using SSH connection. 

Prerequisites:

Step 1. Login or Create an account in Magento.  

Step 2. On the same browser, access the download page of Magento.  

Step 3. Scroll down to Archive (zip/tar) section and select any version not later than 2.3.5-p2. 

Step 4. Click the Download button. 

Magento Download Page

Step 5. While waiting for the download to finish, log in to cPanel. 

Step 6. Upload the downloaded zip file to your File Manager or upload it via FTP.  

Step 7. Connect to SSH from a Windows PC or Mac. 

Step 8. Enter these commands and press the Enter key on your keyboard after each command.  

 cd /home/cpanel_username/public_html/(subfolder if the directory is in subfolder) 
ls –alh 

Step 9. The configuration window will show the files and folders in the directory requested. Enter the command below with the exact file name to be extracted. Use the first command for a zip file and the 2nd command for tar file. 

unzip magento-file-name.zip 
untar magento-file-name.tar 

The files and folders extracted should show in the configuration window like in the screenshot below. 

Extracting Files via SSH

Step 9. Access your website’s domain or subdomain on the web browser without the HTTP. 

Step 10Click Agree and Setup Magento.  

Agree and Setup Button in Magento Download Page

Step 11Go through the setup from Steps 1-6Click the Next button to proceed to the next step.  

  1. Readiness Check – Click the Start Readiness Check button to initiate the checking of system requirements. Fix PHP requirements on your web hosting server if there are requirements not met.
    Magento Web Installation Wizard Start Readiness Check
  2. Add a Database – The details on the highlighted boxes below can be obtained from your web hosting server during the creation of the database. Only the boxes with [*] asterisks are necessary to be filled in but Database Server Password is required for Vodien website hosting.Add Database in Magento Web Installation Wizard
  3. Web Configuration – Enter your preferred website URL and admin page URL in the boxes provided. Web Configuration in Magento Web Installation Wizard
  4. Customize Your Store – Choose the Time Zone, Currency, and Language for your website from the drop-down options.  
  5. Create Admin Account – Enter the details for your Magento admin profile. Take note of these details as you will use them to log in to the backend of your website.  
  6. Install – Click the Install Now button to start the installation. Install Now Button in Magento Web Installation Wizard

Step 12. Wait for the installation to be completed.  

Magento Web Installation Progress Bar

You have now successfully installed Magento and can now login to the admin page to start editing your website. Access the admin link set up from Step 11.3 to access the backend of the website.  

Do not hesitate to contact our Singapore or Australia Support Team if you have further questions. 

(Visited 36 times, 1 visits today)