Non Interactive Bash Debian Stretch Linux Lamp Installer, easily spelled NIBDSLLI.
-
Install Debian Stretch.
- if building a server consider using Debian netinstall
- in tasksel let only "Standard system utilities" selected.
-
Become root, copy/download/get/clone this scripts in your computer execute install.sh as root.
Some operation may take a while, be patient.
- a file, InfoCurrentInstall.txt, in the same directory of the script with passwords, logins, bla bla
- very basic configuration for security and very basic configuration for common tasks (have a look in DebianLampConf.sh)
- ssh (only new protocols enabled). Fail2Ban (extended bantime), Apache ( production mode ), MariaDb (already with mysql_secure_installation), Php (extended memory upload options), PhpMyAdmin, Git, curl and dependencies
- headers and rewrite enabled
- php.ini date.timezone option on Europe Rome: please configure your position Php Timezones
Fail2Ban has many issues in Debian Stretch, please check manually the installation using: service fail2ban status
Please have a look at the code: it is commented and, more or less, self explaining.
End