Create Windows 10 bootable usb from linux (Ubuntu 18.04) 1

Create Windows 10 bootable usb from linux (Ubuntu 18.04)

Create Windows 10 bootable usb from linux tested on Ubuntu 18.04. Download windows 10 iso from here Install woeusb from source (tested on ubuntu 18.04)

Make it bootable with woeusb

Tip: If woeusb starts to complain for mounted device etc … Unmount and unplug the usb device. Plug the usb and unmount the […]

HowTo Fix kolab_smtp_access_policy exit status 1 2

HowTo Fix kolab_smtp_access_policy exit status 1

This entry is part 1 of 1 in the series Unfucking Kolab Server

In case it happens to use Kolab with Ubuntu you might face the “kolab_smtp_access_policy exit status 1” error when sending or receiving emails! Kolab is definitely one-of-a-kind open source groupware server software out there. It’s the best! It’s so stable that can handle the day of reckoning! But after un-fucking the initial installation! Anyways … […]

How to install MacOS Sierra guest on VirtualBox on Ubuntu host 3

How to install MacOS Sierra guest on VirtualBox on Ubuntu host

Well, yeah, I was desperate to debug an app on mac OS so … You can have it run on Ubuntu host with VirtualBox. It works on other versions of Ubuntu and VirtualBox. Haven’t tested mac OS Mojave. If you try it, drop a line on the comments below to share with other desperate developers/sysadmins. […]

Observium - Rename existing devices 4

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, doesn’t seem to support renaming via its web interface but you can successfully do it from the command-line. Read the instructions below. Change current directory […]

Fix nethogs 'creating socket failed while establishing local IP' 5

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 and run

Source

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 …

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 your needs.

RoundCube Password Plugin for virtualmin 6

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 their password. After long time I decided to research and solve the problem for Roundcube password plugin. At the end of the article you will […]

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 and some of them go down. In my case raspberry pi 2 with rasbian (debian wheezy for arm processors) does the job very well, without […]

Optimize only fragmented tables in MySQL 7

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 you can’t do magic, but you can optimize these tables for them. For that puprose I use mysqltuner which is written in perl, download it […]