Installing Plesk on CentOS 7 – Complete Guide
Plesk is a proprietary web hosting control panel designed to simplify the management of websites, databases, domains, and email for personal or client use. With its intuitive browser-based point-and-click interface, it enables straightforward server administration and upkeep.
Requirements Before You Begin
- A newly installed CentOS 7 x64 server instance
- A user account with sudo privileges
- A registered domain properly configured to point to your server
- An active Plesk license
- Note: Plesk installation must occur on a fresh CentOS system. Modifying the system prior to installation can cause issues with both CentOS and Plesk functionality.
Step 1: Launching the Automatic Plesk Installation
Start by logging in with a regular user account that has sudo rights. Run the commands below to initiate the Plesk installer. Make sure the domain is properly assigned to the instance. Replace name@example.com
with your actual email address.
hostnamectl set-hostname example.com
sudo sh -c "wget http://installer.plesk.com/plesk-installer -O - | sh /dev/stdin --source http://installer.plesk.com/ --target /tmp/plesk-installation --select-product-id plesk --select-release-latest --installation-type \"Typical\" --notify-email name@example.com"
The entire installation process typically lasts around 10 minutes on a single-CPU system. Once done, a confirmation message will appear in the terminal indicating the successful installation of Plesk.
Step 2: Opening the Plesk Admin Port
To access the Plesk interface via the provided URL, ensure that port 8443 is accessible. Use the following commands to open the required port:
firewall-cmd --permanent --add-port=8443/tcp
firewall-cmd --reload
Once done, open the URL displayed in the terminal using your browser. The Plesk setup wizard will guide you through the remaining steps—choose the installation type, enter your domain name, create admin login credentials, and apply your Plesk license key.
Conclusion
Your Plesk installation is now complete and fully operational. You’re ready to begin managing your web hosting environment efficiently through the Plesk control panel.