Skip to content

Instantly share code, notes, and snippets.

@otwm
Created December 22, 2016 12:56
Show Gist options
  • Save otwm/0dfd8001578e79f8406173421f4afce6 to your computer and use it in GitHub Desktop.
Save otwm/0dfd8001578e79f8406173421f4afce6 to your computer and use it in GitHub Desktop.
# (전체)보안 업그레이드
sudo apt-get full-upgrade
# 고정 ip 할당
sudo vim /etc/network/interfaces
==================================================
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp6s0
#iface enp6s0 inet dhcp
iface enp6s0 inet static
address 192.168.0.10
netmask 255.255.255.0
# broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 210.220.163.82 219.250.36.130
==================================================
sudo ifdown enp6s0
sudo ifup enp6s0
* 포트 포워딩
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment