Observium – Rename existing devices

In case you have a lot of devices monitored by observium and for a reason (a hypervisor migration maybe?) you need to change servers’ hostnames, observium, at the time being,…In case you have a lot of devices monitored by observium and for a reason (a hypervisor migration maybe?) you need to change servers’ hostnames, observium, […]

Fix nethogs ‘creating socket failed while establishing local IP’

As it’s not available in repo nor PPA you need to build it (it is really easy and quickly done). Fetch and extract

Install dependencies and build

Check…As it’s not available in repo nor PPA you need to build it (it is really easy and quickly done). Fetch and extract

[crayon-5a3732ad7e7e8218957876/]

Install dependencies […]

swap file on

Create a permanent swap file equal to RAM bytes

This entry is part 2 of 2 in the series Messing with the Swap

Create a permanent swap file equal to RAM bytes. Yeah I know this is the lazy admin talking, but the inside wants out …Create a permanent swap file equal to RAM bytes. Yeah I know this is the lazy admin talking, but the inside wants out …

swap file on

Swap file on! Only when you need it…

This entry is part 1 of 2 in the series Messing with the Swap

So here’s a quick snippet to turn on swap on a file, even after OS installation, temporarily. At line one notice the file size is 4G . Modify it to…So here’s a quick snippet to turn on swap on a file, even after OS installation, temporarily. At line one notice the file size is 4G […]

RoundCube Password Plugin for virtualmin

Roundcube password plugin for Virutalmin hosting panel is a great feature for your users, if you don’t want them to use Usermin as mail client, and be able to change…Roundcube password plugin for Virutalmin hosting panel is a great feature for your users, if you don’t want them to use Usermin as mail client, and […]

syslog server

Setup central syslog server on raspberry pi 2 (and other debian based distros)

Central log server using rsyslog is an asset of your sysadmin life! It may get you on the surface on really critical failures when you manage xyz number of servers…Central log server using rsyslog is an asset of your sysadmin life! It may get you on the surface on really critical failures when you manage […]

Optimize only fragmented tables in MySQL

MySQL tables are often fragmented and most of the clients/devs don’t give a f’ about it! They ‘re happy just to blame the sysadmin. So since you’re not a DBA…MySQL tables are often fragmented and most of the clients/devs don’t give a f’ about it! They ‘re happy just to blame the sysadmin. So since […]

Online #sysadmin tools

IPduh IPduh is a set of Internet Forencics and Troubleshooting Tools made to work Together. IPduh may be used as an Internet Forensics Search Engine or a General Purpose Search…IPduh IPduh is a set of Internet Forencics and Troubleshooting Tools made to work Together. IPduh may be used as an Internet Forensics Search Engine or […]

socks proxy

SSH as SOCKs 5 proxy

This entry is part 2 of 3 in the series SSH Best Practices

Let’s say, for example, that “someone” is traffic shaping our peer 2 peer connections or eavesdropping traffic in general, blocking myfavoritesite.net or any other domain/service… Here’s a really cool antidote:…Let’s say, for example, that “someone” is traffic shaping our peer 2 peer connections or eavesdropping traffic in general, blocking myfavoritesite.net or any other domain/service… Here’s […]

socks proxy

Linux user account with ssh-only permissions

This entry is part 3 of 3 in the series SSH Best Practices

SSH (among other things) is a secure way of proxy-ing your traffic, web browsing or accessing a  service remotely  which is blocked by a firewall. In case we want someone…SSH (among other things) is a secure way of proxy-ing your traffic, web browsing or accessing a  service remotely  which is blocked by a firewall. In […]