Notice
- Today
- Total
Recent Posts
Recent Comments
Link
Tags
- mariaDB 설치
- node.js 설치
- ubuntu
- node.js
- 라즈베리 피이
- OSHP
- OpenFileDialog
- RaspberryPi
- usb 인식 불가
- ScrollBarTrackPolicy
- 동영상 오류
- <<<<<<<<
- MariaDB
- 라즈베리파이
- Spread
- 자동 닫힘
- Image icon 변환
- onPageFinished
- WebViewClient
- mariaDB 외부접속
- startActivity
- .mine
- ImageList Icon 변환
- Ribbon
- UltraToolbarsManager
- Raspberry Pi
- ContextMenuStrip
- 다중 Filter
- mp4 재생
- c#
Archives
Realman's World
sudo: unable to resolve host [hostname] 에러 메세지 본문
/etc/hostname 에 적힌 시스템의 호스트명이 /etc/hosts에 등록이 되어 있지 않아 발생하는 오류이다.
/etc/hosts 파일에 hostname을 추가시켜주면 해결이 된다.
이때 sudo 명령이 실행되지 않으므로 root 권한으로 변경 후 문장을 추가한다.
$ su root
$ vi /etc/hosts
127.0.0.1 [hostname]
Comments