Installing Magento on VPS or Dedicated server without a control panel
Posted by on 30 June 2014 12:46 PM
If you’ve got VPS or a Dedicated server without a control panel and would like to install Magento on it, you can do it easily. We’ll break it down for you.
Step 1 : Create a Database & its User
In the above screen, we’ve demonstrated an example for this, where:
You can do this in 2 ways:
In this article, we’ll help you with the easiest and fastest way i.e. using SSH. Here’s how you do it:
# wget http://www.magentocommerce.com/downloads/assets/188.8.131.52/magento-184.108.40.206.tar.gz
Now, the Magento files are extracted inside the folder “/home/demomag/public_html/magento”.
You can install Magento on the main domain (yourdomain.com) or even in a sub-directory (yourdomain.com/shop)
If you’d like it on the main domain, you can just move the files from the directory "/home/demomag/public_html/magento" to "/home/demomag/public_html".
You can do this easily by running the following command lines one-by-one:
# cd /home/demomag/public_html/magento
If you’d like it on a sub-directory say shop, just create a folder named shop and move the files to it similarly.
Step 3 : Pre-installation check
Before proceeding with the Magento installation, check whether your hosting package meets the server requirements set by Magento. In case you see a warning for any missing PHP modules, contact your system admin to install it on the server.
Step 4 : Run the installation script
Accept the license agreement and proceed with the installation.
Step 5 : Localization
Select your Language & Time Zone and click on Continue
Set the Database configuration to the following:
Database Type: MySQL
Database name: Enter the Database name you created in Step 1
User name: Enter the Database user you created in Step 1
User password: Enter the Password that you’ve set for the database user (Refer Step 1)
Base URL: yourdomain.com
Admin Path: Additional path added after Base URL to access your Administrative Panel (e.g. admin, administrator, webmaster etc.)
Step 7 : Creation of an admin account
Enter the Personal & Login Information that you’d like to set for the Magento admin of your website.
Step 8 : Final setup
Just fill in a short survey provided by Magento and hit Submit
Save this encryption key securely somewhere, it’ll help you if you’re moving your Magento content to a different Magento instance.
Once you’re done, just hit Submit and you’re ready to use your Magento on your virtual private servers.