Script (autoinstall.sh)

bash <(curl -s -4 https://hfile.link/scripts/cpanel/autoinstall.sh)

What this does:

  1. curl -s: Downloads your script silently (without progress bar).

  2. -4: Forces IPv4 (good practice for cPanel servers to ensure connectivity).

  3. bash <(...): Executes the downloaded content immediately in bash without saving a file to the disk.

#

Here is a summary of what the script does, step-by-step:

  • Hostname Configuration: Prompts you to enter a hostname. If you simply press "Enter", it defaults to node010.hservs.com.

  • Timezone Setup: Sets the server's system time specifically to Australia/Sydney.

  • cPanel Installation: Downloads and executes the official cPanel & WHM installer (this is the longest step).

  • IonCube Activation: Uses the WHM API to automatically enable the IonCube Loader (required for many encrypted PHP scripts).

  • Extension Installations: Automatically installs three specific cPanel plugins:

    • SMTP2GO: For reliable email delivery.

    • Softaculous: The auto-installer for apps like WordPress.

    • WP Toolkit: cPanel's tool for managing WordPress instances.

  • Interactive Pauses: Between every major step, the script pauses for 10 seconds, giving you a chance to read the output or cancel if something looks wrong. You can press any key to skip the wait.

Hjalp dette svar dig? 0 Kunder som kunne bruge dette svar (0 Stem)