news
Serverspace has added a new Rocky Linux OS
BM
September 11, 2022
Updated June 7, 2023

How to install cPanel and Softaculous on Ubuntu 20.04 server

Linux Ubuntu

Installing Softaculous on your Ubuntu 20.04 server

In order to install softaculous on your server you need to install cpanel.

Minimum requirements for cpanel:

  • Processor - 1.2 GHz
  • RAM - 2GB
  • Disk space - 25 gb

Recommended requirements for cpanel:

  • Processor - 2.1 GHz
  • RAM - 4 gb
  • Free disk space - 45 gb


Creating a server under Softaculous thanks to Serverspace.

Let's create a server that will meet the recommended characteristics.

To create servers, do the following steps:

  • Login to your personal area, go to the vStack cloud > Servers tab and click Create Server:

112121

  • Select the recommended requirements and click Create:

pic2

pic3

  • If you need to install any applications, you can do this during the deployment phase:

1231231

  • Don't forget to configure access to the server. (Either via a private ssh key or using login + password)

 

Automatic installation

You can do the installation via an automated command or you can do it manually. (It's possible that the installation fails, so if you can't install cpanel automatically, install it manually.)

This is usually because a certain software package was already installed.

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

1

You will probably get a "curl not found" error. This means you don't have the "curl" utility installed.
Update packages with the command:

apt-get update && apt-get upgrade

.

After upgrading packages, install the "curl" utility.

apt-get install curl -y

You need to install "perl" so that cpanel can start the installation.

Then try to install "cpanel" again automatically:

apt-get install perl

If it succeeds you will see this window:

3

Manual installation

If the automatic installation doesn't work, follow the instructions below:
1. Updating packages:

apt-get update && apt-get upgrade

2. Change our server name to your domain name "Fully Qualified Domain Name" - (hostname)

Hostname 31.44.3.100 cpanel.demo.com server

5

Optional

You can install the "screen" program in order to prevent interruptions or problems during the installation

You can install the "screen" program to prevent interruptions or problems during the installation.

apt-get install wget screen -y

4

After installing, you start the tool immediately with the command

screen

Downloading the installation script

3. You need to go back to the "home" directory.

Use the command:

cd /home

6

4. Download the necessary files with the command :

wget -N http://httpupdate.cPanel.net/latest

7

After downloading, you can check if the script is downloaded to your server using the command

ls -a

8

 

When you are in the right directory, run the installation script:

sh latest

and you should get this message:

3

This means you have successfully started the installation of cpanel.
After installation, you need to know your hostname, or your IP + port.

Example: 31.44.3.100:2087
After you click on this link, you will see cpanel:

9

Authentication is done from a root account.

10

Next, you need to confirm your email, follow the steps on the site.

After you have logged in to whm, go this way and check the box as in the screenshot below:

Do not forget to save your changes.
If you are logged in without superuser rights,
then give access rights to the script with the following command:

chmod 755 install.sh

To install Softaculous on WHM, you need to install the script:

wget -N http://files.softaculous.com/install.sh

After you have successfully installed Softaculous, you will see the following window:

Go back to WHM and search for "Softaculous Instant".

Congratulations, you have successfully installed Softaculous.

Conclusion:

Thanks to this tutorial you can implement Softaculous on your server for your web applications.

Vote:
5 out of 5
Аverage rating : 5
Rated by: 8
1101 CT Amsterdam The Netherlands, Herikerbergweg 292
+31 20 262-58-98
700 300
ITGLOBAL.COM NL
700 300
We use cookies to make your experience on the Serverspace better. By continuing to browse our website, you agree to our
Use of Cookies and Privacy Policy.