Hetzner Server Initialization Debian 11 and Plesk

Best Practise Walktrough for Plesk 18.0.x

For this tutorial a dedicated Hetzner root server AX102 is used to demonstrate the manual installation of Plesk Obsidian on a Debian Bullseye operating system. 

Installing the Operating System

  • Our server was already ordered to be booted into the Hetzner rescue system so that we are able to install the operating system based on our needs.
  • We love to use the screen manager in order to have multiple terminals and to be able to go on with our session even if the network is interrupted.
  • Installimage is a script provided by Hetzner to install the operation system of your choice.
				
					root@rescue ~ # screen
root@rescue ~ # installimage
				
			
  • In our case Debian Bullseye is the way to go:
  • In the following configuration file the server’s basic settings need to be setup.
				
					// change the hostname based on your needs
// if you plan to use the server also as mailserver,
// take care that a reverse DNS entry is possible for the choosen name
// we recommend a fully qualified domain name to have a propper hosts file afterwards
HOSTNAME saruman.data-horizon.de
// set your preferred raid level
// in a two disks scenario raid 1 is suitable
// in a 4 discs or more environment raid 10 should be considered
SWRAID 1
SWRAIDLEVEL 1
// the swap partition should be half size of the installed memory
PART /boot/efi esp 256M
PART swap swap 64G
PART /boot ext3 1024M
PART / ext4 all
				
			
  • Save the file (F2), quit (F10) and watch the show.
  • After the installation is completed, reboot the system.
				
					root@rescue ~ # reboot
				
			

Installing Plesk Obsidian

  • After reboot is done, login again and make package upgrades first.
				
					root@saruman ~ # apt update
root@saruman ~ # apt upgrade
root@saruman ~ # apt install screen
				
			
  • Start screen and install Plesk Obsidian.
				
					root@saruman ~ # cd /root/
root@saruman ~ # mkdir plesk
root@saruman ~ # cd plesk
root@saruman ~ # wget https://autoinstall.plesk.com/plesk-installer
root@saruman ~ # chmod +x plesk-installer
root@saruman ~ # sh ./plesk-installer --all-versions
				
			
  • After the Plesk installer has been finished, a one-time login URL  to your admin panel that contains a session token is presented to complete the configuration process and setup the admin account.
  • Also your Plesk license activation code is needed, to fully activate your Plesk Obsidian environment.
  • When all is done, consider another server reboot to test that all services are also available after a restart.
Kategorien
Michael
Michael
Diesen Beitrag teilen

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Unser Kommentarformular kann nur in Verbindung mit Google reCAPTCHA genutzt werden. Mit dem Laden von reCAPTCHA akzeptieren Sie die Datenschutzerklärung von Google.
Mehr erfahren

reCAPTCHA laden