Linux

Fail2ban Disable Stop and Start Emails

Are you fed up with those annoying e-mails that are sent every time the ‘fail2ban’ service is stopped, started or restarted? You have spent many hours surfing the web looking for a fix that really works, without the need to modify any of the ‘fail2ban’ default configuration files and have still not found one?...

Automatically Block Bad Bots

Running Linux/UNIX servers for several sites I was fed up with seeing the numerous 403 and 404 errors being reported daily in Apache’s access log files which had been growing in number over the past several years. So, I decided to make a stance and to start sticking two fingers up to constant Brute...

DDclient for your Website at Home

So, you want to build your own Linux web server so that you can have 100% complete control over your own site? But, there is a problem, your ISP can only provide you with a Dynamic Host Configuration Protocol (DHCP) IP address and not a Static IP address unless you upgrade to a business...

Install AWStats on SuSE Leap 15

AWStats is a log analyzer which creates advanced web, ftp, mail and streaming server statistics reports based on data contained in your server logs. This data is graphically presented in your browser. I used to use AWStats on my Apache based servers years ago, and even today it is not part of the SuSE...

Redirect Mail and Create Aliases

  By far the simplest way to redirect mail for existing users and also for users that don’t exist is by adding an entry in the /etc/aliases file. If you are competent with using the visual editor (vi) command, then head on over to the /etc directory and insert your alias at the bottom of...

List files with appended indicators

During my infant years working on UNIX systems, I regularly required a column  listing output of files and directories. I have always been a ‘lazy typist’, so instead of attempting to remember various arguments for the ‘ls’ command I found it easier to create a command called ‘lf’ (list files) Typing ‘ls -CF’ produces...

Firewall – IP Blocking

Running your own or wish to run your own Linux/UNIX server? If so, you will definitely need to learn about firewalls. Block and Unblock an IPv4 IP Address using firewalld You can block any visitor’s IP address with the firewalld firewall program, with the firewalld program being managed by the firewall-cmd command. See the...

Firewall – Country Blocking

A firewall solution to totally block chosen countries from attacking and spamming your website. Below you will find a procedure to block a country or countries from accessing your Linux server at the firewall level without any OS kernel calls or the installation of any additional applications. Here we are going to protect our...

Apache – You don’t have permissions

Apache – You don’t have permission to access the requested directory. If you get this error after creating a new virtual site on Apache2: "You don't have permission to access the requested directory" This is probably because a Deny from all or the 
Tonesworld