Install WordPress in Ubuntu With Cyberpanal

siddhant sugan dodrai
By -
0

Cyberpanel is an open-source web hosting control panel. It works on top of OpenLiteSpeed and is a great alternative to cPanel. You can deploy a variety of web applications with Cyberpanel, including WordPress, Magento and Prestashop, as well as Opencart.

Install WordPress in VPS


In addition, you can manage SSL certificates on CyberPanel, use the easy-to-use file manager on CyberPanel, and configure your web application firewall on CyberPanel. With a wide range of features and an impressive server stack, the control panel that modern developers love is CyberPanel.

Let’s take a closer look at how we’re going to install CyberPanel along with OpenLightSpeed server on an easy-to-configure cloud-based server running Ubuntu (20.04) or Ubuntu (18.04).

1️⃣ Deploying Cloud ServerI

2️⃣ Installing CyberPanel

3️⃣ Accessing the admin panel

4️⃣ Setting up a hostname domain and SSL

5️⃣ Accessing CyberPanel on secure URL

6️⃣ Creating a website in CyberPanel

7️⃣ Installing WordPress with LSCache

Deploying Cloud Server in Vultr

How to Deploy an Vultr Server?

To deploy an Vultr Cloud server, log in to your Vultr Control Panel and click Deploy server.

If you’re just starting out with Vultr, sign up for a free trial to get started.

Once you’re signed up, you’ll be presented with a few options on the deployment page to customize your new Cloud Server.

Choose the option that best suits your needs, and you’re ready to go.

✔️ Choose the server location from the available data centres.
✔️ Pick a configuration, the $5 per month plan is a good starting point.

✔️ Select Ubuntu 20.04 or 18.04 for the operating system.

✔️ Add any SSH keys you want to use or Use Password.
✔️ Give your server a hostname and description.
✔️ Deploy

Once you have set up your server, use your preferred SSH client to access your cloud server. example Putty and Juice SSH.

Installing CyberPanel in Ubuntu and WordPress

When you first log into a new deployment, you should always make sure you’re running the most up-to-date software and security patch. Run the following command to update and update your server’s packages list:
# Update and Upgrade your VPS
sudo apt-get update 
sudo apt-get upgrade -y
The next step is to download the CyberPanel installation script. For example, you can find the installation script in the folder /tmp, which is automatically cleaned at every reboot. You can change into the directory, and then use the command wget to reduce the install script using the following commands:
# Download and install CyberPanel in your VPS
cd /tmp
wget -O installer.sh https://cyberpanel.net/install.sh
Next, you need to make the installation script executable. Next, you need to modify the file permissions for the script that you just downloaded by chmod below.
# Modify file permission 
chmod +x installer.sh
Then, use the following command to run the installer:
# Run the installer command 
sh installer.sh
Once the script is executed, the shell will guide you through the installation process and ask you to enter your settings. You can do this as shown below.
# Script Executed
~~~~~~~~~~
Github URL: github.com/usmannasir/cyberpanel
Github Content URL: raw.githubusercontent.com/usmannasir/cyberpanel
Github Branch: v2.0.3
~~~~~~~~~~

Initializing...
Valid IP detected...
Checking server...
Checking OS...
Detecting Ubuntu 20.04 ...
Checking virtualization type...
Checking root privileges...
You are runing as root...

CyberPanel Installer v2.03

  1. Install CyberPanel.
  2. Addons and Miscellaneous
  3. Exit.

  Please enter the number[1-3]: 1
To Install CyberPanel, type 1 and press Enter.
CyberPanel Installer v2.03

  RAM check : 152/981MB (15.49%)
  Disk check : 2/25GB (10%) (Minimal 10GB free space)
  1. Install CyberPanel with OpenLiteSpeed.
  2. Install Cyberpanel with LiteSpeed Enterprise.
  3. Exit.

  Please enter the number[1-3]: 1
OpenLiteSpeed (Free version)
Choose 1 to install CyberPanel
If you have a LiteSpeed Enterprise server license, choose 2
If you don’t know which one to choose, choose 1 and fill in the license later

Answer the remaining questions below

# Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.
Full installation [Y/n]: Y
To install a fully-fledged CyberPanel, type Y and press enter. This will install DNS manager, file manager, database manager, and email server.
Do you want to setup Remote MySQL? (This will skip installation of local MySQL)
(Default = No) Remote MySQL [y/N]:  N
Remote MySQL is very rarely used. Most of the time, the database server is on the same computer called localhost. You can select localhost as your database. To select localhost, type N and enter.

# Press Enter key to continue with the latest version or Enter a specific version such as: 1.9.4 , 2.0.1 , 2.0.2 ...etc.
To use the most recent version, just press enter when prompted to choose the installed version.
use default admin password 1234567, randomly generate one (recommended) or specify the admin password?
Choose [d]fault, [r]andom or [s]et password: [d/r/s] : S
For better security, we recommend setting a unique password. Enter your password in the Type S box. You will be asked to enter your password twice.
Do you wish to install Memcached extension and backend?
Please select [Y/n]: y

Do you wish to install Redis extension and backend?
Please select [Y/n]: y

Would you like to set up a WatchDog (beta) for Web service and Database service?
The watchdog script will be automatically started up after installation and server reboot
If you want to kill the watchdog, run watchdog kill
Please type Yes or no (with capital Y, default Yes):
Yes
Once you have completed all the steps in the installation guide, the script will do the rest. Wait 5 to 10 minutes while the installer installs and configures CyberPanel. When the installation is complete, you will see an output like the following:

CyberPanel Successfully Installed
Current Disk usage : 7/25GB (33%)

Current RAM  usage : 288/981MB (29.36%)

Installation time  : 0 hrs 7 min 16 sec

Visit: https://94.237.110.25:8090
Panel username: admin
Panel password: *****
WebAdmin console username: admin
WebAdmin console password: mSlj3t7lzFIJKwx7
After the output is finished, the shell will prompt you to either restart your server or continue with the shell without restarting.

To restart your server without restarting, type N and hit enter.

Would you like to restart your server now? [y/N]: N
You’ve now got all the packages and extensions you need to host your website on the OpenLightSpeed server.

Accessing the Admin Panel


CyberPanel is administered through its user-friendly but robust web dashboard. The admin dashboard is by default available via port 8090. To access the admin panel, simply enter your server IP address into your browser and then enter the port number into the address bar.

To visit the admin panel, go to the following address:

·      URL: http://your-VPs-id address:8090

•     Access to the admin panel using your server's public IP address:

# login login to the admin panel

# login to your admin panel using your public IP address

# login password: 

# login username:

CyberPanel Admin Panel


The administrator dashboard allows you to manage all aspects of the server. In addition, you can use the built-in terminal to run your SSH commands.
Admin Dashboard of CyberPanel



Let’s take a quick tour of the dashboard before moving on to the next steps.

Installing WordPress with LSCache in CyberPanel

One of the best things about CyberPanel is the fact that you don't have to worry too much about the database shell or the SSH console. It comes with a built-in auto-installer which can be used to install any type of script.

Besides WordPress, you also have the option to install Joomla or Prestashop and Magento.

To install any of these scripts, go to the following section:
Websites > List Websites

Next, choose the domain name you want to host your WordPress site on.
Install WordPress in CyberPanel

Once you’ve done that, scroll down to the installable applications list and click the WP+ LSCache icon to get started with the configuration.
Install WordPress in CyberPanel with LSCache

Next, you’ll see the WordPress installation guide. Complete the following form:
✔️ Blog Title – The brand name with Capitalization
✔️ Login user – Type an administrator username. Make sure it is unique to enhance security
✔️ Login Password – Choose a login password for the administrator user
✔️ Email – Type the administrator email address
✔️ Path – Leave it blank

Once everything is ready, click Install Now and wait a few seconds while it installs the WordPress Content Management System (WordPress CMS) and the LiteSpeed Cache plugin.
WordPress installation in CyberPanel


Congratulations! You should be able to see your new WordPress website in your browser now.
CyberPanel WordPress



If you see the standard WordPress page, then your installation was a success and you can start customising your page.

Conclusion

WordPress loads quickly on the top of OpenLiteSpeed and there’s not much left to do.

To get started with setting up your new site, you can use the following menus:

๐Ÿ‘‰ Database > PHPManagedAdministration
๐Ÿ‘‰ Users > create new user
๐Ÿ‘‰ PHP > edit PHP Configs

Happy Blogging!

Post a Comment

0Comments

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn more
Ok, Go it!