Tagged: Linux
Customize Debian Linux grub2
I wanted to remove the splash image while booting Debian 7 Wheezy and watch the code execute, while also use the full screen resolution.
FIND Command Usage Notes for Webmasters
File manipulation using FIND These examples are Ubuntu 12.04 and Apache2 FIND find a file by name # sudo find ~/ -name ‘banner3.jpg’ 2>/dev/null find and copy # combined to make a script to double filter sudo find /media/backup01/* -name ‘*.txt’ -exec cp {} ~/dump \; + increases speed sudo find . -name ‘*.py’ -exec grep –color ‘xrange’ {} +...
Unix-Linux Does Not Require Disk Defrag
I’m a convert to Linux in the last several years. I don’t remember when it happened exactly, but I vividly remember the first time I (tried to) used Microsoft Office 2007, I was sure I was on the right path. Recently some friends have asked me why they should make the migration to Linux. I can list many reasons, but...
Setup Fail2ban for Debian and Ubuntu
My Notes Only taken from various sources. There are other much more complete guides for Fail2ban available. Install Fail2ban sudo apt-get install fail2ban filter definitions located in /etc/fail2ban/filter.d action definitions located in /etc/fail2ban/action.d The following is a minimal setup. Configure Fail2ban sudo vi /etc/fail2ban/jail.conf Configuration for jail.conf destemail = you@example.com # Email of where alerts should be sent to ignoreip...