Prevent GIT folder access in Nginx
To prevent any data leaks I have adjusted the Nginx configuration so that by default it will not serve files inside the .git folders. Steps
Home » Blog
To prevent any data leaks I have adjusted the Nginx configuration so that by default it will not serve files inside the .git folders. Steps
Running specific commands from the Linux shell makes routine maintenance so much easier! In the following article I share shell commands that I use often.
Assume you we have a physicial volume called vg0 and we want to add an additional LVM volume that consists of the total available space.
Do you want to get rid of the default Windows Apps like I do? Then follow these steps: Click the start button in bottom left
Nothing is more annoying than when you open Midnight Commander (mc), browse through a couple of directories and exit mc that the shell does not
Remove authorized keys rm -f /root/.ssh/authorized_keys Generate new RSA key ssh-keygen -t rsa -b 4096 Remove existing host keys rm -rfv /etc/ssh/*key* Automatically regenerate host
After I updated Debian Stretch (9) to Debian Buster (10) I noticed that the locales without ending UTF8 extension we’re no longer provided. Instead of
To do a safe update run: aptitude update aptitude safe-upgrade To upgrade from one release to another run: aptitude update aptitude full-upgrade
To stop and disable the Amavis service run the following command: systemctl stop ‘amavisd.service’; systemctl disable ‘amavisd.service’;
To stop the service run: systemctl stop ‘clamd@amavisd’ To disable the service run: systemctl disable ‘clamd@amavisd’ To stop and disable the Clamd service run the