sudo: unable to resolve host ... 가 나온다면..
1. sudo cat /etc/hostname 해봐라 그러면 호스트이름 나오는가? 그러면..2. sudo cat /etc/hosts 해봐라 127.0.0.1 호스트이름 으로 되있는 라인이 있는가? 없다면3. echo '127.0.0.1 '`sudo cat /etc/hostname` | cat - /etc/hosts > ./hosts ; cp ./hosts /etc/hosts # 실행하면 hosts 파일 맨위에 호스트이름이 추가된다
컴퓨터 사용 방법
2017.10.06 00:51
Windows Subsystem for Linux 에 Pillow 설치하기
Pillow 는 Python에서 이미지를 다루는 유명한 모듈이다.설치를 한번 해보자.자 일단 apt-get 으로 설치할것들이 있는데 우분투 저장소 주소를 좀 바꿔야한다.안바꾸면 너무 느리다.ftp.daumkakao.com여기가 빠르다sudo sed 's/archive.ubuntu.com/ftp.daumkakao.com/g' /etc/apt/sources.list # 이렇게 하면 바뀐다그리고 이제 설치sudo apt-get updat..
컴퓨터 사용 방법
2017.10.06 00:50