Use shell command
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, but that ?s classic linux, right?
Open up the /etc/network/interfaces file
| |
For the primary interface, which is usually eth0, you will see these lines:
| |
As you can see, it ?s using DHCP right now. We are going to change dhcp to static, and then there are a number of options that should be added below it. Obviously you ?d customize this to your network.
| |
Now we will just need to restart the networking components:
| |
![Featured image of post [Linux] Change Ubuntu 14.04 from DHCP to Static IP Addredd](/post/2019-02-26-set-static-ip-on-ubuntu-14-04/tmp_wordcloud_hu_2c40d3daa73f4848.webp)
![[GBS] device is busy 문제 해결 방법](/post/2021-07-12-unmout-vbsbuild/tmp_wordcloud_hu_e3b1167c59f2537f.webp)
![[.NET] MSBUILD : error MSB1008: Only one project can be specified. 해결](/post/2021-04-28-msb1008/tmp_wordcloud_hu_2aa794e1495655b8.webp)

![[Guide] 대학생을 위한 ChatGPT 100 프롬프트 (Study/Career/Life)](/post/2025-09-21-chatgpt-students-100-prompts/wordcloud_hu_c17085e274b36903.webp)
![[Hugo] Hugo Archetypes 완전 가이드: 콘텐츠 템플릿 시스템 마스터하기](/post/2025-08-06-hugo-archetypes-complete-guide/wordcloud_hu_9f2588c117b9ea36.webp)