Tag: ubuntu

  • How to easily find the full path of a command in Ubuntu

    How to easily find the full path of a command in Ubuntu

      If you’re writing scripts or making cron jobs you will need to know the full path of the commands you’re using; rather than just being able to use “ls” you would have to use “/bin/ls” instead. You could use the find command here but there’s a quicker and more elegant way: which. Use it…

  • 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…

  • ZFS on Ubuntu error: Failed to load ZFS module stack

    ZFS on Ubuntu error: Failed to load ZFS module stack

      If you see the above error in a fresh installation of ZFS on Ubuntu one cause may be that the package build-essentials wasn’t installed prior to installing the ubuntu-zfs package; run:   sudo apt-get purge ubuntu-zfs   then check for the remaining packages with the following:   dpkg –list | grep zfs   …and…

  • Ubuntu: Securing your remote SSH logins with Denyhosts

    Ubuntu: Securing your remote SSH logins with Denyhosts

    Being able to log in to your server remotely via SSH is an incredibly powerful way of remotely managing your system. With so many devices now able to support consoles (just about any current smartphone or current OS, really) you can check on things, update or make changes from just about anywhere.   One of…

  • ZFS basics: Installing ZFS on Ubuntu

    ZFS basics: Installing ZFS on Ubuntu

    For those who don’t want to use Solaris or FreeBSD as their ZFS platform Ubuntu now seems a valid option; installation is now relatively straightforward. Please note, though, that you should be running a 64-bit system – ZFS on Ubuntu is not stable on a 32-bit system. Open up a terminal and enter the following:…

  • DNS troubles with Ubuntu Server 12.04

    DNS troubles with Ubuntu Server 12.04

    Some customers have been having DNS issues after setting a static IP on Ubuntu 12.04.1 where the server is no longer picking up the DNS settings as it was before; this can be easily fixed by adding the following to /etc/network/interfaces after the eth0 entry:   dns-nameservers [ip.of.your.router]   e.g., for a modem/router that’s 10.1.1.1…

  • Ubuntu: How to view results of “ls” one page at a time

    Ubuntu: How to view results of “ls” one page at a time

    If you’re listing the contents of a directory using the “ls -l” command in a terminal window you may find that the number of results cause pages of text to fly past your screen, leaving you with only the last page to look at. If you aren’t using a terminal which you can scroll back…

  • ZFS folders on Ubuntu not mounting after reboot

    ZFS folders on Ubuntu not mounting after reboot

    After upgrading to 12.04 people seem to be finding that their ZFS shares aren’t mounting on boot; this has an easy fix, fortunately – edit your /etc/rc.local file and add:   stop smbd stop nmbd zfs mount -a start smbd start nmbd   Save and reboot and your shares should be intact. This has worked…

  • How to find kernel version in Ubuntu 12.04 Precise Pangolin

    How to find kernel version in Ubuntu 12.04 Precise Pangolin

    Note: This also works in other versions of Ubuntu, such as 11.10, 11.04, 10.10, 10.04 and earlier.   Sometimes you may wish to find out which kernel you’re  currently running; fortunately, this is quite easy to do with the uname command. If you’re running Ubuntu Desktop, open up a Terminal; if you’re using Ubuntu Server…

  • Ubuntu 12.04 Released

    Ubuntu 12.04 Released

      Canonical have released Precise Pangolin, the latest update to the Ubuntu operating system. It is a LTS release, meaning that it will be supported for five years – this time on both the desktop and server version.       You can download from: http://www.ubuntu.com