-
I have a friend of mine, a small business owner, who manages his own linux server. Its a simple web server using plain jane html … and he loves to manage the server himself. Except, when he gets locked out because his home ip is dynamic and he is using lfd/csf as a security layer. […]
-
So I recently bought a Western Digital PR4100 NAS drive to backup my Linux Desktop and Laptop after losing 2 external usb drives in about 2 years. I had always used rsnapshot to back them up. While poking around the WD NAS via ssh, I realized it has a binary for rsnapshot installed on it […]
-
I had a server with plenty of disk space, like gigs of space but was out of inodes. This is a seldom ever used server and it didn’t make any sense to me. It was used for pentesting and had a minimal install of some vulnerable apps running under nginx. Anywho, this is the command […]
-
… lets assume you need to edit an existing vpn connection or maybe you imported a new ovpn file and need to edit it, but you can’t because its 2020 and everything else is going wrong so what the h#Wl. This is how to fix it ….
-
I write this script originally in 2014, updated it in 2015, forgot about it and needed it recently again … so its updated current to 2020. A few things about this script … I don’t recommend you just “block tor exit nodes” unless you have a good reason. Why have I used this script in […]
-
First lets define what a get-home bag is … it is the gear you need to get you home in case of an emergency (but mine is designed, outside of food and personal documents, to last me forever away from home in the event I couldn’t return to home for some reason. It is also […]
-
If you have worked with mysql/mariadb/galera …. sooner or later you are going to have to do a restore. Or if you are setting up a new master – slave, the size of the database can greatly affect how long it takes. mysdqldump at one time was all that was available and for it for […]
-
We have all lost a hard drive at one time or another on a laptop or desktop computer and it always seems like it happens right after several weeks of not performing backups. Last year, I lost about 15 years of research on an external drive that failed. I had this system that has worked […]
-
This is another way to quickly analyze nginx logs. It will spit out the top 25 ip’s, domains, requests and some other data. You may need to change the array value to match the format of your nginx logs. It uses perl so it is very fast and takes just seconds to analyze hundreds of […]