How To Install Plesk on Ubuntu 22.04 | Full and Easy Steps

Posted on

How To Install Plesk on Ubuntu 22.04 | Full and Easy Steps

Plesk stands out as a comprehensive and versatile control panel. In this guide, brought to you by Orcacore, we’ll walk you through How To Install Plesk on Ubuntu 22.04. Parallels Plesk Panel, commonly referred to as Plesk, surpasses typical web-based tools by offering extensive capabilities for managing server resources essential for website functionality.

Plesk operates as a complete multi-level hosting platform control panel, empowering server administrators with a broad spectrum of graphic-interface options. These tools facilitate the setup and maintenance of a full-fledged hosting business catering to end-customers. Its adaptability makes it equally suitable for configuring shared hosting environments and setting up virtual and dedicated servers. The goal is to provide a clear and straightforward guide on How To Install Plesk on Ubuntu 22.04, ensuring a smooth setup process.

Before you begin, ensure you have the following prerequisites:

Let’s delve into the steps on How To Install Plesk on Ubuntu 22.04.

Download and Set up Plesk on Ubuntu 22.04

Plesk offers various installation methods. This guide focuses on installing Plesk on Ubuntu 22.04 using the installer console.

Update Ubuntu 22.04 Repository

Begin by updating your local package index to ensure you have the latest package information:

sudo apt update

Download Plesk Installer Script

Use the wget command to download the Plesk installer script to your Ubuntu 22.04 server:

sudo wget https://autoinstall.plesk.com/plesk-installer

After downloading, make the installer script executable:

sudo chmod +x plesk-installer

Run the Plesk Installer

Execute the installer script with the following command:

sudo ./plesk-installer

The installer will prompt you with a series of questions:

  • Accept the terms of service by pressing F.
  • Choose whether to send information about upgrading and installation issues by entering Y or N.
  • Select the type of Plesk installation. Enter F for the recommended installation.
  • Confirm the upgrade of software packages by entering F.

Once the installation is complete, you will see output similar to the following:

...
Congratulations! Plesk is now installed and running.

To start using Plesk, open this URL in your browser:
https://your_server_ip:8443

Login: admin
Password: generated_password

You can also access Plesk using the hostname:
https://your_hostname:8443

The Plesk installer has finished.
Set up Plesk on Ubuntu 22.04

Note: The URL provided in the output will be used to access the Plesk web interface for the first time.

Manage Plesk Service on Ubuntu 22.04

Start the Plesk service on Ubuntu 22.04:

sudo service psa start

Verify that the service is active and running:

sudo service psa status

The output should resemble:

Output
● psa.service - Plesk Panel
     Loaded: loaded (/lib/systemd/system/psa.service; enabled; vendor preset: enabled)
     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

Assuming you have enabled UFW, allow HTTP traffic through the firewall:

sudo ufw allow 8880/tcp
sudo ufw allow 8443/tcp

Reload the firewall to apply the new rules:

sudo ufw reload

Access Plesk Dashboard Web GUI

Access the Plesk web interface using the URL provided during installation. Alternatively, type your server’s IP address in your web browser, followed by port 8880 (insecure) or 8443 (secure):

http://server_Ip_Address:8880
https://server_Ip_Address:8443

You will be presented with the Plesk login screen.

Enter your server’s root user and password, then click "Login."

Next, enter your Plesk contact details and set a password for the Plesk admin user. You will also need to provide a license or continue with the free trial version. Click "Enter Plesk."

Plesk contact details

You will now see the Plesk dashboard, ready for use.

Plesk dashboard on Ubuntu 22.04

Conclusion

You have successfully learned How To Install Plesk on Ubuntu 22.04. Plesk on Ubuntu 22.04 offers a user-friendly interface for managing websites, domains, emails, and servers, streamlining web hosting, security, and server administration. Mastering How To Install Plesk on Ubuntu 22.04 is a valuable skill for server administrators.

Stay connected with Orcacore on Facebook and Twitter.

You might also find these articles helpful:

Install Plesk on Debian 11

aaPanel Setup on AlmaLinux 9

Install DirectAdmin Control Panel on Debian 12

Install and Configure Ispmanager on AlmaLinux 8

Alternative Solutions for Installing Plesk

While the installer console method is straightforward, here are two alternative approaches to installing Plesk:

1. Using Docker

Docker provides a containerized environment for running applications, including Plesk. This approach isolates Plesk from the host operating system, making it easier to manage and update.

Steps:

  1. Install Docker: If Docker isn’t already installed, install it using the following commands:

    sudo apt update
    sudo apt install docker.io
    sudo systemctl start docker
    sudo systemctl enable docker
  2. Pull the Plesk Docker Image: Obtain the Plesk Docker image from Docker Hub:

    sudo docker pull plesk/plesk
  3. Run the Plesk Container: Create and run a Plesk container. The following command maps ports 80, 443, 8443, and 8880 to the host system and mounts a volume for persistent data storage. Adjust the volume path as needed.

    sudo docker run -d -p 80:80 -p 443:443 -p 8443:8443 -p 8880:8880 -v /your/data/path:/data plesk/plesk
  4. Access Plesk: After the container starts, access Plesk in your browser using https://your_server_ip:8443. The initial login credentials will be available in the container logs.

Advantages:

  • Isolation: Plesk runs in a container, minimizing conflicts with the host system.
  • Simplified Updates: Updating Plesk involves pulling a new Docker image.
  • Portability: Easily move Plesk between different environments.

Disadvantages:

  • Requires Docker Knowledge: Familiarity with Docker is necessary.
  • Performance Overhead: Containerization introduces a slight performance overhead.

2. Using a Cloud Provider’s Marketplace

Many cloud providers, such as AWS, Azure, and Google Cloud, offer Plesk as a pre-configured image in their respective marketplaces. This eliminates the need for manual installation and configuration.

Steps:

  1. Choose a Cloud Provider: Select a cloud provider that offers Plesk in their marketplace.

  2. Navigate to the Marketplace: Access the cloud provider’s marketplace.

  3. Search for Plesk: Search for "Plesk" in the marketplace.

  4. Launch the Plesk Instance: Follow the on-screen instructions to launch a Plesk instance. This typically involves selecting an instance size, network settings, and storage options.

  5. Access Plesk: Once the instance is running, access Plesk in your browser using the instance’s public IP address or DNS name, typically via https://your_instance_ip:8443.

Advantages:

  • Simplified Deployment: Plesk is pre-installed and configured.
  • Scalability: Easily scale resources as needed.
  • Managed Infrastructure: The cloud provider handles the underlying infrastructure.

Disadvantages:

  • Vendor Lock-in: Tied to a specific cloud provider.
  • Cost: Cloud resources can be expensive.

These alternative methods offer flexibility and cater to different user preferences and technical expertise. Choosing the best approach depends on your specific needs and environment.

Leave a Reply

Your email address will not be published. Required fields are marked *