In order to set up static IP configuration in Ubuntu 14.04 you need to edit the /etc/network/interfaces file.
sudo nano /etc/network/interfaces
You can remove the content referring to the previous DHCP configuration and add the parameters below. Change the addresses below to fit your needs.
# This file describes the network interfaces available on your system
You don’t have to restart the system instead restart the networking service.
sudo service networking restart