Archive for May, 2008

Set a Static Ip Address in Ubuntu from Command Line

By marc • May 1st, 2008

A common task that you will need to do on a Ubuntu/Debian server is set a static IP address. By default the ip address is set through DHCP, so you will need to change that.
First edit the /etc/network/interfaces file:

 

sudo nano /etc/network/interfaces

Change your file so that it looks similar to the following, but replacing the specific […]