### GRUB Legacy Bootloader Installation Steps Source: https://docs.hetzner.com/de/robot/dedicated-server/raid/exchanging-hard-disks-in-a-software-raid Manual steps to install the GRUB Legacy bootloader, including setting the root partition and writing the bootloader to the MBR. This example shows mapping the second disk as hd0 and repeating the setup. ```bash grub root (hd0,1) setup (hd0) device (hd0) /dev/sdb root (hd0,1) setup (hd0) quit ``` -------------------------------- ### GRUB Legacy Console Interaction Example Source: https://docs.hetzner.com/de/robot/dedicated-server/raid/exchanging-hard-disks-in-a-software-raid An example of interacting with the GRUB Legacy console to map a device, set the root partition, and install the bootloader. ```text Probing devices to guess BIOS drives. This may take a long time. GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.] grub> device (hd0) /dev/sdb device (hd0) /dev/sdb grub> root (hd0,1) root (hd0,1) Filesystem type is ext2fs, partition type 0xfd grub> setup (hd0) setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 26 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+26 p (hd0,1)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded Done. grub> quit # ``` -------------------------------- ### Start installimage Script Source: https://docs.hetzner.com/de/robot/dedicated-server/operating-systems/installimage Run the installimage script from the rescue system to begin the OS installation process. This will launch a menu for selecting distributions and images. ```bash root@rescue ~ # installimage ``` -------------------------------- ### Install Resilio Sync (BTSync) Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Install Resilio Sync using the 'software install' command. ```bash software install rslsync ``` -------------------------------- ### Example GET /servers Request Source: https://docs.hetzner.com/de/cloud/api/getting-started/using-api This is a specific example of a GET request to retrieve a list of servers in your project. ```APIDOC ## Example: GET /servers ### Description This example demonstrates how to retrieve a list of servers associated with your project using a GET request. ### Method GET ### Endpoint `https://api.hetzner.cloud/v1/servers` ### Request Example ```bash curl \ -H "Authorization: Bearer $API_TOKEN" \ 'https://api.hetzner.cloud/v1/servers' ``` ``` -------------------------------- ### Install a PEAR Package Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Install a specific package using the 'pear install' command followed by the package name. ```bash pear install ``` -------------------------------- ### Install FFmpeg on Managed Server Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Use the 'software install' command to install FFmpeg on a managed server. ```bash software install ffmpeg ``` -------------------------------- ### Start SFTP Session Source: https://docs.hetzner.com/de/storage/storage-box/access/access-ssh-rsync-borg Initiate an SFTP session to your Storage Box on port 23. You can then use commands like `put`, `get`, and `ls`. ```bash sftp -P 23 @.your-storagebox.de ``` -------------------------------- ### Start Nginx Web Server Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Command to start the Nginx web server. Assumes SSH access and that Nginx is installed. ```bash nginx ``` -------------------------------- ### Install GlassFish Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Command to install the GlassFish application server. ```bash software install glassfish ``` -------------------------------- ### Start the `atd` Service Source: https://docs.hetzner.com/de/robot/dedicated-server/general-information/server-relocations Initiate the `at` daemon service if it is not already running. Installation of the `at` service might be required beforehand. ```bash /etc/init.d/atd start ``` -------------------------------- ### Install wkhtmltopdf on Managed Server Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Install wkhtmltopdf on a managed server using the 'software install' command. ```bash software install wkhtmltopdf ``` -------------------------------- ### Start GlassFish Domain Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Command to start the default GlassFish domain. ```bash asadmin start-domain ``` -------------------------------- ### Example Volume Remount Source: https://docs.hetzner.com/de/robot/dedicated-server/troubleshooting/filesystem-check Example of remounting the '/dev/vg0/data' volume to the '/media/data' mount point. ```bash mount /dev/vg0/data /media/data ``` -------------------------------- ### Install Composer on Webhosting with SSH Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Install Composer manually on web hosting with SSH support by downloading the installer, running it, and setting up an alias. ```bash php -d allow_url_fopen=On -r "readfile('https://getcomposer.org/installer');" > composer-setup.php php -d allow_url_fopen=On composer-setup.php php -r "unlink('composer-setup.php');" ``` ```bash echo alias composer=\"/usr/bin/php -d allow_url_fopen=On /usr/home/$USER/composer.phar\" >> ~/.bashrc source ~/.bashrc ``` -------------------------------- ### Install Boot Code Source: https://docs.hetzner.com/de/robot/dedicated-server/maintenance/hot-swapping Install the boot code on the new drive. ```bash gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada1 ``` -------------------------------- ### Install ZFS Boot Code Source: https://docs.hetzner.com/de/robot/dedicated-server/maintenance/hot-swapping Install the ZFS boot code on the new drive. ```bash gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 ``` -------------------------------- ### NVMe Self-Test Progress Example Source: https://docs.hetzner.com/de/robot/dedicated-server/maintenance/nvme Example output showing the self-test is in progress and its completion percentage. ```text Test is 21% complete and is still in progress. ``` -------------------------------- ### Example of Misaligned Partitions Source: https://docs.hetzner.com/de/robot/dedicated-server/getting-started/partition-alignment This output shows a common misalignment issue after a VNC installation of CentOS 5.6, where the first partition starts at sector 63. ```bash [root@static ~]# fdisk -u /dev/hda The number of cylinders for this disk is set to 10443. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/hda: 85.8 GB, 85899345920 bytes 255 heads, 63 sectors/track, 10443 cylinders, total 167772160 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System /dev/hda1 * 63 208844 104391 83 Linux /dev/hda2 208845 167766794 83778975 8e Linux LVM ``` -------------------------------- ### Create Bareos Device Resource Source: https://docs.hetzner.com/de/storage/object-storage/howto-backups/bareos Copies an example device configuration file and prepares it for customization to use Hetzner Object Storage as a Bareos backup device. ```bash sudo cp -a /etc/bareos/bareos-sd.d/device/dplcompat.conf.example /etc/bareos/bareos-sd.d/device/HetznerBucket_BareosDevice.conf ``` -------------------------------- ### Install PostgreSQL on Ubuntu Source: https://docs.hetzner.com/de/storage/object-storage/howto-backups/bareos Installs PostgreSQL on Ubuntu systems. Ensure you follow official PostgreSQL documentation for detailed setup. ```bash sudo apt update sudo apt install postgresql sudo systemctl status postgresql ``` -------------------------------- ### Prepare and Chroot into System Source: https://docs.hetzner.com/de/robot/dedicated-server/troubleshooting/hetzner-rescue-system Prepare the system for chroot and then enter the root environment to make changes. This is typically done after mounting the system partition. ```bash chroot-prepare /mnt chroot /mnt ``` -------------------------------- ### Duplicati Login URL Example Source: https://docs.hetzner.com/de/storage/object-storage/howto-backups/duplicati This is an example of the URL you will receive after starting Duplicati with the --no-admin-password option. Replace with the actual token provided. ```text http://localhost:8200/signin.html?token= ``` -------------------------------- ### Start Resilio Sync / BTSync Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Start the Resilio Sync daemon, specifying the web UI listen address and port. Replace with your server's IP address. ```bash rslsync --webui.listen :8888 ``` -------------------------------- ### FFmpeg Command Line Examples Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Examples of using FFmpeg to convert audio and video files. Ensure FFmpeg binaries are uploaded and have execute permissions (755). ```bash ffmpeg -i MeinLied.mp3 MeinLied.wav ``` ```bash ffmpeg -i MeinVideo.avi MeinVideo.mp4 ``` -------------------------------- ### GET Request Example Source: https://docs.hetzner.com/de/cloud/api/getting-started/using-api Use a GET request to retrieve information about available plans, resources, locations, or other data. Replace `{api-url-ending}` with the specific API endpoint. ```APIDOC ## GET Request ### Description Use a GET request to retrieve information about available plans, resources, locations, or other data. Replace `{api-url-ending}` with the specific API endpoint. ### Method GET ### Endpoint `https://api.hetzner.cloud/v1/{api-url-ending}` ### Request Example ```bash curl \ -H "Authorization: Bearer $API_TOKEN" \ 'https://api.hetzner.cloud/v1/{api-url-ending}' ``` ``` -------------------------------- ### Create Bucket and Upload Object with MinIO Go Client Source: https://docs.hetzner.com/de/storage/object-storage/getting-started/using-libraries Utilize the MinIO Go Client SDK to create a bucket and upload an object. This example demonstrates setting up the client with your credentials and endpoint. ```go package main import ( "context" "crypto/rand" "encoding/hex" "fmt" "log" "strings" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) // Zufällige Zeichenfolge generieren func generateRandomHash(length int) string { bytes := make([]byte, length) _, err := rand.Read(bytes) if err != nil { log.Fatalf("Failed to generate random hash: %v", err) } return hex.EncodeToString(bytes)[:length] } func main() { ctx := context.Background() // Bucket-Namen mit zufälliger Zeichenfolge als Variable festlegen VAR_BUCKET_NAME := fmt.Sprintf("my-bucket-%s", generateRandomHash(8)) // Einen neuen S3-Client erstellen client, err := minio.New("fsn1.your-objectstorage.com", &minio.Options{ Secure: true, Creds: credentials.NewStaticV4( "YOUR-ACCESS-KEY", "YOUR-SECRET-KEY", "", ), }) if err != nil { log.Fatal(err) } // Einen neuen Bucket erstellen err = client.MakeBucket(ctx, VAR_BUCKET_NAME, minio.MakeBucketOptions{Region: "fsn1"}) if err != nil { log.Fatal(err) } log.Printf("Created Bucket: %s", VAR_BUCKET_NAME) // Ein kleines Objekt hochladen body := strings.NewReader(strings.TrimSpace(` # Mein Objekt Dieser Markdown-Text ist der Inhalt meines Objekts. `)) _, err = client.PutObject(ctx, VAR_BUCKET_NAME, "my-object", body, body.Size(), minio.PutObjectOptions{}, ) if err != nil { log.Fatal(err) } log.Println("Created object") } ``` -------------------------------- ### General GET Request Example Source: https://docs.hetzner.com/de/cloud/api/getting-started/using-api This is a general template for making GET requests to the API to retrieve information about various resources. Ensure your API token is correctly formatted in the Authorization header. ```bash curl \ -H "Authorization: Bearer $API_TOKEN" \ 'https://api.hetzner.cloud/v1/{api-url-ending}' ``` -------------------------------- ### Create Test File and Directory Structure Source: https://docs.hetzner.com/de/storage/object-storage/howto-backups/duplicati This example shows the directory structure for a test file and a restored directory, used for backup testing. ```bash home/ ├── test-file.txt └── restored/ ``` -------------------------------- ### Install arcconf and Get Configuration (FreeBSD) Source: https://docs.hetzner.com/de/robot/dedicated-server/troubleshooting/serial-numbers-and-information-on-defective-hard-drives Installs the arcconf utility via ports and retrieves RAID controller configuration, including hard drive serial numbers, on FreeBSD. The number after 'getconfig' specifies the RAID controller. ```bash portsnap fetch update cd /usr/ports/sysutils/arcconf make install clean && rehash ``` ```bash /usr/local/sbin/arcconf getconfig 1 ``` -------------------------------- ### Create a Test File for Backup Source: https://docs.hetzner.com/de/storage/object-storage/howto-backups/restic Create a sample text file to use for testing the backup process. ```bash echo "Content of test file." > ~/test.txt ``` -------------------------------- ### Lifecycle-Regeln anzeigen (MinIO Client) Source: https://docs.hetzner.com/de/storage/object-storage/howto-protect-objects/manage-lifecycle Listen Sie die konfigurierten Lifecycle-Regeln für einen Bucket mit dem MinIO Client auf. ```bash mc ilm rule ls / ``` -------------------------------- ### Configure Ubuntu 24.04 (Noble Numbat) Mirror for x86 (sources.list format) Source: https://docs.hetzner.com/de/robot/dedicated-server/operating-systems/hetzner-package-mirror Use this traditional sources.list format to configure the Hetzner mirror for Ubuntu 24.04 on x86-based servers. ```bash # Packages and Updates from the Hetzner Ubuntu Mirror deb https://mirror.hetzner.com/ubuntu/packages noble main restricted universe multiverse deb https://mirror.hetzner.com/ubuntu/packages noble-updates main restricted universe multiverse deb https://mirror.hetzner.com/ubuntu/packages noble-backports main restricted universe multiverse deb https://mirror.hetzner.com/ubuntu/packages noble-security main restricted universe multiverse ``` -------------------------------- ### Copy Bareos Storage Configuration Example Source: https://docs.hetzner.com/de/storage/object-storage/howto-backups/bareos Copy the example storage configuration file to create a new configuration for your S3 storage. ```bash sudo cp -a /etc/bareos/bareos-dir.d/storage/dplcompat.conf.example /etc/bareos/bareos-dir.d/storage/HetznerBucket_BareosStorage.conf ``` -------------------------------- ### SOA Record Example Source: https://docs.hetzner.com/de/dns-console/dns/general/zone-file-example This snippet shows the SOA (Start of Authority) record, which defines primary name server details and administrative contact information. ```dns $TTL 86400 @ IN SOA hydrogen.ns.hetzner.com. dns.hetzner.com. 2020042701 86400 10800 3600000 3600 ``` -------------------------------- ### Initialize and Apply Terraform Configuration Source: https://docs.hetzner.com/de/storage/object-storage/getting-started/creating-a-bucket-minio-terraform Initialize your Terraform project and apply the configuration to create the MinIO bucket. Use `terraform destroy` to remove the bucket. ```bash terraform init terraform version ``` ```bash terraform apply ``` -------------------------------- ### Activate Let's Encrypt with Certbot Source: https://docs.hetzner.com/de/cloud/apps/list/nextcloud Run Certbot with the Apache plugin to obtain and install a free SSL certificate for your Nextcloud instance. This command guides you through the process. ```bash certbot --apache ``` -------------------------------- ### Partitioning Scheme Not Fully Utilizing 3TB Drive Source: https://docs.hetzner.com/de/robot/dedicated-server/raid/partitions-size-limit-on-big-hard-drives This example illustrates a partitioning setup that fails to utilize the full 3TB capacity due to the 2TB maximum partition size and how extended partitions can limit total space. ```shell PART swap swap 32G PART /boot ext3 512M PART / ext4 40G PART /home ext4 all ``` -------------------------------- ### List Available Software Packages Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software View a list of all available software packages that can be installed on your server. ```bash software list all ``` -------------------------------- ### Routed (brouter) Configuration - Host eth0 (CentOS) Source: https://docs.hetzner.com/de/robot/dedicated-server/network/net-config-cent-os Configure the host's primary network interface (eth0) for a routed virtualization setup. This configuration is typical for Hetzner standard installations. The default gateway is managed in 'route-eth0'. ```bash # /etc/sysconfig/network-scripts/ifcfg-eth0 (Hetzner Standardinstallation) DEVICE=eth0 ONBOOT=yes BOOTPROTO=none IPADDR= IPV6INIT=yes IPV6ADDR=2a01:4f8:XXX:YYYY::2/128 IPV6_DEFAULTGW=fe80::1 IPV6_DEFAULTDEV=eth0 NETMASK=255.255.255.255 SCOPE="peer " ``` -------------------------------- ### Magento Configuration File Example Source: https://docs.hetzner.com/de/konsoleh/account-management/managed-server-tutorials/magento Example of the `env.php` configuration file, showing how to set the backend frontName. Modify the `frontName` value to customize your admin panel URL. ```php [ 'frontName' => 'admin_d43s' ], ... ``` -------------------------------- ### Install NGINX Source: https://docs.hetzner.com/de/storage/object-storage/howto-configurations/domain-nginx Installs NGINX on a Debian-based system and verifies the installation. ```bash sudo apt update && sudo apt install nginx -y nginx -v ``` -------------------------------- ### Configure Ubuntu 24.04 (Noble Numbat) Mirror for arm64 (sources.list format) Source: https://docs.hetzner.com/de/robot/dedicated-server/operating-systems/hetzner-package-mirror Use this traditional sources.list format to configure the Hetzner mirror for Ubuntu 24.04 on arm64 servers. ```bash # Packages and Updates from the Hetzner Ubuntu Mirror deb https://mirror.hetzner.com/ubuntu-ports/packages noble main restricted universe multiverse deb https://mirror.hetzner.com/ubuntu-ports/packages noble-updates main restricted universe multiverse deb https://mirror.hetzner.com/ubuntu-ports/packages noble-backports main restricted universe multiverse deb https://mirror.hetzner.com/ubuntu-ports/packages noble-security main restricted universe multiverse ``` -------------------------------- ### Install wp-cli on Managed Server Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Install wp-cli on a managed server using the 'software install' command. ```bash software install wp-cli ``` -------------------------------- ### Start MongoDB Daemon (Minimal Configuration) Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Alternative command to start the MongoDB daemon with a specified database path and no Unix socket. Assumes default port. ```bash mongod --dbpath /usr/home//mongodb/data/db/ --nounixsocket ``` -------------------------------- ### Install LAMP Stack Server via Hetzner Cloud API Source: https://docs.hetzner.com/de/cloud/apps/list/lamp-stack Use this curl command to create a new server with the LAMP app pre-installed. Replace $API_TOKEN with your actual API token. ```bash curl \ -X POST \ -H "Authorization: Bearer $API_TOKEN" \ -H "Content-Type: application/json" \ -d '{"name":"my-server", "server_type":"cpx32", "image":"lamp"}' \ 'https://api.hetzner.cloud/v1/servers' ``` -------------------------------- ### Install Magento with Custom Options Source: https://docs.hetzner.com/de/konsoleh/account-management/managed-server-tutorials/magento Execute the Magento installation command with customized options for database, admin user, language, currency, timezone, search engine, and module disabling. ```bash php bin/magento setup:install \ --base-url='http://magento.example.com/' \ --db-host='dedixxx.your-server.de' \ --db-name='magento2' \ --db-user='magentuser' \ --db-password='' \ --admin-firstname='FNAME' \ --admin-lastname='LNAME' \ --admin-email='mail@example.com' \ --admin-user='admin' \ --admin-password='' \ --language=de_DE \ --currency=EUR \ --timezone=Europe/Berlin \ --use-rewrites=1 \ --search-engine=opensearch \ --opensearch-host=localhost \ --opensearch-port=9200 \ --opensearch-index-prefix=magento2 \ --opensearch-timeout=15 \ --disable-modules=Magento_TwoFactorAuth,Magento_AdminAdobeImsTwoFactorAuth ``` -------------------------------- ### Install Elasticsearch on Managed Server Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Use the 'software install' command to install Elasticsearch on a managed server. ```bash software install elasticsearch ``` -------------------------------- ### App Deployment URL Source: https://docs.hetzner.com/de/cloud/apps/overview Construct the server creation URL by appending the app name to the base Hetzner Console deploy path. Ensure the app name is in lowercase. ```text https://console.hetzner.com/deploy/ ``` -------------------------------- ### Install FFmpeg on Webhosting with SSH Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Install FFmpeg on web hosting with SSH support by downloading the static binary, extracting it, and moving it to a desired location. ```bash wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz tar xJf ffmpeg-release-amd64-static.tar.xz mv $(ls | grep ffmpeg-[1-9]*) ffmpeg ``` -------------------------------- ### Install Composer on Managed Server Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Use the 'software install' command to install Composer on a managed server environment. ```bash software install composer ``` -------------------------------- ### Install SabreDAV using Composer Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Use Composer to install the SabreDAV library for WebDAV functionality. Ensure Composer is installed first. ```bash composer require sabre/dav ``` -------------------------------- ### Configure PEAR Installation Paths Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software During PEAR installation, specify temporary directories for processing and downloads. Replace LOGIN with your FTP login. ```bash 2. Temporary directory for processing : /usr/home/LOGIN/.tmp 3. Temporary directory for downloads : /usr/home/LOGIN/.tmp ``` -------------------------------- ### Install OpenSSH Clients on CentOS/RHEL Source: https://docs.hetzner.com/de/robot/dedicated-server/security/ssh Use this command to install the OpenSSH clients package on CentOS or RHEL systems if it's not already installed. ```bash yum install openssh-clients ``` -------------------------------- ### Install OpenSSH Client on Debian/Ubuntu Source: https://docs.hetzner.com/de/robot/dedicated-server/security/ssh Use this command to install the OpenSSH client package on Debian or Ubuntu systems if it's not already installed. ```bash apt install openssh-client ``` -------------------------------- ### Create Bucket and Copy File with MinIO Client Source: https://docs.hetzner.com/de/storage/object-storage/getting-started/using-s3-api-tools Create a new bucket in a specified region and copy a local file to it using `mc mb` and `mc cp` commands. ```bash mc mb / --region pc cp example-file.txt // ``` -------------------------------- ### Boot Options for Debian Installer Source: https://docs.hetzner.com/de/cloud/servers/iso-installation-gateway Modify boot options for the Debian installer by editing the GRUB menu. This ensures correct display and installation parameters. ```bash /install.amd/vmlinuz vga=normal fb=false initrd=/install.amd/gtk/initrd.gz --- quiet ``` -------------------------------- ### Reboot into Installed System Source: https://docs.hetzner.com/de/robot/dedicated-server/operating-systems/installimage After installation, reboot the rescue system to boot into the newly installed operating system. You can log in with the same root password used in the rescue environment. ```bash root@rescue ~ # reboot ``` -------------------------------- ### Install PEAR Package Manager Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Download and execute the go-pear.phar script to install the PEAR package manager. You will be prompted to configure temporary directories. ```bash wget https://pear.php.net/go-pear.phar php go-pear.phar ``` -------------------------------- ### Execute Commands with Cloud-Init Source: https://docs.hetzner.com/de/cloud/servers/faq Use this script with Cloud-Init to execute commands on server boot, such as creating files. Ensure you are using Hetzner's system images for Cloud-Init compatibility. ```bash #!/bin/bash touch /tmp/cloudinit_was_here ``` -------------------------------- ### Install hc-utils on Fedora 37+ Source: https://docs.hetzner.com/de/networking/networks/server-configuration Installs the hc-utils package for automatic network configuration on Fedora 37 and newer. The installation is done directly via dnf. ```bash dnf install https://packages.hetzner.com/hcloud/rpm/hc-utils-0.0.4-1.fc37.noarch.rpm ``` -------------------------------- ### Install hc-utils on CentOS 7 Source: https://docs.hetzner.com/de/networking/networks/server-configuration Installs the hc-utils package for automatic network configuration on CentOS 7. Download the .rpm package and install it using yum. ```bash curl https://packages.hetzner.com/hcloud/rpm/hc-utils-0.0.3-1.el7.noarch.rpm -o /tmp/hc-utils-0.0.3-1.el7.noarch.rpm -s yum install /tmp/hc-utils-0.0.3-1.el7.noarch.rpm ``` -------------------------------- ### Get Resilio Sync / BTSync Help Source: https://docs.hetzner.com/de/konsoleh/server-management/faq/installation-of-common-software Display help information for all available Resilio Sync (BTSync) commands and options. ```bash rslsync --help ``` -------------------------------- ### Install hc-utils on Debian/Ubuntu (24.04) Source: https://docs.hetzner.com/de/networking/networks/server-configuration Installs the hc-utils package for automatic network configuration on Ubuntu 24.04. Download the .deb package and install it using apt. ```bash curl https://packages.hetzner.com/hcloud/deb/hc-utils_0.0.6-1_all.deb -o /tmp/hc-utils_0.0.6-1_all.deb -s apt install /tmp/hc-utils_0.0.6-1_all.deb ``` -------------------------------- ### Client Initiating HTTP Connection Example Source: https://docs.hetzner.com/de/robot/dedicated-server/firewall This example shows the packet details when a client initiates an HTTP connection to a server. This packet can pass the firewall due to the 'allow all incoming' rule. ```firewall Quell-IP: 4.3.2.1 Ziel-IP: 1.2.3.4 Quell-Port: 44563 (zufälliger Port aus der Ephemeral Port Range) Ziel-Port: 80 Protokol: tcp TCP-Flags: syn ```