In this guide, we want to teach you How To Install Plesk on Ubuntu 22.04.
Parallels Plesk Panel or just Plesk in short is known as one of the most multi-functional Control Panels on the planet. It goes far beyond the capabilities of the regular web-based tools for managing the server resources your sites need to exist.
Plesk is a complete multi-level hosting platform Control Panel, giving the server administrator a wide range of graphic-interface options to set up and maintain a whole hosting business serving the end customer. It is just as good for configuring shared hosting solutions as it is for setting up virtual and dedicated servers.
Steps To Install Plesk on Ubuntu 22.04
To complete this guide, you must log in to your server as a non-root user with sudo privileges and set up a basic firewall. To do this, you can follow our guide on Initial Server Setup with Ubuntu 22.04.
Download and Install Plesk on Ubuntu 22.04
You can install Plesk in different ways. In this guide, you will install Plesk on your Ubuntu 22.04 by using the installer console.
Update Ubuntu 22.04 Repository
First, update your local package index with the following command:
sudo apt update
Download Plesk Installer Script
Then, you can use the wget command to download the Plesk installer on Ubuntu 22.04:
sudo wget https://autoinstall.plesk.com/plesk-installer
When your download is completed, you need to make your file executable with the following command:
sudo chmod +x plesk-installer
Run the Plesk Installer
At this point, run the script with the command below to install the Plesk:
You will be asked some questions. First, you need to agree with the terms of services by pressing F. Second, to send information about upgrading and installation issues, enter Y or
N by your will.
In the next step, you need to choose the type of Plesk installation on Ubuntu 22.04. Enter F for the recommended installation.
Then, Enter F for upgrading software packages.
When your installation is completed, in your output you will see:
Output Components and product check results: Installation is finished Congratulations! The installation has been finished. Plesk is now running on your server. To complete the configuration process, browse either of URLs: * https://fervent-mendeleev.server-ip.plesk.page/login?secret=WJp7xZn9ZlBFtlHLw7X-oEmf3z_wOjrhcHm1nYFfnqCSdl-6 * https://server-ip/login?secret=WJp7xZn9ZlBFtlHLw7X-oEmf3z_wOjrhcHm1nYFfnqCSdl-6 Use the username 'admin' to log in. To log in as 'admin', use the 'plesk login' command. You can also log in as 'root' using your 'root' password. Use the 'plesk' command to manage the server. Run 'plesk help' for more info. Use the following commands to start and stop the Plesk web interface: 'systemctl start psa.service' and 'systemctl stop psa.service' respectively. If you would like to migrate your subscriptions from other hosting panel or older Plesk version to this server, please check out our assistance options: https://www.plesk.com/professional-services/ The changes were applied successfully.
Note: Remember that the URL link provided above on Ubuntu 22.04 will be used to access the Plesk web interface for the first time.
Manage Plesk on Ubuntu 22.04
At this point, you can start your Plesk service on Ubuntu 22.04 with the command below:
sudo service psa start
Check that your service is active and running on your server with the command below:
sudo service psa status
In your output you will see:
Output ● psa.service - Plesk Panel Loaded: loaded (/lib/systemd/system/psa.service; enabled; vendor preset: e> Active: active (exited) since Thu 2022-10-13 11:29:56 UTC; 3min 59s ago Main PID: 37664 (code=exited, status=0/SUCCESS) CPU: 2ms ...
Configure Firewall For Plesk
At this point, we assumed that you have enabled UFW from the requirements. Now you need to allow HTTP traffic through the firewall with the command below:
$ sudo ufw allow 8880/tcp $ sudo ufw allow 8443/tcp
Reload the firewall to apply the new rules:
sudo ufw reload
Access Plesk Web Interface
You can access the Plesk web interface by the provided URL during the installation on Ubuntu 22.04.
Also, you can type your server’s IP address in your web browser followed by 8880 (insecure port) or 8443 (secure port):
You will see the Plesk login screen.
Enter your server’s root user and password and press login to continue.
After that, you need to enter your Plesk contact details and set a password for the Plesk admin user. Also, you will be required to provide the License or continue with the free version(trial version). Then, press the Enter Plesk button.
Here you will see your Plesk dashboard and you can start using it.
At this point, you have learned to Install Plesk on Ubuntu 22.04.
Hope you enjoy it.
For more guides and articles, you can visit the Orcacore Website.