Skip to content
Gary Cornell edited this page Aug 9, 2020 · 21 revisions

What is ASAS?

ASAS [Auto Server Admin Script] is a compilation of bash scripts I have used for nearly 2 decades to administer my Debian based boxes. I prefer Ubuntu but have used Debian from time to time and decided to make this script available for Debian users as well. Its very easy to use, requires minimal knowledge as everything is pretty much done for you so the script is good for seasoned sysadmins as well as novices. I also ported it all to the whiptail GUI (Actually the hardest part) for a very simple to use user interface.

There are many of these type scripts out there but from what I can find this is the only one that does the following:

  • Installs application w/ dependencies if applicable
  • Completely configures application with latest optimal settings
  • Configures application with the latest security enhancements
  • Creates all application directories and files where applicable
  • Sets proper permissions (chown/chmod) on all files and directories
  • Is 99.9% whiptailed, only the whiptail check is using standard CLI (Whiptail should be installed by default on all tested/compatible systems anyway so I may remove this check in future)
  • Keeps logs for most important operations for easy debugging
  • Cleans up after itself leaving system uncluttered

The script is so complete that you can add a new user/domain (using script) and go directly to the site and start developing/building with no additional configuring needed. I made sure everything is covered for immediate access to the your web whether its in production or a development server. There may others out there but I haven't found another script that makes this claim and accomplishes this. Anyone can bash script apt install Nginx but all the other stuff is what is meaningful and most important.

Main Menu

  • Nginx Installer (Stable/Mainline/Compiled)

    • Nginx Latest Mainline (Recommended)
    • Nginx Latest Stable
    • Build Nginx source with OpenSSL (Advanced)
    • Configure Nginx Settings (Advanced)
    • View Debug Log
    • View Error Log
    • View Nginx Server Log
    • Remove Nginx (Preserves Configurations)
    • Purge Nginx (Wipe Clean)
    • Clean Source Build (Archives Configurations)
    • Generate 2048bit Diffie-Hellman (Required for SSL/TLS)
    • Generate 4096bit Diffie-Hellman (Required for SSL/TLS) Added (11/28/18)
    • TLS v1.3 Support Added (03/07/19)
  • PHP Installer (PHP7+)

    • PHP 7.4 (Recommended default)
    • PHP 7.3
    • PHP 7.2
    • ~~PHP 7.0/7.1 ~~ (Dropped 02/20/2020)
    • Configure PHP Settings
    • Backup Config (php.ini)
    • Remove PHP (Preserves Configurations)
    • Purge PHP (Wipe Clean)
  • MySQL Installer (Percona-MariaDB-Oracle)

    • Percona MySQL Server 8x (Recommended)
    • MariaDB MySQL Server 10x
    • Oracle MySQL Server 8x
    • Optimize and Secure my.cnf (Recommended)
    • Remove MySQL (Preserves Configurations)
    • Purge MySQL (Wipe Clean)
  • Bind9 DNS Installer (Configure-Secure)

    • Install Bind9
    • Configure Named Conf
    • Configure Named Local
    • Configure Named Options
    • Configure Domain Zones
    • Configure DNSSEC
    • Backup Config ()
    • Remove Bind9 (Preserves Configurations)
    • Purge Bind9 (Wipe Clean)
  • vsFTPd Installer (Configure-Secure)

    • Install vsFTPd
    • Configure vsFTPd Settings
    • Backup Config (vsftpd.conf)
    • Remove vsFTPd (Preserves Configurations)
    • Purge vsFTPd (Wipe Clean)
  • Mail Server Installer (Postfix-Dovecot)

    • Install and Configure Postfix
    • Install and Configure Dovecot w/Dovecot Sieve
    • Install and Configure Postgrey
    • Install and Configure Spamassassin
    • Install and Configure Amavisd-new
    • Install and Configure Opendkim
    • Install and Configure Pyzor
    • Install and Configure Razor
    • Install and Configure DCC
    • Install and Configure Clamav
    • Install and Configure PostfixAdmin
    • Remove Mail Server (Preserves Configurations)
    • Purge Mail Server (Wipe Clean)
  • Web User & Domain Setup

    • Create New User/Domain
    • Remove User/Domain
    • More to Come
  • Security Tools

    • System Scan
    • Secure and optimize Kernel
    • Install and Configure rkhunter
    • Install and Configure fail2ban
    • More to Come
  • System Tools

    • Backups
    • More to Come

Clone this wiki locally