How to Install Plesk On Linux?

If you need enterprise-level web hosting control, then Plesk 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 free trial license so you can take it for a test drive and see if it does everything that you hoped for.

To install Plesk you will need “clean” Linux server with an access to the Internet and compliant with Plesk requirements.  Just in case you have already used your Linux server for hosting purposes – please uninstall any existing instances of Apache, MySQL, Cyrus, SELinux and PHP. There are 5 different ways on how to install Plesk:

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 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

Installing Plesk using ISO-images

There are special Plesk ISO-images for Ubuntu and CentOS Linux distros configured to install Plesk automatically.
Installation process is a matter of the following scope of steps:

  • Virtual server parameters are configured and installation from ISO-image is launched
  • Usual input is provided for OS installation
  • OS installed on the server and upon finalization of the process the server is rebooted
  • Plesk platform installation is performed as a background process

Install Plesk via Web Installer

  • To install Plesk using Web Installer please open your browser and go to the following URL: https://get.plesk.com/
  • Provide your server’s IP address or hostname, enter your root password or just add a private key.
  • Accept the terms of End-User License Agreement and click Install button
  • Relax and wait for some time to let the installation be finalized.
  • Click on the Login link. No worries about “secure connection warnings”, just make an exception.

Plesk 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:8443 or https://your-ip: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
  • Accept end user agreement and enjoy the power of Plesk!

How to install Plesk on Google Cloud

Why use Plesk on Google Cloud? As an industry giant, Google has a reliable global infrastructure and can offer products with the right combination of price, features and performance. Products that can power your business or project right now, but also grow and scale beside you.

Google’s scale also enables them to innovate custom-built products. For example, their own server equipped with purpose-built chips and software stack with cloud-specific protocols. Better information means better decisions, better products and faster innovation. Thanks to Big Data and Machine Learning services employed across Google products and apps you can expect dependable, instantaneous and contextualized information.

How to complete installation of Plesk on Google Cloud

Plesk On Google Cloud

 

Locating Plesk

  1. Before you install Plesk on Google Cloud, create or log in to a Google Cloud Platform account.
  2. Once logged in, head to the Google Cloud Platform Console and select Cloud Launcher.
  3. In the search bar type “plesk”.

Plesk WebHost or BYOL?

  • You’ll now be given a choice between Plesk WebHost and BYOL:
  • Plesk WebHost is ready to work out of the box and is good for you if you don’t have a license or want to start using Plesk right away.
  • BYOL means ‘bring your own license’ and is a good fit if you are familiar with Plesk, you have a license and you know which components you need.
  • You can then click “LAUNCH ON COMPUTE ENGINE”.

Naming and locating your Virtual Machine instance

Name your Virtual Machine instance via the “Deployment name” field. You can now “Select Zone” and decide where you want to locate your VM. For example, if you’re hosting a website for a small local business, it’s best to choose a zone closest to the geographic location of visitors to help reduce load times.

Selecting the right machine type

When choosing a machine type that Plesk can be deployed on, pay close attention to the amount of RAM available. The more websites you intend to host and the more traffic you generate, the more RAM you will need. So refer to Plesk System Requirements to correctly estimate the amount of RAM your setup requires.

If you are unsure which machine type to choose, we recommend starting with the default “1 vCPU” for web hosting. If you find that the existing machine type is not suitable for the quantity or load of your websites, you can change your machine type to one with more resources.

Disk type and size of Plesk on Google Cloud

When hosting production websites, we recommend to keep SSD Persistent Disk under “Disk type”. If you’re using Plesk for testing purposes only, you can select Standard Persistent Disk.

Before you specify the amount of disk space required for your website in “Disk size in GB” estimate the value required as precisely as possible. This value will depend on the type of website you’re hosting, as well as its popularity and other factors. If you’ve selected too small a value, you can resize the disk space later.

Firewall for Plesk on Google Cloud

It’s recommended to keep all the selected checkboxes under “Firewall” as they are Plesk default settings.

Deploy your instance

The final step is to click “Deploy”. Your Virtual Machine instance is now up and running. By following these easy steps you’ve now setup Plesk on Google Cloud and taken your web hosting to a higher level.