Skip to content

Phils Blog and Stuff

TELECOMS. VIRTUALIZATION. IT. CODING. and more…

Menu
  • Home
  • Resources
    • Subnet Mask Cheat Sheet
    • Easy Dmarc+Email
    • MX Tool Box
    • LOAD BALANCING & SRE
  • SHOP
  • SOLUTIONS
  • SERVICES
  • Contact Me
Menu

Tag: Linux

Ubuntu 12.04 Server: Adding Vlan Tagging

Posted on 06/08/201308/03/2023 by Phil

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 a Demilitarized Zone (DMZ). If this should be implemented without the use of vlans we…

Read more

Simple ZFS Mirrored file system…

Posted on 04/05/201308/03/2023 by Phil

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 size of 1TB, but acutal usable space will only be 400GB. This file system has…

Read more

PHP… Do Not Run if running…

Posted on 07/12/201208/03/2023 by Phil

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 $already_running = false; function __construct($directory) { $this->filename = $directory . ‘/’ . basename($_SERVER[‘PHP_SELF’]) . ‘.pid’;…

Read more

Cat Linux Command

Posted on 23/10/201208/03/2023 by Phil

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 to another command. Situations when the cat Linux command would used How To dump the…

Read more

How To setup SSH Key Authentication on Linux

Posted on 04/05/201208/03/2023 by Phil

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 to enable Public Key Based Authentication Open up /etc/sshd_config in vi and find the following…

Read more

Ubuntu 12.04 Release Date

Posted on 25/04/201208/03/2023 by Phil

With the Ubuntu 12.04 release date just around the corner and the release in final beta we should be expecting a release date any day now, the estimated release date for 12.04 Precise Pangolin is the 26th of April 2012. Until then you might want to download Ubuntu 12.04 using our instructions, just so long…

Read more

How To Upgrade to Ubuntu 12.04 for Desktops & Servers running 10.04 or 11.10

Posted on 25/04/201208/03/2023 by Phil

This post contains full instructions on how to upgrade to Ubuntu 12.04 from 10.04 or 11.10 for servers and desktops I have included both GUI and command line upgrade instructions for Ubuntu 12.04 updates. If you have any 3rd party propriatory graphics card drivers installed it is recommended you remove them prior to the upgrade…

Read more

Recursive Grep Command – Recursively Search Through Directories

Posted on 04/04/201208/03/2023 by Phil

How to perform a recursive grep on Linux, allowing you to search through files / sub directories for a specific string. How to grep recursively grep -r SEARCHSTRING /home/* Enter your own search in the SEARCHSTRING above… Say for example I am searching for the string class=”author” located somewhere in /var/www/wp-content/themes/your-theme. I would type the…

Read more

how you can make files on your system immutable…

Posted on 22/02/201208/03/2023 by Phil

Here is a cool tip on how you can make files on your system immutable. By immutable, I mean evenroot can’t delete the files if he choose to. Linux ships with a tool called chattr which can be used for the purpose. ‘chattr’ is similar to the ‘attrib’ DOS equivalent tool but much more powerful and flexible. To make your file…

Read more

Kubuntu going away? Doubtful.

Posted on 08/02/201208/03/2023 by Phil

I’m sure everyone has seen the proverbial “nail-in-the-coffin” for the big blue gears, but Kubuntu is a largely populated distribution that I think it going to bounce right back.     Kubuntu is a Ubuntu based distribution that opened it’s doors seven years ago with version 5.04. It has often been on the bleeding edge of KDE…

Read more

Posts pagination

  • 1
  • 2
  • Next

POSTS

  • Home Assistant. Add water meter with PHP+MQTT+YML.
  • Automating your home with Home Assistant. Initial install and config (Hyper-V).
  • The importance of setting up email security correctly.
  • Automate Debian installations with Seed, DHCP and Nginx.
  • A simple link shortener.. Fun little project…

WORD CLOUD

3CX 3CX Phone System Apache Asterisk Cacti CentOS CRM DHCP DNS Email Fail over Failover File System Firewall FreeBSD FreeNAS FXO IAX install IP IP PBX Linux M0n0wall Nottingham Open Source PBX PFSense PHP Router Server SIP snom SSH TrixBox ubuntu VLAN Voice VoIP VPN vyatta WAN Website WiFi yealink ZFS

© 2025 Phils Blog and Stuff | Powered by Superbs Personal Blog theme