Change Ubuntu Server from DHCP to a Static IP Address Via SSH
If the Ubuntu Server installer has set your server to use DHCP, you will want to change it to a static IP address so that people can actually use it. Changing this setting without a GUI will require some text editing via SSH Open up the /etc/network/interfaces file. I’m going to use nano, but you can