opened image

Installing Plesk on Ubuntu 22.04

Plesk is a powerful cross-platform web server control panel that is popular with system administrators and website owners around the world. Unlike cPanel, Plesk offers both paid and free versions (Community Edition), which makes it accessible for projects of any size. An intuitive interface, advanced management tools, and flexible settings let you efficiently manage websites, domains, email accounts, and other services.

In this article, we will look in detail at how to install Plesk on a server running Ubuntu 22.04 LTS, perform the initial setup, and get the panel ready for use.

Main features of Plesk

Plesk provides a universal set of tools for managing a web server:

  • Domain management: creating, editing, and deleting domains and subdomains, as well as managing DNS records.

  • Mail services: creating and administering email accounts with built-in spam protection and antivirus.

  • File and content management: a built-in file manager, archive support, and the ability to work via FTP/SFTP.

  • Databases: managing MySQL, MariaDB, and PostgreSQL, including creating backups and migrating data.

  • Statistics and analytics: traffic monitoring and web server log analysis.

  • SSL certificates: automatic management of Let's Encrypt certificates and the ability to install your own certificates.

  • Security: a built-in firewall, ModSecurity, Fail2Ban, and DDoS protection.

  • Backups: automatic backups of websites and databases with the ability to restore them.

  • Extensibility: installing and managing extensions (Extensions) to expand functionality.

  • CMS integration: support for WordPress, Drupal, Joomla, and other popular content management systems.

System requirements and server preparation

Supported operating systems

Plesk Obsidian (the current version) officially supports Ubuntu 22.04 LTS with some limitations:

  • Ubuntu 26.04 (recommended)

  • Ubuntu 24.04

  • Ubuntu 22.04 LTS (requires the systemd init system)

  • Ubuntu 20.04

  • Ubuntu 18.04

Important note: Plesk supports only Ubuntu servers that use systemd as the init system. The sysvinit service is not supported.

Additional limitations apply to Ubuntu 22.04 on ARM processors:

  • The Dr.Web antivirus is unavailable

  • Some extensions are not installed automatically

  • Nginx is built without the Pagespeed module

Hardware requirements

Minimum requirements:

  • RAM: 1 GB + 1 GB swap

  • Disk space: 20 GB

  • CPU: 1 core (2+ cores are recommended)

Recommended requirements:

  • RAM: 2-4 GB or more, depending on the number of websites

  • Disk space:

    • For hosting 100-500 websites: 2 to 2.5 GB per website

    • For dedicated hosting: 4 to 12 GB per website

Server preparation

Before installing Plesk, update all system packages and make sure the server has Internet access:

apt update
apt upgrade -y
apt install -y curl wget

Installing Plesk on Ubuntu 22.04 - 1

Check the available disk space:


df -h

Make sure there is at least 20 GB of free space for installing Plesk.

Installing Plesk on Ubuntu 22.04

Method 1: One-step installation

This is the fastest way to install Plesk with the default configuration. Installation usually takes 15-20 minutes.

Connect to the server over SSH as the root user and run the command:

sh <(curl https://autoinstall.plesk.com/one-click-installer || wget -O - https://autoinstall.plesk.com/one-click-installer)

The installer will automatically:

  • Download the latest stable release of Plesk

  • Install the components with the default configuration

  • Install all available security updates and patches

  • Apply the settings recommended for most users

Installing Plesk on Ubuntu 22.04 - 2

When the installation is complete, the screen will display information about the successful installation and the available ways to log in to the panel.

Method 2: Installation via the installer console

If you need finer control over the components, download the installer:

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

chmod +x plesk-installer
./plesk-installer

This will open an interactive menu where you can choose:

  • The PHP version (5.3, 5.4, ..., 8.0, 8.1, 8.2, 8.3, 8.4, 8.5)

  • The web server (Nginx, Apache, or both)

  • Databases (MySQL, MariaDB, PostgreSQL)

  • Additional components and extensions

First login to Plesk

Accessing the control panel

After installation, Plesk is available at the following addresses:

  • https://[IP-address] - via the IP address (8443 by default, or 8880 when redirected)

  • https://[IP-address]:8443 - HTTPS port for a secure connection

  • https://[IP-address]:8880 - alternative HTTPS port

Or via the server's domain name (if it is configured):

  • https://plesk.yourdomain.com

  • https://plesk.yourdomain.com:8443

Initial configuration

Step 1: Opening ports

To log in to the panel using the links above, open the corresponding ports in the firewall:

ufw allow 8880/tcp
ufw allow 8443/tcp
ufw allow 80/tcp
ufw allow 443/tcp

Installing Plesk on Ubuntu 22.04 - 3

Step 2: Logging in

For your first login, use the system credentials:

  • Linux: root + the root user's password

  • Windows: Administrator + the administrator's password

Installing Plesk on Ubuntu 22.04 - 4

Step 3: The Plesk Welcome Screen

After you log in, the Plesk Welcome Screen will appear, where you need to:

  1. Set the Plesk administrator password - enter the password you want for the admin user. This password will be used for subsequent logins to Plesk.

  2. Specify the administrator's email address - it is used for notifications and access recovery.

  3. Choose a license:

    • Trial version: 14 days of full functionality, up to 3 domains

    • Community Edition: a free version with basic functionality

    • Paid license: if you have an activation code for a purchased license, enter it in the "Proceed with a paid license" field

  4. Accept the license agreement - check the box to agree to the EULA.

Installing Plesk on Ubuntu 22.04 - 5

Welcome to Plesk!

An example of the panel's main window with a trial license connected:

Installing Plesk on Ubuntu 22.04 - 6

Automatic SSL certification

By default, Plesk is secured with an SSL certificate from Let's Encrypt. If the server's hostname cannot be resolved (it is not specified in DNS), Plesk will automatically generate a temporary hostname based on the IP address (for example, purple-bear.192-0-2-1.plesk.page) so that Let's Encrypt can issue a certificate.

If you specify the correct hostname later, the certificate will not be reissued automatically - you will need to request a new certificate manually in the control panel.

Possible installation problems and their solutions

Error: not enough free disk space

Solution: Make sure there is at least 20 GB of free space:

df -h

If necessary, clear temporary files from the disk:

apt clean
apt autoclean
rm -rf /tmp/*

Error: the installer failed to download

Solution: Check your Internet connection and try again. Make sure the script has execute permissions:

chmod +x plesk-installer

The SSL certificate looks invalid on first login

This is normal; the browser may show a warning about a self-signed certificate. Wait until Plesk finishes installing the Let's Encrypt certificate (this can take up to several hours), or add an exception for this site in your browser.

Error "Cannot install: system is not ready"

This can happen if:

  • Incompatible packages are installed on the server

  • Ports 8880/8443 are already occupied by other services

  • The required libraries are not installed

Try updating the system and removing conflicting packages:

apt update
apt upgrade -y
apt autoremove -y

Resetting the Plesk administrator password

If you have forgotten the administrator password, you can reset it from the command line (root access is required):

/usr/local/psa/bin/admin --set-password -passwd NEW_PASSWORD

Replace NEW_PASSWORD with the administrator password you want.

Optimization and maintenance recommendations

  • Regular updates: Check for Plesk and component updates in Tools & Settings → Updates and Upgrades and install them promptly.

  • Backups: Set up automatic backups in Tools & Settings → Backup Manager. Regularly verify that you can restore from backups.

  • Resource monitoring: Use the built-in monitoring in Server → Resources to track CPU, memory, and disk load. Consider installing extensions for detailed analysis (Munin, Grafana).

  • Web server optimization: Configure the Nginx and Apache parameters in Tools & Settings → Server Configuration according to the power of your hardware.

  • SSL certificates: Make sure automatic renewal of Let's Encrypt certificates is enabled in Certificates → Let's Encrypt.

  • Security: Restrict access to the Plesk control panel to trusted IP addresses only via Tools & Settings → Security → IP Access Policy. Set a strong password and change it periodically.

  • Security extensions: Consider installing additional security extensions, such as Imunify360, to protect against malware and attacks.

  • User management: Regularly review the list of active users and their permissions. Delete unused accounts.

  • Mail system monitoring: Set up SPF, DKIM, and DMARC records to prevent spoofing and improve email deliverability.

Conclusion

Installing Plesk on Ubuntu 22.04 is a straightforward process that even novice administrators can complete in 15-30 minutes. Thanks to its powerful management tools and intuitive interface, Plesk lets you efficiently administer web servers and manage many websites and services. By following this guide and the optimization recommendations, you will be able to deploy a reliable and secure infrastructure for your projects.