Tag Archives: Home Linux Server

Security enhancing your Ubuntu LAMP with Apparmor

sudo aa-genprof apache2 When you see the following message Would you like to enable access to the profile repository? (E)nable Repository / (D)isable Repository / Ask Me (L)ater Select E for enable. You’ll see the following message Writing updated profile … Continue reading

Posted in Computing Tips, Linux, Personal | Tagged , , | Leave a comment

Installing free2ban on Ubuntu

First thing to do is install it from the repository, I’m making the assumption that you are already connected to the internet. sudo apt-get install fail2ban The default configuration is configured in the file /etc/fail2ban/jail.conf it’s suggested at the top … Continue reading

Posted in Computing Tips, Linux | Tagged , | Leave a comment

Installing and setting up ntpd under Ubuntu

Install NTP on your home server sudo apt-get install ntp Bare in mind that I’m in the UK so I’m obviously I’m going to choose NTP servers that are geographically close to me. After reading a fair bit about configuring … Continue reading

Posted in Computing Tips, Linux | Tagged , | Leave a comment

How to change permissions on many folder with bash

I was trawling the web today and found this quick and painless bash script to change all the default folder premission back to default. find . -type d -exec chmod 755 ‘{}’ \; You could of course adapt this script … Continue reading

Posted in Computing Tips, Linux, Personal | Tagged | Leave a comment

Setting up Samba on Ubuntu LTS 8.04 Hardy Heron

Installing Samba The first thing to do if you havn’t done so already, is install samba and the associate tools. To install samba on Ubuntu Hardy Heron (I’m assuming of course that your linux box is connected to the internet). … Continue reading

Posted in Computing Tips, Linux, Personal | Tagged , | Leave a comment