changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

  1. Using Google SMTP with Postfix on Ubuntu/Debian

    December 22, 2014 by The Man

    I run a few servers at home for various things including a little Raspberry Pi running Debian which emails me alerts when certain things happen. I send these to an account or an Office365 account but being a home IP I often get blocked

    “(host[] said: 550 OU-002 (COL004-MC5F2) Unfortunately, messages from weren’t sent. Please contact your Internet service provider since part of their network is on our block list.”

    So the simple solution is to add a relay host to Postfix.

  2. Ubuntu & OpenStack running in a VM

    December 24, 2013 by The Man

    If you want to have a little play around with OpenStack before diving in or maybe you want to develop some cool software to interface with it, it can be handy to run OpenStack in a VM or on a single machine. Here is how I did it.

    1. I’m following the guide from who have a handy script to automate the install.

    2. I’m using Ubuntu 13.10 64bit minimal version from

    3. Install Ubuntu as you would normally.

    4. Update with sudo apt-get update


  3. Ubuntu show IP address at login screen

    August 31, 2013 by The Man

    Sometimes it’s handy to know the ip address of an Ubuntu box before you log in, great for VMs

    First open /etc/rc.local

    sudo nano /etc/rc.local

    then add this line

    and you should get something like this

    Screen Shot 2013-08-31 at 01.02.52

  4. Installing VMware Tools in an Ubuntu virtual machine

    February 4, 2012 by The Man

    Copied from here so I can find it more easily….

    Ubuntu Server with only a Command Line Interface

    Go to Virtual Machine > Install VMware Tools (or VM > Install VMware Tools).

    Note: If you are running the light vesion of Fusion, or a version of Workstation without VMware Tools, or VMware Player, you are prompted to download the Tools before they can be installed. Click Download Now to begin the download.

    In the Ubuntu guest, run these commands:

    sudo mkdir /mnt/cdrom

    When prompted for a password, enter your Ubuntu admin user password.

    Note: For security reasons, the typed password is not displayed. You do not need to enter your password again for the next five minutes.

    sudo mount /dev/cdrom /mnt/cdrom

    The file name of the VMware Tools bundle varies depending on your version of the VMware product. Run this command to find the exact name:

    ls /mnt/cdrom

    tar xzvf /mnt/cdrom/VMwareTools-.tar.gz -C /tmp/

    Note: is the version discovered in the previous step.

    cd /tmp/vmware-tools-distrib/

    sudo ./ -d

    Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept each default or supply your own answers.

    Run this command to reboot the virtual machine after the installation completes:

    sudo reboot

  5. How to enable mod_rewrite in Ubuntu

    January 27, 2012 by The Man

    sudo a2enmod rewrite

  6. Ubuntu server 10.4 install a GUI

    August 21, 2010 by The Man

    Liking Ubuntu more and more so here is a quick tip.

    If you want to install server but still have a GUI you can do a minimum install with:

    sudo aptitude install –without-recommends ubuntu-desktop

    which will give you a GUI with a download of about 180mb against 400+mb with the recommends.

    Not hardcode but sometimes it’s easier with a GUI 🙂

    UPDATE Works on 10.10 as well.

    UPDATE Works on 11.04 as well.

    UPDATE Works on 11.10 but not as well. Doesn’t load Unity very well…. uggg