Blog

Victor is a full stack software engineer who loves travelling and building things. Most recently created Ewolo, a cross-platform workout logger.

    Things to do after installing/upgrading ubuntu

    Here's a quick checklist of things to do after installing ubuntu. Special sections are provided for cases when you upgrade versions.

    Numix theme

    Install a fresh flat looking theme:

    1. Install the unity tweak tool if you don't already have it: sudo apt-get install unity-tweak-tool
    2. Get the theme: sudo apt-get install numix-gtk-theme
    3. Use the unity tweak tool to change the theme
    4. Note that the terminal theme can also be changed via Preferences -> General -> Theme variant -> Dark

    Flat icons

    Get some snazzy flat icons to go along with the new theme:

    sudo add-apt-repository ppa:noobslab/icons
    sudo apt-get update
    sudo apt-get install ultra-flat-icons
    
    Use the unity tweak tool to select the new icon set.

    Software

    Development
    Java
    sudo apt-get install git
    sudo apt-get install mysql-server
    
    Media
    Clementine, VLC, Gimp
    Utility
    Chromium, Chrome, Skype, Dropbox, indicator-multiload, Bleachbit

    Redirect port 80 requests

    Add redirect from port 80 to 4000:

    sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 4000
    sudo iptables -t nat -L
    
    Remove redirect:
    sudo iptables -D PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 4000
    
    The above redirect command can be put into /etc/rc.local for persistence (without the sudo).

    Change Apache default port

    sudo vi /etc/apache2/ports.conf
    Listen 8000
    
    sudo vi /etc/apache2/sites-available/<default>
    <VirtualHost *:8000>
    
    sudo apachectl restart
    

    HackerNews submission / discussion

    Back to the article list.

    SmallData newsletter

    Subscribe to get articles as they are published direct to your inbox!