Kundencenter Server Postinstall-Skripte/en

Aus EUserv Wiki

Wechseln zu: Navigation, Suche

Using the Postinstall Script feature

Inhaltsverzeichnis

Using the Postinstall Script feature

General

The postinstall script feature allows you to create, edit or delete postinstall scripts. So you can upload your own postinstall scripts when reinstalling your server (for Linux based operating systems only). Please notice: This feature can only be used with a server that supports this feature.

In order to use this feature the following steps are required:


  1. Selecting contract
  2. Creating postinstall script
  3. Performing a reinstallation


Using the postinstall scripts

Creating a postinstall script

To create an own postinstall script, please proceed as follows:



Datei:transfer7.png



  • Choose your server contract for which you want to use this feature by clicking "select contract".



Datei:postinstall_en.png



  • Click on "Postinstall Scripts".



Datei:postinstall_1_en.png



  • Under "Creating new script" enter a name for your script.
  • Enter your script code into the displayed text field. Please notice: The script has to be a bash script and the following piece of code needs to be in the first line:
#!/bin/bash
  • Click on "Save".



Datei:postinstall_2_1_en.png




Editing a postinstall script

To edit a created script, please proceed as follows:

  • Under "Already created scripts:" choose the script you want to edit.
  • Click on "Edit".



Datei:postinstall_3_1_en.png



  • Under "Edit script:" enter a new name for your script.

or

  • Make your changes in the displayed text field.
  • Click on "Save".



Datei:postinstall_6_1.png




Deleting a postinstall script

To delete an already existing script, please proceed as follows:

  • Under "Already created scripts:" choose the script you want to delete.
  • Click on "Delete".



Datei:postinstall_3_2_en.png



Using a postinstall script

To use a created script, please proceed as follows:

  • In the left menu click on "Contracts".
  • Choose the contract, for which you want to use the script by clicking on "select contract".



Datei:postinstall_en.png



  • Click on "Reinstallation".



Datei:postinstall_4_en.png



  • Choose your operating system.

Please notice: This feature only works on Linux based operating systems!

  • In the dropdown menu select your created script.
  • Click on "Start Reinstallation".



Datei:postinstall_5_1_en.png



The server is perfoming a reinstallation and automatically runs your script.