Applicable to:
- Plesk for Linux
Question
How to install Plesk on Linux?
Answer
Note: For Plesk installation, it is required a fresh Linux server with access to the Internet. It can be created or purchased from any Hosting Provider. Before the installation, make sure that the server meets Plesk Software Requirements. Some of Hosting Providers have preinstalled Plesk as an option or option to install it during the server creation. One of such Hosting Providers is DigitalOcean.
It is possible to install Plesk automatically or using one of the options below:
Automatic installation with Plesk Web Installer
- Go to website https://get.plesk.com/
- Provide server's IP address and enter the server's root password or add a private key.
- Accept the terms of the End-User License Agreement and click Install.
- The installation will be started.
- When the installation finished, click on the login link.
- Do not be afraid of 'secure connection warning', it is normal, just make an exception.
- Set up the email, Plesk 'admin' user password, and choose if a license has been purchased or require a trial. Click Enter Plesk.
Other options
-
Deploy AWS Lightsail instance with Web Installer
-
Create new Access key ID/Secret access key pair on AWS side and download the
.csv
file: -
Specify generated pair on the Web Installer page:
Note: the region can be left chosen by default.
-
Choose the instance plan according to the requirements:
-
Download the default key from a previously selected region (e.g., Virginia on the screenshot above) from LightSail page:
-
Generate the public key using PuttyGen (Windows) or ssh-keygen (Linux/MacOS):
-
Linux/MacOS:
# ssh-keygen -y -f ./LightsailDefaultKey-us-east-1.pem
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTsW2Q/pq+89VQSs+ylSRJgUx5knmr1wxTrD0d4Qh1qonPa+UolYbK+zcxk8PNNdC5PYHseoMMbI33iRbLIixBB9B0tAIa3fJGzpdwjOWJ4mvdlBkAsP96Nw/2J4EefMtXAi9XHzunQY9Z++cbGJz0FYRLjGR5MeaUwOjnAjCGG/1a6lh3mUe5wBg95p+6ECVYjEQkysBfPh1O/vy9CAzTfxqnbmaWzNO2WqaSD7p8hksGJYlnVqjfggPLDQfggJkSNZlY9WtMe3/nepb6wiEs3FUMomecBdMxiqoTaEKK9a8RaTvZBkXcb4C9I/+V+JfenMyR88uliC5S0DSVq09BNote:
LightsailDefaultKey-us-east-1.pem
should be the filename of the private key downloaded at step 4. -
Windows:
-
Import downloaded private key in PuttyGen:
-
Click Generate:
-
Move the mouse to generate entropy and the key:
-
Copy the generated public key (save it in a text file):
-
-
-
Paste the key into the text field on the Web Installer Page (choose enter key manually):
-
Choose the instance name and click CREATE PLESK INSTANCE
-
To proceed with the installation, follow the instructions from Automatic installation with Plesk Web Installer section
-
-
Installing Plesk in one click via SSH
Connect to a server via SSH as a root user to begin the installation.
-
To install Plesk with a basic set of components in one click, run the command (do not copy '#' symbol):
# sh <(curl https://autoinstall.plesk.com/one-click-installer || wget -O - https://autoinstall.plesk.com/one-click-installer)
Note: This method will install the latest Plesk version marked as "General Availability"
-
To install Plesk with a custom set of components in one click, run the command:
# sh <(curl https://autoinstall.plesk.com/plesk-installer || wget -O - https://autoinstall.plesk.com/plesk-installer)
For detailed information about a one-click installation, see:
-
-
Run Plesk with Docker in one click
Connect to a server via SSH as a root user or any other with 'sudo' access to begin the installation.
To run Plesk on Docker, execute the command:
# docker run -d -it -p 80:80 -p 443:443 -p 8880:8880 -p 8443:8443 -p 8447:8447 plesk/plesk
-
Installing Plesk via a browser
If the server's IP address or the hostname can be resolved from the Internet and the port 8447 is opened, Plesk installer can be launched in a browser:
- Connect to a server via SSH as a root to begin the installation.
-
Download Plesk Installer (do not copy '#' symbol):
# wget https://autoinstall.plesk.com/plesk-installer
-
Add execution permissions to Plesk Installer:
# chmod +x plesk-installer
-
Launch Plesk Installer with the command below:
# ./plesk-installer --web-interface
-
Open a browser on the PC and access Plesk Installer on the port 8447 either via an IP address or a hostname. For example:
CONFIG_TEXT: https://203.0.113.2:8447
OR
CONFIG_TEXT: https://server.example.com:8443
For detailed information about an installation via a browser, see:
-
Installing Plesk via a command-line interface
- Connect to a server via SSH as a root user to begin the installation.
-
Download Plesk Installer:
# wget https://autoinstall.plesk.com/plesk-installer
-
Add execution permissions to Plesk Installer:
# chmod +x plesk-installer
-
Launch Plesk Installer with the command below and follow the on-screen instructions:
# ./plesk-installer
For detailed information about an installation via CLI, see:
Comments
0 comments
Please sign in to leave a comment.