Debian (or more correctly bash – and so every linux/unix that uses it has it) keeps a cache of commands that can throw off your day if you dont know about them.Read More…
CheckInstall – Compile Source into Program and let DPKG Debian Packages know about it
https://wiki.debian.org/CheckInstall Quick Answer before long article: checkinstall tl;dr (I love tl;drs) Usually when you install software with debian/ubuntu with apt-get install or aptitude install you get the program installed throughout several places. The debianRead More…
APT-GET ALIASES (ALIAS and UNALIAS) FOR THE WIN – DEBIANS SYSTEMD JOURNALCTL ALIAS
NOTE: aliases for apt-get are at the top, aliases for systemd’s journalctl (debian version) are at the bottom Aliases if you dont know make life easier on linux by doing direct substitionRead More…
IPTABLES – better version for webserver like wordpress
Thanks to: http://bencane.com/2012/09/17/iptables-linux-firewall-rules-for-a-basic-web-server/ http://www.linux.org/threads/base-iptables-rules-that-will-apply-to-virtually-any-web-server.10/ (used this script with modifications) NOTES: Here is a simple script that allows all outbound connections and the inbound connections coming back from those outbound connections (conntrack). AlsoRead More…
DEBIAN – Fix timezone – and see when Daylight Saving Time is ON and OFF
To fix timezone on latest version of debian: # dpkg-reconfigure tzdata That will bring up a menu to fix your timezone, I picked America, Pacific (not Pacific-New, no clue what that is,Read More…
BTRFS – btrfsck, and checking latest version
USE METHODS AT YOUR OWN RISK, IF YOU DECIDE TO USE THIS ARTICLE, HEED ALL OF THE SAFETY MEASURE (IF I MISSED A SAFETY MEASURE, DONT BLAME ME, I SAID USE ATRead More…
BTRFS – transid issue explained and fix
USE METHODS AT YOUR OWN RISK, IF YOU DECIDE TO USE THIS ARTICLE, HEED ALL OF THE SAFETY MEASURE (IF I MISSED A SAFETY MEASURE, DONT BLAME ME, I SAID USE ATRead More…
BTRFS – restore a corrupt filesystem – btrfs recovery mounts & btrfs restore
USE METHODS AT YOUR OWN RISK, IF YOU DECIDE TO USE THIS ARTICLE, HEED ALL OF THE SAFETY MEASURE (IF I MISSED A SAFETY MEASURE, DONT BLAME ME, I SAID USE ATRead More…
HOW TO COPY PUBLIC KEY TO SSH SERVER THATS NOT LISTENING ON PORT 22 – ssh-copy-id only works on port 22 – ssh-copy-id at bottom
HOW TO COPY PUBLIC KEY TO SSH SERVER THATS NOT LISTENING ON PORT 22 – ssh-copy-id only works on port 22 ######################################################################################################## This is needed for passwordless authentication with ssh. Instead ofRead More…
FROM 404 PAGES TO SEARCH PAGES – MAKING A 404 SEARCH PAGE INSTEAD OF A PAGE NOT FOUND
How to repurpose 404 pages from displaying “page not found” to instead searching for page. So that instead it will do a search through your website’s php URI search feature. Thank you to MarkRead More…