How to Install Plesk On Linux - Plesk Tips

How to Install Plesk On Linux?

If you need enterprise-level web hosting control, then Plesk Onyx has to be near to the top of your list. It’s certainly near the top of everyone else’s, thanks to its straightforward tolls for managing websites and servers. It’s a versatile beast too, as it works on both Linux and Windows operating systems. You get a web server suite, mail server, ftp server, dns management tools and 100+ extensions that you can use in order to improve performance of your server. You’ll need to buy a license to get the most out of the platform, but Plesk offers a trial license so you can take it for a test drive and see if it does everything that you hoped for.

Install Plesk on CentOS server

So, how do you actually install Plesk? Let’s take a step-by-step look at installation on a CentOS server. First you need to uninstall existing software. The first thing we need to do is uninstall any existing instances of Apache, MySQL, Cyrus, SELinux, and PHP. To do this, open the terminal and enter these commands:

yum remove http*

yum remove php*

yum remove cyrus*

yum remove mysql*

This one disables SELinux:

setenforce 0

Done that? Great, now we’re ready to install Plesk Onyx. There are three different ways on how to do this quickly.

Install Plesk in one click

In order to install Plesk Onyx with a basic list of components you need to run the following command:

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

The installation will proceed in automatic way. The average time of the whole installation process will be between 30 minutes and 1 hour. The command will initiate the download of the latest stable Plesk Onyx release.

Install Plesk using browser

Just in case your host or IP address is resolvable and the port 8447 is open, you have an opportunity to launch Plesk Onyx installer via browser.

  • Download installer: wget https://autoinstall.plesk.com/plesk-installer
  • Add permissions for execution to downloaded Plesk installer: chmod +x plesk-installer
  • Initiate Plesk installer with the command below: ./plesk-installer --web-interface
  • Access Plesk installer via browser under port 8447 using IP address https://your-ip-address:8447 or host https://your-host-name:8447
  • Access the web interface, use “root” user and password
  • Select and click “Install or upgrade product”
  • Choose latest stable version of the product and press “Continue”
  • Select one of the installation types, which will identify the packages list. Or you may just enable “Preview components selection” and choose all the components you like. Click “Continue” to proceed with installation.
  • You will see the console output inside the web interface. Wait until installation process is over.

Installing Plesk via CLI

  • Download Plesk installer: wget https://autoinstall.plesk.com/plesk-installer
  • Add proper permissions to Plesk installer: chmod +x plesk-installer
  • Run Plesk installer via command line and follow instructions: ./plesk-installer or ./plesk-installer --all-versions
  • First you will need to confirm your decision by choosing “Go forward” and in case of –all-versions there will be option to choose the certain version of Plesk
  • Wait until installation process is done

Plesk Onyx 17.8 initial configuration after installation on Linux

As soon as Plesk installation is over, it is necessary to make tiny post-install configuration. You need to open in your browser the following url – https://your-host-name:8443 or https://your-ip-address:8443  Access system using “root” username and its password.

  • Enter contact information ( name and e-mail ) of the administrator
  • Change administrator’s account password. Next time you log into the system please use “admin” username and your new password
  • Select full trial or paid license. In case you’ve already purchased paid license – please paste an activation code. In opposite case you may still purchase it here or use temporary trial license for one of the following editions – Web Pro, Web Host or Web Admin
  • Accept end user agreement and enjoy the power of Plesk Onyx!

About

Elvis Plesky
Our fun and curious team mascot's always plugged into the latest trends. He's here to share his knowledge and help you solve your tech problems.

    Leave a Comment

    Start typing and press Enter to search