Last active
February 9, 2021 06:07
-
-
Save p-geon/ee64793d62f8dd98e0d5e75a7edf6394 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# initialize | |
ip link | |
sudo su | |
apt update | |
apt upgrade -y | |
apt install -y openssh-server vim | |
# method-1 | |
sudo service network-manager stop | |
sudo update-rc.d -f network-manager remove | |
sudo vim /etc/network/interfaces | |
sudo /etc/init.d/networking restart | |
ip addr flush enp14s0 | |
sudo /etc/init.d/networking restart | |
# method-2: https://linuxize.com/post/how-to-configure-static-ip-address-on-ubuntu-18-04/ | |
sudo vim /etc/netplan/01-netcfg.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment