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…
Linux cheat sheet
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…
1. Put on your computer correct DNS servers and (order does not matter) 2. Put on a computer WINS 10.14.0.243 and 240. (order does not…
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…
A trunk is a single physical connection that can carry multiple VLANs. Each frame that crosses the trunk has a VLAN identifier attached to it,…
Action Scripts There might be some situations when you need to perform additional actions when a container is started/stopped. You need OpenVZ action scripts to…
CentOS HDD S.M.A.R.T. shell script Create path exactly this path /var/prtg/scripts Install smartmontools yum install smartmontools Start the service service smartd start chkconfig smartd on…