Note

You are viewing the documentation for an older release of Interworx (7.1). To see documentation for the current generally available release of Interworx, click here: 7.13.

How To: Install Wordpress in InterWorx

Wordpress is a software that can be used to make building a website easier and user friendly. While InterWorx does not provide or directly support Wordpress, it can be easily installed and used on InterWorx servers.

Wordpress can be installed either through the Softaculous plugin from the SiteWorx interface, or manually.

To Install Wordpress via Softaculous

Note

InterWorx ships with the standard license for Softaculous. As Wordpress is part of their premium packages, a premium Softaculous license is needed. Softaculous licenses may be purchased from their website.

  1. Log into SiteWorx from the browser (https://ip.ad.dr.ess:2443/siteworx)

  2. In SiteWorx, navigate to Hosting Features > Softaculous, either from the side menu or SiteWorx home

    wordpress button
  3. Click the Wordpress button. This opens the Wordpress installation page

    wordpress install now button
  4. Click Install Now. This opens the Wordpress Software Setup page

  5. Update the desired fields, if making any setting changes from the default

    wordpress software setup install button
  6. At the bottom of the page, click Install. This refreshes the page to show the installation status.

  7. When the installation is complete, a page with the account settings will be provided

    ../../../_images/sw-wordpress-account-info.png

To Manually Install Wordpress

Note

Installing Wordpress via the CLI requires the ability to SSH into the server from a terminal. SiteWorx users who do not have shell access should contact their hosting provider. Information on adding SSH shell users can be found here.

Setting up the Database

  1. Log into SiteWorx from the browser (https://ip.ad.dr.ess:2443/siteworx)

  2. In SiteWorx, navigate to Hosting Features > MySQL > Databases, either from the side menu or SiteWorx home

  3. Click +. This opens the Add a MySQL Database from

  4. Update the desired fields:

    • Database Name: The name of the database. SiteWorx will automatically append the unix username of the SiteWorx to the database name provided

    • Create User: Checking this box will expand the form to include database user options. Creating a database user for the new wordpress database is recommended

    • Password/Confirm Password: The password for the database user. Clicking the Magic Wand will automatically generate a secure password

    • MySQL User Permissions: The permissions the database user should have

    • When Connecting From: The host the database user will connect from. % is the default, which is a wildcard

      create wordpress database
  5. Click Add

Downloading the Wordpress Config Files

  1. Log in to the server at the CLI as the SiteWorx user, either via SSH or from the terminal

  2. From the CLI, navigate to /home/unixuser/domain/html

    cd /home/mywebsit/mywebsite.com/html/
    
  3. Download the latest Wordpress version with wget. The latest version can be found on the Wordpress website. The link in the example below should also work

    wget https://wordpress.org/latest.tar.gz
    
  4. Untar the package with tar -zxvf. This extracts the files into a new folder named wordpress`

    tar xfz latest.tar.gz
    
  5. Move all of the files in the newly created wordpress folder into the current directory

    mv wordpress/* ./
    
  6. Delete the empty wordpress folder

    rmdir ./wordpress/
    

Installing Wordpress

  1. In the browser, navigate to the domain. It will automatically redirect to the Wordpress Setup page

    wordpress setup config page
  2. Choose the default language

  3. Click Continue. This opens the database connection details page

    wordpress database info
  4. Provide the credentials for the database

  5. Click Submit. This opens the installer page

    wordpress install button
  6. Click Run the Installation. This opens the Welcome page

    wordpress welcome page
  7. Update the required fields

  8. Click Install Wordpress. When the installer is finished, it will open a page stating that the installation was a success, and provide the the user login information

    wordpress install success page