Prerequisites for Plesk Installation
Before you install Plesk on Ubuntu VPS, verify your server meets the minimum requirements. You need a fresh Ubuntu 20.04, 22.04, or 24.04 LTS server with at least 2GB RAM and 10GB available disk space. Root access is essential.
Check your Ubuntu version:
cat /etc/os-release
Update your system packages to avoid compatibility issues:
apt update && apt upgrade -y
Your server needs a static IP address and properly configured hostname. Set your hostname if needed:
hostnamectl set-hostname your-server-name.example.com
Download and Run the Plesk Installation Script
Plesk provides an automated installation script that handles most configuration tasks. Download the official installer:
curl -sSL https://autoinstall.plesk.com/one-click-installer | sh
The script detects your Ubuntu version and downloads the appropriate packages. Installation takes 15-30 minutes depending on your server specs and network speed.
You can monitor installation progress in real-time. The installer displays status updates and any errors that occur.
Complete Initial Configuration
Access your Plesk panel at https://your-server-ip:8443. The initial setup wizard guides you through essential configuration steps.
Create your admin credentials when prompted. Choose a strong password with uppercase, lowercase, numbers, and special characters. Plesk enforces password complexity requirements for security.
Select your license type during setup. You can start with a trial license and upgrade later. The wizard also asks for your contact information and preferred interface language.
Configure basic server settings including timezone, DNS resolvers, and mail settings. For DNS resolvers, you can use:
- 8.8.8.8 (Google)
- 1.1.1.1 (Cloudflare)
- Your hosting provider's DNS servers
Set Up SSL Certificate for Plesk Panel
Secure your control panel with an SSL certificate. Navigate to Tools & Settings > SSL/TLS Certificates in the Plesk interface.
You have several options for SSL certificates:
- Let's Encrypt: Free automated certificates with 90-day renewal
- Self-signed: Suitable for internal testing environments
- Commercial certificates: For production environments requiring extended validation
For most installations, Let's Encrypt provides adequate security. Click Get free certificate and follow the automated setup process.
After installing the certificate, enable automatic renewal to prevent expiration issues:
plesk bin extension --exec letsencrypt renew
Configure Firewall and Security Settings
Plesk includes a built-in firewall module that simplifies security configuration. Access it through Tools & Settings > Firewall.
Enable the firewall and configure these essential rules:
- SSH (port 22): Allow from your management IP addresses only
- HTTP (port 80): Allow from anywhere
- HTTPS (port 443): Allow from anywhere
- Plesk panel (port 8443): Restrict to administrative IP ranges
- Mail ports (25, 465, 587, 993, 995): Allow based on your email requirements
Install and configure Fail2Ban for additional protection against brute force attacks:
plesk installer --select-product-id=fail2ban --install
Fail2Ban automatically monitors log files and bans IP addresses showing malicious behavior. You can adjust ban policies through the Plesk interface.
Optimize Performance Settings
Tune your installation for better performance. Navigate to Tools & Settings > Server Settings and adjust these parameters:
PHP Settings: Configure PHP versions and modules based on your hosting requirements. Enable OPcache for better PHP performance:
plesk bin php_handler --add -displayname "PHP 8.2" -path /usr/bin/php8.2 -phpini /etc/php/8.2/apache2/php.ini -type fastcgi
Apache/Nginx Configuration: If you're using the Apache + Nginx setup, optimize both web servers. Increase worker limits and enable compression:
plesk bin server_pref --update -apache-max-clients 150
Database Performance: Tune MySQL/MariaDB settings through Tools & Settings > Database Servers. Increase buffer sizes for better database performance with larger datasets.
Looking for reliable hosting to run Plesk? Our managed VPS hosting comes with full root access and 24/7 support to help you deploy Plesk successfully. Dedicated servers provide even more resources for hosting multiple domains through Plesk.
Create Your First Domain and Website
Add your first domain through Websites & Domains > Add Domain. Enter your domain name and configure the document root directory.
Plesk automatically creates the directory structure and virtual host configuration. You can upload files through the built-in file manager or configure FTP access for your users.
Set up email accounts for your domain through Mail > Create Email Address. Configure mailbox quotas and spam filtering based on your requirements.
Test your website setup by uploading a simple HTML file to the httpdocs directory. Verify that both HTTP and HTTPS access work correctly.
Configure Backup and Monitoring
Set up automated backups to protect your hosting data. Navigate to Tools & Settings > Backup Manager and create a backup schedule.
Configure local and remote backup storage options:
- Local backups: Stored on the server's file system
- FTP/SFTP: Remote backup servers
- Cloud storage: Amazon S3, Google Drive, or Dropbox integration
Enable monitoring through Tools & Settings > Monitoring. Configure alerts for disk space, CPU usage, and memory consumption to receive notifications before issues affect your hosted websites.
The monitoring system can send alerts via email or integrate with external monitoring services for comprehensive server oversight.
Troubleshooting Common Installation Issues
If the installation script fails, check the log files for specific error messages:
tail -f /tmp/autoinstaller.log
Port conflicts: Ensure no other services are using ports 80, 443, or 8443. Stop conflicting services before retrying installation:
systemctl stop apache2 nginx
Memory issues: If installation fails due to insufficient memory, temporarily add swap space:
fallocate -l 2G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
DNS resolution problems: Verify your server can resolve hostnames properly. Check /etc/resolv.conf and ensure it contains working DNS servers.
Frequently Asked Questions
How much RAM do I need to install Plesk on Ubuntu VPS?
Plesk requires at least 2GB RAM for basic operation, but 4GB or more works better for hosting multiple domains. The control panel itself uses approximately 512MB of memory.
Can I install Plesk on an existing Ubuntu server with websites?
Installing Plesk on a server with existing configurations may cause conflicts. Use a fresh Ubuntu installation or backup existing data before proceeding.
How do I access Plesk if I forget the admin password?
Reset the admin password using the command line: plesk bin admin --set-admin-password -passwd "newpassword"
Does Plesk installation include Let's Encrypt SSL certificates?
Yes, Plesk includes the Let's Encrypt extension for free SSL certificates. You can install and manage certificates through the web interface.
Can I migrate existing websites to Plesk after installation?
Plesk includes migration tools for importing websites from cPanel, DirectAdmin, and other control panels. Access these through Tools & Settings > Migration & Transfer Manager.

