Installing Wordpress on VPS or Dedicated server without a control panel
Posted by on 30 June 2014 08:18 AM
If you’ve got VPS or a Dedicated server without a control panel and would like to install WordPress 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 show you the easiest and fastest way i.e using SSH. So lets begin:
# wget http://wordpress.org/latest.tar.gz
# tar -xzf latest.tar.gz
This will result in wordPress to be extracted in a folder called wordpress inside /home/demobigo/public_html (Considering this directory to be your website root directory)
You can install wordpress on the main domain (yourdomain.com) or even in a sub-directory (yourdomain.com/blog)
If you’d like it on the main domain, you can just move the files from the directory "/home/demobigo/public_html/wordpress" to "/home/demobigo/public_html/"
You can do this easily by running the following command lines one-by-one
If you’d like it on a sub-directory say blog, just create a folder named blog and move the files to it similarly
Step 3: Edit WordPress configuration file
Now you can either create and edit the wp-config.php file manually, or just skip it & let wordpress do the configuration itselfwhen you run the installation script.
If you’d like to configure this:
Edit the following fields by replacing the actual database details.
Finally, the database section should look like below.
Now, you’re almost done.
Steps 4 : Run the installation script:
In case WordPress isn’t able to identify your custom saved wp-config.php file, it’ll tell you and offer to create and edit the file itself. You can just enter the database details that you’d like for the wordpress database and it will store the same in a new wp-config.php file.
That’s it. You’re all good to use wordpress on your server.