Assuming your static IP is 192.168.0.100, your machine's name is computer, and you're on the mydomain.com domain.
- nano /etc/network/interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.100
gateway 192.168.0.1
netmask 255.255.255.0
- nano /etc/hostname
computer
- nano /etc/resolv.conf
mydomain.com
