Category: Server

  • How to find number of cores in Ubuntu (or other versions of Linux)?

    How to find number of cores in Ubuntu (or other versions of Linux)?

      If you’re using a virtual server (whether online or your own physical machine) it can be handy sometimes to check how many CPU cores are available; here are two easy methods of doing this. The first:   nproc   This will return a single number, whether it be 1, 2, 4 or otherwise. For…

  • Finding /var/log/auth.log in CentOS 6

    Finding /var/log/auth.log in CentOS 6

      This one is straight-forward – if you’re used to Debian and are in a CentOS system looking for /var/log/auth.log you’ll find it in:   /var/log/secure   Short and sweet!

  • Samba log showing error: failed to retrieve printer list

    Samba log showing error: failed to retrieve printer list

      If you’re using Ubuntu and seeing the following error in your Samba log:   Failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL   If you are a home user and using samba purely for file sharing from a server or NAS you’re probably not interested in sharing printers through it. If so, you can prevent this…

  • How to see individual CPU core loads in Ubuntu

    How to see individual CPU core loads in Ubuntu

      This is an interesting one – if you have the need to monitor your CPU usage individually across cores it’s actually quite easy with the top command. Simply run top and hit “1” – your output will go from:   to:   In this case the server is a hexcore (0-5 cores shown, 6…

  • Using rsync with a non-standard SSH port

      There are many reasons you may be using an SSH port other than 22; perhaps you changed it as a security measure, or perhaps you have multiple machines behind your firewall which you are port forwarding to and thus have to use other ports in addition to 22. Rsync is an extremely powerful file…

  • New Intel Motherboard in-house: S1200KPR Mini-ITX Server board

        We’ve been building a few mini servers with these lately and finally found the time for a bit of a write-up – we’re almost finished, so keep your eyes peeled for a review shortly!

  • How to restart NFS server on Ubuntu

    How to restart NFS server on Ubuntu

      Once you set up your NFS exports by adding lines to /etc/exports you need to restart your NFS server; do this with the following:   sudo /etc/init.d/nfs-kernel-server restart   You should see output along the lines of:  * Stopping NFS kernel daemon                 [ OK ] * Unexporting directories for NFS kernel daemon…           [ OK…

  • ESXi: Accessing datastores via web browser

      This is one that a lot of people don’t seem to be aware of – did you know you could access your ESXi server’s datastores via a browser? It’s a convenient way of grabbing copies of ISOs or patches stored on your server for burning or use elsewhere. It’s set up automatically with ESXi…

  • Ubuntu: Clear terminal screen

    Ubuntu: Clear terminal screen

      Sometimes you may wish to clear the terminal window, whether it be to hide what you’ve just done, clear some irrelevant/distracting output or any other reason. The best command to do this is simple:   reset   This completely clears the output shown in your terminal window but doesn’t log you out. If you…

  • Asus Pike 2008 SAS card

      We have finally got one of these cards in-house for testing;   We’re particularly interested in how it compares to cards like the M1015 in IT mode as an inexpensive way of adding 8 SAS/SATA ports to a storage server. Expect a post soon reporting on what we find! You can buy the Asus…