How to Install WordPress on CyberPanel

Install WordPress on CyberPanel - Manual Installation

WordPress is the most popular self-hosted content management system (CMS) today. Between native features and hundreds of third party plugins, WordPress can handle virtually anything from digital portfolios to small business management suites.

CyberPanel offers a paid plugin to install WordPress on CyberPanel and manage settings within the dashboard. However, the CyberPanel WordPress installer is free and included with the base application.

Below we’re going to cover multiple ways to deploy WordPress on a CyberPanel VPS for free and other ways to manage your websites.

CyberPanel WordPress Application Installer

This is the fastest option for installing WordPress on a CyberPanel server. This quick-installation method also installs the LiteSpeed Cache WordPress plugin for integration with CyberPanel’s web server configuration.

  1. Log into CyberPanel.
  2. On the left, select Websites > Create Website.
  3. Specify the feature package, CyberPanel user to manage the site, domain (without “www”), email account
  4. Choose the latest PHP version unless you know an important plugin for your needs requires an older version.
  5. Enable additional features as desired such as SSL certificate creation if configured on your server.
  6. Select Create Website at the bottom. This may take a few minutes.
  7. On the left, select Websites > List Websites.
  8. Select Manage on the right-side of the website domain.
    List websites in CyberPanel
  9. At the bottom, select WP + LSCache.
    CyberPanel WordPress application installer
  10. Set the site title, admin username, password, and email account.
    CyberPanel WordPress installer info
  11. Leave the path as is unless you want to install the site in a subdirectory within the user home directory.
  12. Select Install Now.

WordPress CyberPanel Integration

The generated database name and user will be a combination of alphanumeric characters. You can modify the database data, user password, and user access from CyberPanel and natively installed phpMyAdmin.

To confirm which database belongs to which WordPress site:

  1. From CyberPanel, select Databases > phpMyAdmin.
  2. Select a database on the left-side with over a dozen alphanumeric characters.
    Find the WordPress domain in phpMyAdmin
  3. Select the wp_options table.
  4. Check the “siteurl” and “home” rows to determine which WordPress site manages that database.

Continue learning about WordPress below.

Manually Install WordPress on CyberPanel

This section guides you through manually preparing your server for WordPress, downloading the CMS onto your server, and basic installation.

  1. Log into CyberPanel.
  2. Create a user to manage the new WordPress site if necessary.
  3. On the left, select Websites > Create Website.
  4. Specify the feature package, CyberPanel user to manage the site, domain (without “www”), and email account
  5. Choose the latest PHP version unless you know an important plugin for your needs requires an older version.
  6. Enable additional features as desired such as SSL certificate creation if configured on your server.
  7. Select Create Website. This may take a few minutes.
  8. From the sidebar, select Databases > Create Database.
  9. Select the WordPress domain from the drop-down list.
    Create MySQL database in CyberPanel
  10. Type a database name suffix. The full database name will automatically populate on the right.
  11. Create a user name. The full database user name will show on the right.
  12. Type a strong passphrase and save it in a password manager. You’ll need this later.
  13. Select Create Database.

Continue to download WordPress via file manager or Secure Shell (SSH).

Install with CyberPanel File Manager

This subsection sticks to the graphical interface for users who do not want to use the terminal.

  1. Select Websites > List Websites.
  2. Select File Manager on the right-side of the website.
    List websites in CyberPanel
  3. Double-click on public_html.
    CyberPanel File Manager
  4. Right-click on the default index.html file and delete it.
    CyberPanel default index.html file
  5. Download WordPress to your PC from https://wordpress.org/latest.tar.gz.
  6. Select Upload at the top.
  7. Browse for and select the WordPress tar.gz file you downloaded.
    CyberPanel upload queue
  8. Select Upload.
  9. Exit the pop-up window from the upper-right corner.
  10. Right-click on the tar.gz file and select Extract.
  11. The extraction file path doesn’t matter since you’ll need to move the files from the created directory. Select Extract.
  12. Double-click on the wordpress directory.
  13. At the top, click Select All and Move.
  14. The “Move to” file path should state “/home/YOURDOMAIN/public_html” with no slash at the end.
  15. Select Back at the top.
  16. The public_html directory should now list all WordPress files. Delete the empty wordpress directory and tar.gz file. If the wordpress directory isn’t removed, you’ll need to use SSH or FTP until the bug is resolved by CyberPanel developers.
  17. Start the WordPress setup configuration.

Install WordPress with SSH

This subsection covers using the command-line interface (CLI) for those with SSH access.

  1. Log into SSH.
  2. Navigate to the new user’s public root directory, replacing “YOURDOMAIN” with the WordPress domain:
    cd /home/YOURDOMAIN/public_html/
  3. Remove the default index.html file:
    rm index.html
  4. Download the latest version of WordPress:
    wget https://wordpress.org/latest.tar.gz
  5. Extract the tar file:
    tar -xvzf latest.tar.gz
  6. Move all the files from the new wordpress directory to the current directory:
    mv wordpress/* ./
  7. Remove the now empty wordpress directory and tar file:
    rm -rf wordpress latest.tar.gz
  8. Start the WordPress setup configuration.

Set up WordPress 

You’re almost done. Now you just need to finish the WordPress setup wizard.

  1. Visit your WordPress domain in a web browser. 
  2. The first page may show the WordPress logo and available languages. Select your primary language and continue.
    Choose a language
    You may start at this page which lists the info you’ll need to continue. Continue.
    WordPress installation preparation
  3. Type the database name, database user, and database user password. This data is available in CyberPanel Databases > List Databases. Select Submit.
    Add MySQL database info
  4. Run the installation.
    Database connection success
  5. Add a site title, admin username, password, and email account. Discourage search engines from indexing the site if this isn’t meant to be a public site. Install WordPress.
    Add WordPress site details
  6. The success page will show your admin user. Log in.
    WordPress installation successful

User credentials will be emailed to you.

Get Started with WordPress

Here are some recommended WordPress plugins to get you started:

Manage WordPress Data

There are multiple methods for you to manage your website outside of the WordPress dashboard:

  • WP-CLI, an application for managing WordPress from SSH.
  • CyberPanel file manager and phpMyAdmin integration, both covered above
  • WordPress plugins with remote access like Cerber Security

Learn to do more with your website from our WordPress Education Channel.

With our Cloud VPS plans, you can deploy a lightning-fast, reliable cloud platform with built-in redundancy – ensuring the availability of your environment!

Comments

It looks like this article doesn't have any comments yet - you can be the first. If you have any comments or questions, start the conversation!

Was this article helpful? Let us know!