No Description

Bachir Soussi Chiadmi a96979f219 added ipv6 support to vhosts 1 month ago
assets a96979f219 added ipv6 support to vhosts 1 month ago
bin ea3a702235 added mysql db creation script 2 months ago 8c44da8785 fixed lemp php7.3 install 1 year ago 9225ca2f4b reverted for bash shell 1 year ago

Install LEMP web server and secure it on debian 10

Fail2ban, Ufw, Proftpd, Knockd, Nginx, Mariadb, php7.0-fpm, redis, vhosts, git barre repos, zabbix-agent, dotfiles and more

how to use it

on a fresh install

All commands below are run as root user. Either log in as root user directly or log in as your normal user and then use the command su - to become root user on your server before you proceed. IMPORTANT: You must use su - and not just su, otherwise your PATH variable is set wrong by Debian.

1 install git

apt-get install git

2 clone the repo

git clone

3 change defaut shell from dash to bash

dpkg-reconfigure dash

and answer NO to the the question

4 run the script as root

cd debian-web-server
chmod a+x