Tag Archives: Linux

Ubuntu 12.04 Server: Adding Vlan Tagging

Scenario We have a router/firewall with two NICs one used to connect to the Internet (WAN) and the other to connect to the local network (LAN). We would like to beef up the security aspect of our site and introduce … Continue reading

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in Little Guides, Usefully Found Stuff | Tagged , , , | Leave a comment

Simple ZFS Mirrored file system…

Introduction: In this blog post we are going to create a Mirrored file system using ZFS. We are going to use 5 Disks, 4 for data and 1 as a hot spare. The disks will be 200GB with a combined … Continue reading

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in How To Guides, Little Guides, Usefully Found Stuff | Tagged , , , , , | Leave a comment

PHP… Do Not Run if running…

If you are creating an application that will be run in the terminal on a Linux machine and you don’t want it to run if its already running you can use the same code below to achieve this. class pid { protected $filename; public … Continue reading

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in Little Guides | Tagged , , | Leave a comment

Cat Linux Command

The cat Linux command is used to display file contents, for example if I quickly wanted to see the contents of a text file I would use the cat command to dump the output to the console or pipe it … Continue reading

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in Little Guides | Tagged , , | Leave a comment

How To setup SSH Key Authentication on Linux

This short tutorial explains how to setup SSH to use key based authentication, by default on CentOS this is disabled. To start with follow our guide on how to generate SSH key pairs and copy the key over. Configure SSH … Continue reading

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
Posted in Little Guides, Usefully Found Stuff | Tagged , , , , | Leave a comment