Si vous souhaitez installer un nouveau serveur ou migrer un serveur vers une version plus récente. Cette page vous conviendra.
Pré-requis installation Plesk
Afin d’installer Plesk sur votre serveur, il faut d’abord en vérifier les pré-requis.
Il faut simplement respecter la liste de compatibilité des OS supporté (Linux/Windows):
Operating system |
---|
Debian 8 64-bit ** |
Debian 9 64-bit ** |
Ubuntu 14.04 64-bit |
Ubuntu 16.04 64-bit ** |
Ubuntu 18.04 64-bit (Plesk Onyx 17.8 and later) ** |
CentOS 6.x 64-bit |
CentOS 7.x 64-bit |
Red Hat Enterprise Linux 6.x 64-bit * |
Red Hat Enterprise Linux 7.x 64-bit * |
CloudLinux 6.x 64-bit |
CloudLinux 7.x 64-bit |
Virtuozzo Linux 7 64-bit |
Vous devez activer le canal « optionnel » pour installer Plesk Onyx sur Red Hat Enterprise Linux.
Plesk ne prend en charge que les serveurs Debian 8, Debian 9, Ubuntu 16,04 et Ubuntu 18,04 qui exécutent le système init’SystemD’. La compatibilité avec ‘sysvinit’ n’a pas été testée et n’est pas garantie.
Installation Plesk en ligne de commande
Afin d’effectuer une installation sur votre serveur, exécutez la commande suivante :
root@demo-plesk:~# sh <(curl https://autoinstall.plesk.com/plesk-installer || wget -O - https://autoinstall.plesk.com/plesk-installer)
Vous vous retrouvez sur le menu ci-après et pour poursuivre l’installation, il faut sélectionner F :
The Plesk Installation and Upgrade Wizard will guide you through the installation or upgrade process. =============================================================================== ------ IMPORTANT ------ * New installation of product(s) should be performed on clean servers only. * Before upgrading Plesk, be sure to back up your data. * By using this Wizard you agree to the terms and conditions described at http://www.plesk.com/legal/terms/ and those of the Plesk End User License Agreement. Available actions: (F) Go forward (Q) Cancel installation Select an action [F/q]:
Dans notre cas, il n’y a qu’une version disponible que l’on valide avec F:
Select the products to install and their versions =============================================================================== The following product versions are available: 1. [*] Plesk 2. (*) Plesk Onyx 17.8.11 (Stable) Available actions: (F) Go forward (B) Go back (Q) Cancel installation (S) Show advanced settings Select an action or a number [F/b/q/s/1-2]:
Si vous souhaitez aider Plesk à améliorer ses produits, choisissez Y sinon n:
Would you like to help Plesk make better products by sending information about issues occurred, including installation and upgrade issues? [Y/n]:
A présent, il sera possible de faire une installation personnalisée ou recommandé.
Il n’est pas souhaitable d’installer tous les composants disponibles et pour simplifier cette étape, nous choisirons « Recommended ».
Select the installation type for Plesk =============================================================================== Installation types for the product: 1. (*) Recommended Install typically used components. Recommended for general use. 2. ( ) Full Install all available components. 3. ( ) Custom Custom components selection. Recommended only for experienced users. Available actions: (F) Go forward (B) Go back (Q) Cancel installation Select an action or a number [F/b/q/1-3]:
Le résumé de l’installation est affiché ensuite et nous poursuivons avec F :
Preparing Your System for Product Installation =============================================================================== There are 401 packages required for the product to function properly which were not found in your system. There are 0 packages that need to be upgraded in order to install the product. Available actions: (F) Go forward (B) Go back (Q) Cancel installation (S) Show the list of packages Select an action [F/b/q/s]:
L’installation se déroule ensuite en quelques minutes.
Installation is finished Congratulations! The installation has been finished. Plesk is now running on your server. To complete the configuration process, browse either of URLs: * https://X.X.X.X:8443/login?secret=rrphVkf5Hrw%2FkY3BarOnM82F8M7NYt%2BXZlEko6NIK%2Bk%3D * https://demo-plesk.mon-domaine.com:8443/login?secret=rrphVkf5Hrw%2FkY3BarOnM82F8M7NYt%2BXZlEko6NIK%2Bk%3D Use the username 'admin' to log in. To log in as 'admin', use the 'plesk login' command. You can also log in as 'root' using your 'root' password. Use the 'plesk' command to manage the server. Run 'plesk help' for more info. Use the following commands to start and stop the Plesk web interface: 'service psa start' and 'service psa stop' respectively. If you would like to migrate your subscriptions from other hosting panel or older Plesk version to this server, please check out our assistance options: https://www.plesk.com/professional-services/ The changes were applied successfully.
Finaliser l’installation de Plesk
A présent, rendez-vous sur l’URL de votre serveur Plesk (exemple: https://X.X.X.X:8443/login?secret=rrphVkf5Hrw%2FkY3BarOnM82F8M7NYt%2BXZlEko6NIK%2Bk%3D ).
Il vous reste à finaliser la configuration en y ajoutant les éléments suivants :
- Une licence / Evaluation
- Un mot de passe
- E-mail de contact
Conclusion
Le serveur est à présent disponible et utilisable.
Il est possible de consulter rapidement ce que l’installation recommandée a installé sur votre serveur :
root@demo-plesk:~# plesk installer --select-release-current --show-components Detecting installed product components. panel [up2date] - Plesk bind [up2date] - BIND DNS server postgresql [install] - PostgreSQL server health-monitor [install] - Server Health Monitor fail2ban [install] - Fail2Ban l10n [up2date] - All language localization for Plesk git [up2date] - Git docker [up2date] - Docker resctrl [up2date] - Resource Controller (Cgroups) pmm [install] - Plesk Migrator sitebuilder [install] - Web Presence Builder mysqlgroup [up2date] - MySQL server horde [up2date] - Horde roundcube [up2date] - Roundcube kav [install] - Kaspersky Anti-Virus drweb [install] - Plesk Premium Antivirus spamassassin [install] - SpamAssassin mailman [install] - Mailman postfix [up2date] - Postfix qmail [install] - Qmail msmtp [install] - MSMTP (relay only) dovecot [up2date] - Dovecot courier [install] - Courier proftpd [up2date] - ProFTPD webalizer [up2date] - Webalizer awstats [up2date] - AWStats modsecurity [install] - ModSecurity passenger [install] - Phusion Passenger server ruby [install] - Ruby support nodejs [install] - NodeJS support gems-pre [install] - Tools required for building Ruby gems mod_fcgid [up2date] - mod_fcgid mod_perl [install] - mod_perl mod-bw [install] - mod_bw mod_python [install] - mod_python webservers [up2date] - Apache php7.2 [up2date] - PHP 7.2 php7.1 [up2date] - PHP 7.1 php7.0 [up2date] - PHP 7.0 phpgroup [up2date] - PHP from OS vendor nginx [up2date] - Nginx web server config-troubleshooter[up2date] - Plesk Web Server Configuration Troubleshooter psa-firewall [install] - Plesk Firewall psa-vpn [install] - Plesk VPN psa-fileserver [install] - Plesk file server watchdog [install] - Watchdog system monitoring cloudflare [install] - Cloudflare ServerShield heavy-metal-skin [up2date] - Skins and Color Schemes wp-toolkit [up2date] - WordPress Toolkit advisor [up2date] - Advisor letsencrypt [up2date] - Let's Encrypt social-login [up2date] - Social Login
Vous pouvez désormais utiliser votre serveur Plesk.