Installing WordPress in Virtualmin

WordPress is one of the leading Content Management Systems (CMS) available today and is used on a variety of different websites. Like Virtualmin, WordPress is free and open source so it only makes sense that you should be able to use the two together to manage your website. In this article we will cover exactly how you can install WordPress onto a site that you’re hosting with us on a Cloud Server that is using Virtualmin.

This is a continuation in our series of Virtualmin tutorials. If you need, you can see our previous guides that cover adding a domain to Virtualmin and creating a database:

 

 

How to Install WordPress in Virtualmin?

Before you begin please go and download the most recent version of WordPress onto your computer by visiting wordpress.org. This will ensure that you’re using the latest version with the most up to date security patches applied. Once the download is complete, please refer to the following steps.

 

  1. Login to Virtualmin
  2. Select Webmin
  3. Click Others
  4. Select File Manager

 

Showing the File Manager location in Virtualmin

 

  1. Navigate to where you’d like to install WordPress
  2. Click the File drop down menu
  3. Select Upload to current directory

 

Showing the File Manager Interface in Virtualmin

 

  1. Click the Paperclip icon and select the new version of WordPress that was downloaded earlier
  2. Click Upload Files

 

Showing the Upload to current directory interface found in the Virtualmin File Manager

 

  1. Right click the WordPress zip folder that was just uploaded
  2. Select Extract

 

Showing the Extract option in the Virtualmin File Manager

 

  1. Open up the extracted WordPress folder by clicking on it
  2. Click the Select All icon
  3. Click the Edit drop down button
  4. Select the Cut option
  5. Click the icon to go back up one directory

 

Showing the Cut option location in the Virtualmin File Manager

 

  1. Select the Edit drop down button
  2. Click Paste

 

Showing the Paste option in the Virtualmin File Manager

 

  1. Right click the file wp-config-sample.php
  2. Select the Rename option

 

Showing the Rename option in the Virtualmin File Manager

 

  1. Rename the file to wp-config.php without the quotes
  2. Click the Rename Button

 

Showing the Rename option interface in the Virtualmin File Manager

 

  1. Right click the file wp-config-sample.php
  2. Select the Edit option

 

Showing the Edit option in the Virtualmin File Manager

 

  1. Locate the MySQL settings section in the wp-config/php file
  2. Enter in the following database information
    1. ‘DB_NAME’
    2. ‘DB_USER’
    3. ‘DB_PASSWORD’
    4. ‘DB_HOST’
  3. Click the Save Button

 

Showing the File editing interface in the Virtualmin File Manager

 

  1. In a web browser navigate to the domain that you just installed WordPress on to complete the installation
    1. The URL should be something like YOURDOMAIN.TLD/wp-admin/install.php
  2. Select the language that you’d like to use
  3. Click Continue

 

Showing the Language selection screen during the WordPress installation

 

  1. Fill in the following information
    1. Site Title
    2. Username
    3. Password
    4. Your Email
    5. Search Engine Visibility
  2. Click the Install WordPress button at the bottom of the page

 

Showing the Information needed page during the WordPress installation

 

If everything went smoothly, WordPress should now be installed and you should now be logged into your WordPress Dashboard.


Share:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.