Thursday, January 23, 2014

Script for unmounting NFS mounts

I encountered an issue when shutting down or rebooting system with mounted NFS exports. It seems that systemd shuts down network service before all NFS mounts are unmounted and the system will hang, waiting for these mount points to be unmounted.
To prevent this, I've composed short script, which handles NFS unmounting before shutdown.

Friday, January 3, 2014

IRC notifications from remote server

Like many people, I use irssi client on remote server to connect to IRC chat. With tmux or GNU Screen you are able to be connected 24/7, and it would be great to be notified when someone is writing to you or has mentioned you on a channel.
Read more on how to setup such a scenario.

Thursday, January 2, 2014

Owncloud with dedicated php-fpm service

Owncloud on Raspberry PI is pretty slow. With Owncloud 6, takes the page loading from 20 to 60 seconds (this is much worse than with Owncloud 5). So there is an option to run php-fpm on other machine with more CPU power. Here is an howto to setup this scenario.