2019/01/072 Ubuntu 18.04에서 netplan을 사용한 static ip 설정 17.10부터 네트워크 인터페이스 설정이 netplan이라는 새로운 네트워크 설정이 생겼다. 기존에 인터페이스 설정(/etc/network/interfaces)보다는 간결해 보입니다. 변경 할 파일은 아래와 같습니다. sudo vi /etc/netplan/50-cloud-init.yaml 기본적으로 dhcp로 설치 했을 경우 아래와 같이 나옵니다. network: ethernets: enp4s0f2: addresses: [] dhcp4: true version: 2 그 내용을 아래와 같이 ip와 정보를 넣고 설정 해 주면 됩니다. network: ethernets: enp4s0f2: dhcp4: no addresses: [192.168.1.200/24] gateway4: 192.168.1.1 namese.. 2019. 1. 7. 우분투 노트북 서버 사용시 커버를 덮어도 잠들지 않도록 하기 먼저 터미널에서 아래와 같은 파일을 열어 줍니다. sudo vi /etc/systemd/logind.conf 파일에서 #HandleLidSwitch=suspend로 되어 있는 곳의 샵(#) 주석을 제거 하고 HandleLidSwitch=ignore 이렇게 변경해 줍니다. # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, o.. 2019. 1. 7. 이전 1 다음