Things to do after installing ubuntu 14.04 LTS

Update your Ubuntu 14.04 LTS

$ sudo apt-get update 
$ sudo apt-get upgrade

Install usefull Apps

Install Restricted Extras

There are some Restricted Extras in Ubuntu which can't be install while installation of Ubuntu by default but you can install these Restricted extras by yourself.

$ sudo apt-get install ubuntu-restricted-extras
  • Classic Menu Indicator

    Classic Menu Indicator Package

    $ sudo apt-get install classicmenu-indicator
    
  • SMPlayer
    SMPlayer is great front-end for MPlayer with built-in codecs.

    SMPlayer can search and download subtitles from opensubtitles.org

    SMplayer Package

    $ sudo apt-get install smplayer
    

    Once the SMPlayer is installed, the totem is no longer needed.

    $ sudo apt-get remove totem
    
  • Skype

    Uncomment the following lines in /etc/apt/sources.list to enable Cannnonical Partners repository.

    • deb http://archive.canonical.com/ubuntu trusty partner
    • deb-src http://archive.canonical.com/ubuntu trusty partner

    Refresh package lists and install Skype through apt:

    $ sudo apt-get update
    $ sudo apt-get install skype
    
  • Guake Terminal

    Guake is great drop-down terminal for Gnome written in Python.

    Show / hide with F12 key.

    Guake Terminal Ubuntu Package

    $ sudo apt-get install guake
    

ZSH shell

Install ZSH

$ sudo apt-get install zsh

This will install zsh and zsh-common packages.

Setup oh-my-zsh

$ wget --no-check-certificate http://install.ohmyz.sh -O - | sh
$ chsh -s /bin/zsh

PHP Development

Install LAMP stack

$ sudo apt-get install lamp-server^

If you get this error: apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

$ sudo sh  -c "echo 'ServerName localhost' > /etc/apache2/conf-available/fqdn.conf"

Enable fqdn config

$ sudo a2enconf fqdn

Install PhpMyAdmin

$ sudo apt-get install phpmyadmin

Select reconfigure automatically with apache2

Now, PhpMyAdmin should run on http://127.0.0.1/phpmyadmin/

If you get this error on booton of PhpMyAdmin page: The mcrypt extension is missing. Please check your PHP configuration.

Enable mcrypt extension and restart apache2

$ sudo php5enmod mcrypt
$ sudo service apache2 restart

Python Development

Python headers files

Install package python-dev. This package includes header files, a static library and development tools for building Python modules, extending the Python interpreter or embedding Python in applications.

To install this package, enter:

$ sudo apt-get install python-dev

Virtualenv

Install virtualenvwrapper - extension to virtualenv for managing multiple virtual Python environments

$ sudo apt-get install virtualenvwrapper

Install Pycharm

The intelligent Python IDE with unique code assistance and analysis, for productive Python development on all levels.

For professional edition. Follow:

Install Oracle Java JDK

  • Step 1: Remove existing OpenJDK

    $ sudo apt-get purge openjdk*
    
  • Step 2: Install Oracle Java 8

    $ sudo add-apt-repository ppa:webupd8team/java
    $ sudo apt-get update
    $ sudo apt-get install oracle-java8-installer
    
  • Step 3: Set Java Environment Variable

    $ sudo apt-get install oracle-java8-set-default
    

Download Pycharm package and move to /opt directory

$ cd /tmp
$ curl -s -L http://download.jetbrains.com/python/pycharm-professional-3.1.3.tar.gz | tar -xz
$ sudo mv pycharm-3.4.1 /opt/pycharm

Run PyCharm and Create desktop entry

$ /opt/pycharm/bin/pycharm.sh

Now run "Tools > Create Desktop entry"

Google Chrome

  1. Download GPG key and install it.

    $ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
    $ sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
    $ sudo chmod 644 /etc/apt/sources.list.d/google-chrome.list
    
  2. Update package lists:

    $ sudo apt-get update
    
  3. install stable version of Google Chrome

    $ sudo apt-get install google-chrome-stable
    

Chromium browser

$ sudo apt-get install chromium-browser

Unity tunning

  • Resize Unity launchers icons

    Open System Settings / Appereance / Look.

    Drag the marker either direction to increase or decrease the icon size on the Unity launcher.

    The default size of the Unity Launcher icons is 48px in case you want to go back to the original size..

  • Turn On Workspaces

    Open System Settings / Appereance / Behavior

    Now you can re-enable worspaces with the Enable Workspaces checkbox.

    Add show desktop icon to the launcher

  • Remove "Show Desktop" icon from the app switcher

    To disable the "Show Desktop" option in application switcher you can use unity-tweak-tool.

    $ sudo apt-get install unity-tweak-tool
    

    And then, Unity Tweak Tool / Switcher / Display "Show Desktop" icon

    To Show Desktop (Minimise all windows) now use Ctrl + Super + D

Disable overlay Scrollbars

You can disable overlay scrollbars, if you don't like that

To disable overlay scrollbar:

$ gsettings set com.canonical.desktop.interface scrollbar-mode normal

To get back overlay bar to default:

$ gsettings reset com.canonical.desktop.interface scrollbar-mode

Clean Up

$ sudo apt-get -f install
$ sudo apt-get autoremove
$ sudo apt-get -y autoclean
$ sudo apt-get -y clean

Installing OpenShift RHC Client Tools

Install Ruby and Git before you install the OpenShift command line tools. Run:

$ sudo apt-get install ruby git-core

Now use the RubyGems package manager to install the OpenShift client tools. From a command line, run:

$ sudo gem install rhc