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_cd8b3a86209d8c8b.png)
![[GBS] device is busy 문제 해결 방법](/post/2021-07-12-unmout-vbsbuild/tmp_wordcloud_hu_b39a6801d6f0fb20.png)
![[Linux] term.everything - 터미널에서 GUI 앱 실행하기](/post/2025-09-16-term-everything-run-gui-in-terminal/wordcloud_hu_151b4cfd873a7453.png)
![[Linux] RCU란 무엇인가?](/post/2024-11-27-rcu/tmp_wordcloud_hu_7cc775d260e39ec0.png)
![[Linux] Linux(리눅스) 파일 시스템의 종류와 특징](/post/2024-09-09-file-system/tmp_wordcloud_hu_c67651e9b5c20aa3.png)