Plesk Linux

Installing Plesk First Time

This guide will help you how to set or install Plesk for the very first time and configure it so it will make you comfortable. I have added some steps so you can follow what to do next…

Install Plesk

https://docs.plesk.com/en-US/onyx/deployment-guide/plesk-installation-and-upgrade-on-single-server/1click-plesk-installation/installing-plesk-for-linux-in-one-click.76444/

screen -S <instance_name>

yum install screen – centos
apt install screen – ubuntu

screen -ls

Detach screen session

ctrl + a + d

Login session screen

screen -r 

=========

Install Plesk cli

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

Login plesk admin

plesk login

fill administrator correct email address based on whmcs

Tools Settings > Security Policy > Password Strenght > Strong

Tools Settings > Update & Upgrades > Add/Remove Components:
Fail2ban, Plesk Migrator, Mod Security, PHP 73, 72, 71, 56, Let’s Encrypt

Tools Settings > Mail Server Settings:

  • increase Maximum message size
  • increase Maximum number of connections for a user per IP address
  • Enable SPF spam protection to check incoming mail
  • SPF checking mode > Only create received SPF headers, never block
  • Switch on spam protection based on DNS blackhole lists
  • b.barracudacentral.org; zen.spamhaus.org; dnsbl.sorbs.net

Configure fail2ban

Tools & settings > Fail2ban > Settings > Enable Intrusion Detection
Increase Number of failures before the IP address is banned > 5

Set jails > Plesk postfix, Plesk proftpd, Plesk dovecot

And you are done.

Leave a Reply

Your email address will not be published. Required fields are marked *