By default the Ubuntu 14.04 server sets the interface to use DHCP, here’s how to set a static IP address.
Edit “/etc/network/interfaces”. In this example set-up we’ll use 192.168.10.207 as our server IP address:
$sudo nano /etc/network/interfaces
To find out an ipadress in Linux
Ifconfig eth0 | grep "inet addr:"
Sample o/p: inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
Edit “/etc/network/interfaces”. In this example set-up we’ll use 192.168.10.207 as our server IP address:
$sudo nano /etc/network/interfaces
To find out an ipadress in Linux
Ifconfig eth0 | grep "inet addr:"
Sample o/p: inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0