Install WordPress and LAMP by automated script on a Debian 10 VM


This is a first draft but has been tested, script will create an user, update your system, Install LAMP, set up the firewall, create a MySQL database, will download and configure the latest WordPress version and create Apache virtual host for you automatically. All you need to do are the following :

Read more...

Set up a Mail server postfix/dovecot/roundcubemail Linux/Debian

Create a new user:

adduser user
usermod -aG sudo user
Read more...

MySQL Useful Command

mysql -u root -p 
select host, user, password from mysql.user;
Read more...

How to secure your server (Debian/Linux) and WordPress

Basic steps to secure your server from DDOS and BruteForce attacks.

Creating strong passwords i would recommend using a browser extensions as password generator.

-Configuring Auto-Update:

Read more...

Introduction Bash Scripting for Linux System Administrator

Variables

   site="davide"
   echo $name
   echo ${name}
Read more...