Protect your server with fail2ban

Protect your server with fail2ban Fail2ban is a must-have for every SSH-enabled server that is connected to the internet. It protects services such as SSH from illegitimate access.

Find large directories and files on Debian or Ubuntu with ncdu

Find large directories and files on Debian or Ubuntu with ncdu Time to stop using the find command to search for large directories or files on your servers. There’s a neat disk usage analyser tool called ncdu that you should definitely give a try!

Instant terminal sharing

TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), a client/server application that allows users to launch and interact with graphical applications on remote machines

UNetbootin allows you to create bootable Live USB drives for Ubuntu and other Linux distributions without burning a CD

LibreOffice missing certain Microsoft fonts

sudo apt-get purge ttf-mscorefonts-installer sudo apt-get install ttf-mscorefonts-installer

Can’t purge libapache2-mod-php5, corrupt registry I can’t purge libapache2-mod-php5. Give me this error. ucfr: Corrupt registry: Duplicate entries for /etc/php5/apache2/php.ini libapache2-mod-php5 /etc/php5/apache2/php.ini libapache2-mod-php5 /etc/php5/apache2/php.ini sudo nano /var/lib/ucf/registry and remove duplicated php.ini lines from that file

Machine hangs on shutdown/reboot with NFS shared folders for Vagrant?

Add this simple init.d script to save all running virtualboxes on host shutdown or reboot

Vagrant hangs at ‘vagrant up’ when mounting NFS shared folders

Vagrant hangs, because it needs open ports for NFS. See here how to open this ports:

Allow user to use RAW devices in VirtualBox

To allow user to use RAW disks /f.e. vmdk/ in VirtualBox, you must run: VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk -rawdisk /dev/sda -partitions 1,5 -relative usermod -a -G disk 'user_name' See more at