PHP Browser Redirection

Whilst the .htaccess file may be used to provide temporary and permanent redirects to manage pages which have been deleted or moved, PHP also provides redirect methods. Using PHP to redirect the browser may be a better option compared to htaccess if the server prevents the file from being overwritten, or indeed if its inaccessible. […]

Read More… from PHP Browser Redirection

Backing up with Rsync

rsync can be used to syncronise files and directories between two locations on the same device or across different devices. It’s a great way to backup the content of your computer with a Linux server. Synchronising Files Typical command format to retrieve files rsync -avz neil@192.168.0.55:/home/neil/home/backup somewhere Where the parameters are: Add a slash on […]

Read More… from Backing up with Rsync

List all Hard Drives

Messages about a failing hard drive meant that I wanted to list all the installed drives so that I could determine which needed to be replaced. Browsing the Internet there are many recommendations to use the command lshw However, I found that by default its not included within the Debian installation. but can be installed […]

Read More… from List all Hard Drives

Adding Additional IP Address to a Network Interface

Linux network interfaces allow more than one IP address to be assigned. With just the one network connection multiple IP addresses can be used. Thus allowing a unique IP address per website, for example. Additional network IP addresses are configured in the file /etc/network/interfaces An example of an entry for a static assigned IP address […]

Read More… from Adding Additional IP Address to a Network Interface