Plesk is a versatile web hosting control panel that offers webmasters and site owners a comprehensive and user-friendly platform for managing their web services. If you're running Ubuntu 22.04 and looking to set up Plesk, this guide is for you. Follow these steps to install Plesk smoothly and start managing your web hosting environment efficiently.
Prerequisites
- An Ubuntu 22.04 server.
- Root access or a user with sudo privileges.
- Internet connection.
Step 1: Update Your System
Before installing any new software, it's crucial to update your system's package index to the latest available versions. This ensures compatibility and security.
apt-get update
Step 2: Configure Firewall
Plesk uses specific ports to operate. Ensure these ports are open on your firewall to allow traffic to and from Plesk.
ufw allow 8880/tcp
ufw allow 8443/tcp
Step 3: Download Plesk Installer
Use wget to download the Plesk installer script from the official source.
wget https://autoinstall.plesk.com/plesk-installer
If you encounter a “wget command not found” error, install wget using the following command and then retry downloading the Plesk installer:
apt-get install wget
Step 4: Make the Installer Executable
Change the permissions of the downloaded script to make it executable.
chmod 755 plesk-installer
Step 5: Run the Plesk Installer
Start the Plesk installation process by executing the installer script.
./plesk-installer
During the installation, you'll be prompted to confirm several steps:
- Press
F
, thenENTER
to proceed with the first prompt. - Press
F
, thenENTER
to proceed with the second prompt. - Press
F
, thenENTER
to proceed with the third prompt.
Note: The exact prompts may vary based on the installer version and your server's configuration. Always read the on-screen instructions carefully.
Once the installation is complete, you can access the Plesk panel through your web browser by navigating to your server's IP address followed by the port 8443. Use the provided credentials to log in and start managing your server with Plesk on Ubuntu 22.04.
Remember, keeping your system and applications updated is crucial for security and performance. Regularly check for updates and back up your data to ensure a smooth and safe web hosting experience.