Auto Installer does not work..

Discussion in 'Installation/Configuration' started by Loveless, Nov 10, 2022.

  1. Loveless

    Loveless Member

    As per instructions, I followed this tutorial to the dot;
    https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/
    FYI, this happens with a clean unconfigured debian 11 installed VPS at Contabo;
    Code:
    root@deb11:~# wget -O - https://get.ispconfig.org | sh -s -- --help
    --2022-11-10 14:04:57--  https://get.ispconfig.org/
    Resolving get.ispconfig.org (get.ispconfig.org)... 104.26.10.246, 172.67.75.112, 104.26.11.246, ...
    Connecting to get.ispconfig.org (get.ispconfig.org)|104.26.10.246|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 2003 (2.0K) [application/octet-stream]
    Saving to: ‘STDOUT’
    
    -                                                               100%[====================================================================================================================================================>]   1.96K  --.-KB/s    in 0s
    
    2022-11-10 14:04:58 (74.9 MB/s) - written to stdout [2003/2003]
    
    
    
    *************************************************************************************************************************************************************************************************************************************************************ISPConfig 3 Autoinstaller
    *************************************************************************************************************************************************************************************************************************************************************
    
    Usage: ispc3-ai.sh [<argument>] [...]
    
    This script automatically installs all needed packages for an ISPConfig 3 setup using the guidelines from the "Perfect Server Setup" howtos on www.howtoforge.com.
    
    Possible arguments are:
        --help          Show this help page
        --debug         Enable verbose logging (logs each command with the exit code)
        --channel       Choose the channel to use for ISPConfig. --channel=<stable|dev>
                        "stable" is the latest ISPConfig release available on www.ispconfig.org
                        "dev" is the latest dev-branch from the ISPConfig git repository: https://git.ispconfig.org/ispconfig/ispconfig3/tree/develop
                        -> The dev channel might contain bugs and less-tested features and should only be used in production by very experienced users.
        --lang          Use language for ISPConfig installation. Specify with --lang=en|de (only en (English) and de (German) supported currently).
        --interactive   Don't install ISPConfig in non-interactive mode. This is needed if you want to use expert mode, e. g. to install a slave server that shall be integrated into an existing multiserver setup.
        --use-nginx     Use nginx webserver instead of apache2
        --use-amavis    Use amavis instead of rspamd for mail filtering
        --use-unbound   Use unbound instead of bind9 for local resolving. Only allowed if --no-dns is set.
        --use-php       Use specific PHP versions, comma separated, instead of installing multiple PHP, e.g. --use-php=7.4,8.0 (5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0 and 8.1 available).
                        --use-php=system disables the sury repository and just installs the system's default PHP version.
                        ommiting the argument (use all versions)
        --use-ftp-ports This option sets the passive port range for pure-ftpd. You have to specify the port range separated by hyphen, e. g. --use-ftp-ports=40110-40210.
                        If not provided the passive port range will not be configured.
        --use-certbot   Use Certbot instead of acme.sh for issuing Let's Encrypt certificates. Not adviced unless you are migrating from a old server that uses Certbot.
        --no-web        Do not use ISPConfig on this server to manage webserver setting and don't install nginx/apache or pureftpd. This will also prevent installing an ISPConfig UI and implies --no-roundcube as well as --no-pma
        --no-mail       Do not use ISPConfig on this server to manage mailserver settings. This will install postfix for sending system mails, but not dovecot and not configure any settings for ISPConfig mail. It implies --no-mailman.
        --no-dns        Do not use ISPConfig on this server to manage DNS entries. Bind will be installed for local DNS caching / resolving only.
        --no-local-dns  Do not install local DNS caching / resolving via bind.
        --no-firewall   Do not install ufw and tell ISPConfig to not manage firewall settings on this server.
        --no-roundcube  Do not install roundcube webmail.
        --roundcube     Install Roundcube even when --no-mail is used. Manual configuration of Roundcube config is needed.
        --no-pma        Do not install PHPMyAdmin on this server.
        --no-mailman    Do not install Mailman mailing list manager.
        --no-quota      Disable file system quota
        --no-ntp        Disable NTP setup
        --unattended-upgrades
                        Install UnattendedUpgrades. You can add extra arguments for automatic cleanup and automatic reboots when necessary with --unattended-upgrades=autoclean,reboot (or only one of them).
        --i-know-what-i-am-doing
                        Prevent the autoinstaller to ask for confirmation before continuing to reconfigure the server.
    
    root@deb11:~# ispc3-ai.sh --use-nginx --no-firewall --no-roundcube --no-quota --no-dns --no-mailman
    -bash: ispc3-ai.sh: command not found
    root@deb11:~#
    I've tried
    root@deb11:~# find / -name "ispc3-ai.sh"
    but it is nowhere on this server. Please, tell me what to do here..
     
  2. Loveless

    Loveless Member

    OK, never mind. I needed to run
    # wget -O - https://get.ispconfig.org | sh -s -- [arguments]
    instead of
    # ispc3-ai.sh [arguments]
    (what it tells you in the shell..)
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Your output shows the exact opposite. You ran commands, not as shown in the guide, which could not work and do not work. So here the command from the guide to install ISPConfig, which you did not run:

    Code:
    wget -O - https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades
    or to use your intended command-line options, the command would be:

    Code:
    wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --no-firewall --no-roundcube --no-quota --no-dns --no-mailman
     
    ahrasis likes this.
  4. Loveless

    Loveless Member

    Why on earth then do you put
    "Usage: ispc3-ai.sh [<argument>] [...]"
    in the shell? I mean, I can assure you that many who are installing it this way will see that and assume THAT is what needs to be done next, or first, even before continuing what is mentioned in that webpage. This is what they call "looking for trouble".
     
  5. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Normally you can find the AI script in the /temp folder and run the script from there. I normally use locate to find file / folder and I run updatedb first before trying to locate it.
     
    Last edited: Nov 15, 2022
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Because that's the command (program name) of the auto-installer script and its command line options. You can see it yourself here in the code repository: https://git.ispconfig.org/ispconfig/ispconfig-autoinstaller

    curl or wget are just commands to download the auto-installer and piping it to a shell to execute it on the fly without the need to store it on your system first. This is done for convenience only. Please do not blame us when you do not read and follow the guide on how to use the program.

    Not really, others just follow the guide and use the commands in the guide and it works flawlessly for them, or they understand what they are doing and how to modify things if they want to.
     

Share This Page