- It's a very simple and quite basic script to install apps you need to start a web server on Ubuntu or Debian (web server, MySQL server, basic editing apps, basic security apps, etc.)
- This script will perform a few checks (root, OS).
- It will work for Ubuntu (16.04 +) & Debian (8 +). Il will NOT work for other OS.
- It will install a few widely used web server apps and configure the system (hosts, hostname, system user with sudo settings, ...)
This script will:
- Install basic apps (vim, mc, screen, htop, git, curl, ntp, ntpdate, sudo, dnsutils)
- Install web apps (Nginx, php-fpm, Mariadb, openssl, memcached)
- Install basic security apps (ufw firewall, fail2ban)
- Install Letsencrypt certbot
- Add and configure a system user (+ sudo settings)
- Configure /etc/hosts
- Configure /etc/hostname
- Reboot
Answer YES or NO to each question.
- You need FIRST to reconfigure DASH:
dpkg-reconfigure dash
and answer NO - Download the script from Github:
wget https://raw.githubusercontent.com/citizenz7/QAS/master/install.sh
- Make the script executable:
chmod +x install.sh
- Run the file as root:
sh install.sh
- Install more apps...
- Install app one by one (separatly)...
- Create a specific apps installation process based on the OS (Ubuntu based install + Debian based install)...
- Create a specific apps installation process based on the OS version (codename)...
- Run mysql_secure_installation (for root password and security)
- Install PHPMyAdmin + PHPMyAdmin MySQL root access