Category: Ubuntu

  • Changing or Updating the time zone in Ubuntu Server

    Changing or Updating the time zone in Ubuntu Server

      There are quite a few reasons you may find that you need to change your time zone – for example, if you’re using a pre-made image for a virtual machine you may find that the default timezone is not set to your country. You can change the time manually, though there is a quick…

  • Installing Xen on Ubuntu: Error “makeinfo is missing on your system”

    Installing Xen on Ubuntu: Error “makeinfo is missing on your system”

      This is another error that seems to crop up when making Xen on Ubuntu – you can fix it by installing the texinfo package:   sudo apt-get install texinfo   The error message should now no longer appear.

  • Installing Xen on Ubuntu: Error bits/predefs.h: No such file or directory

    Installing Xen on Ubuntu: Error bits/predefs.h: No such file or directory

      This error cropped up when we were building Xen on a system running Ubuntu 12.04 Server:   /usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory   To get past this point, install gcc-multilib.   sudo apt-get install gcc-multilib   The required files are around 20MB and should allow you to get past that…

  • Ubuntu: How to delete a user

    Ubuntu: How to delete a user

      In Ubuntu 12.04 and 12.10, to delete an additional user you have created, use the following:   sudo deluser [username]   By example, if we wanted to delete a user we created called “test”, we would run:   sudo deluser test   Which gives:   Removing user `test’ … Warning: group `test’ has no…

  • Ubuntu: How to add a existing user to an existing group

    Ubuntu: How to add a existing user to an existing group

      To add an existing user to a second group, use the following command:   sudo usermod -a -G [group] [user]   e.g.:   sudo usermod -a -G geeks bob   This will add the user bob to the group geeks.

  • Ubuntu Server: How to change to the root user

    Ubuntu Server: How to change to the root user

      Some guides tell you to enter “su” on Unix systems to get superuser permissions; in Ubuntu, however, this won’t work. As a user with sudo permissions (the user created on install has these) enter the following instead:   sudo su   Enter your account password and voila, you are logged in as root. You…

  • Ubuntu Server Benchmarks: Geekbench

    Ubuntu Server Benchmarks: Geekbench

      This is one of our favourite benchmarks for Ubuntu Server – it’s cross-platform, meaning that it can be ran on Windows, Mac OS X, Ubuntu Desktop, Ubuntu Server and more. You can get the download link from the following site:   http://www.primatelabs.com/geekbench/download/linux/   Currently this works:   wget http://d34wv75roto0rl.cloudfront.net/Geekbench-2.4.2-Linux.tar.gz   Unzip:   gunzip Geekbench-2.4.2-Linux.tar.gz…

  • Ubuntu Server Benchmarks: Phoronix Test Suite

    Ubuntu Server Benchmarks: Phoronix Test Suite

      The Phoronix Test Suite is another option when it comes to benchmarking your Ubuntu Server – this one doesn’t work out-of-the-box and requires you to choose the types of benchmarks you wish to run and install them either individually or as suites of benchmarks. You can download it at the following link currently:  …

  • Ubuntu Server Benchmarks: Hardinfo

    Ubuntu Server Benchmarks: Hardinfo

      Hardinfo is one of the command-line benchmarks available for Ubuntu Server – it does have graphical features so it will also be useful for Ubuntu Desktop users, but for the purpose of this piece we will assume you’re at a terminal. It not only runs benchmarks like Blowfish but also shows you a great…

  • How to set up SNMP monitoring (snmpd) on Ubuntu 12.04

    How to set up SNMP monitoring (snmpd) on Ubuntu 12.04

      This one caused a bit of hassle recently – a few online guides don’t seem to work with the current version of Ubuntu. We found that this works, at least in the ~10 or so servers we have tried so far:   sudo apt-get install snmpd   Back up your snmpd.conf file:   sudo…