Category Archives: linux

Virtual Private Server on SSD storage

Recently I read about the virtual private servers you can create on www.DigitalOcean.com. They call them Droplets, and they get created in less then a minute if you don’t enable back-ups, or just a couple of minutes with back-up service enabled. You can choose between different geographically located datacenters. You can choose between New York, San Francisco, London, Amsterdam and Singapore. You get one public ip address (or ipv6 if you prefer, but who does anyway).

You can choose out of some preselected minimal OS installations such as Ubuntu, CentOS, Debian, Fedora and CoreOS. Or you could even deploy your VPS complete with a LAMP (Linux, Apache, MySQL and PHP) or even with wordpress of Drupal setup. If I looked at the price (10$/month or 12$ with back-up) for a VPS, with 1CPU, 1GB RAM, 30GB DISK and 2TB data transfer, and compared that to what I was currently paying for 2 shared hosting plans, the math was clear.

Read more »

DUF show disk usage (human readable) for each folder/file sorted by size

alias duf=’du -sk * | sort -n | perl -ne ‘\”($s,$f)=split(m{\t});for (qw(K M G)) {if($s

Ubuntu upgrade from 10.10 to 11.04 broke grub

After upgrading my Ubuntu server from 10.10 to 11.04 using the “do-release-upgrade” method, my system would no longer boot. It was stuck on a GRUB shell. I downloaded the liveCD, booted from that and ran the excellent Boot-Repair utility. I …

Read more »

Send PCL code for landscape to raw printer in Linux

When the CUPS printer is in RAW mode (no driver or PPD file), you can send PCL codes to the printer in plain text. You can just insert & append the codes on your job. Here is how I did …

Read more »

GhettoVCB ESX(i) VM’s backup: E-mail logfile

UPDATE: GhettoVCB now has it’s own function to send a report mail. It only works on ESXi > 4.1. I’m using an excellent script to backup my virtual machines called GhettoVCB. This script works perfect. I wanted to get the …

Read more »

Munin config example

/etc/munin.conf # Example configuration file for Munin, generated by ‘make build’ # The next three variables specifies where the location of the RRD # databases, the HTML output, and the logs, severally. They all # must be writable by the …

Read more »

Installed ESXi 4 (with FTP & SSH enabled) & migrated VM’s from workstation

UDATE: This is an outdated article, since ESXi 4.1 you can enable SSH (remote & local) from the VI client through “security features” in “configuration”. After my XenServer5.5 experience i decided to use VMWare ESXi, let’s be honest, the leader …

Read more »