Installing Samba As with many of these tutorials, the examples provided will start with an install, firstly adding the software that the service needs. At…
Linux cheat sheet
Installing Samba As with many of these tutorials, the examples provided will start with an install, firstly adding the software that the service needs. At…
Prerequisites To recover your root MySQL/MariaDB password, you will need: Access to the Linux server running MySQL or MariaDB with a sudo user. Step 1…
Let’s assume that you already installed fail2ban, you can check here how to do that: – https://ep.gnt.md/index.php/how-to-setup-fail2ban-on-centos/ We need to copy this to a file called jail.local for…
You have 2 CentOS machines. 1st is some important server with data and running services, 2nd is CLEAR CentOS. To make clone process more efficient and…
If you get curl error “(60) peer’s certificate issuer is not recognized” while trying to curl something from another server, it means that your server does…
If you getting Nextcloud integrity check fail or internal server error try the solution below. This error usually appears after version upgrade. sudo -u www-data php…
Introduction to Fail2Ban By default, a client connects to SSH using port 22. Because this is a well-known port, the default configuration is vulnerable to…
Before we start we’ll make sure that we have the latest packages from the apt repository available to us, we’ll run this command… sudo apt-get…
I made a simple working script to backup all the containers at once and send it on Linux backup server via RSYNC, here’s how to…
Create script file touch /root/mysql-backup/mysqldump.sh Insert this code #!/bin/bash mysqldump -u root -ppassword dbname | bzip2 -c > dbname$(date +%Y-%m-%d-%H.%M.%S).sql.bz2 Make it executable chmod +x mysqldump.sh Run…