0
원격 명령 줄에서 로컬 호스트 이름을 확인할 수없는 문제가 있습니다. Debian 명령 줄에서 호스트를 확인할 수 없습니다.
[email protected](none):~$ sudo service nginx start
sudo: unable to resolve host (none)
[sudo] password for rogue:
내 호스트와 호스트 파일을 보면, 내가 ': 모든 진행 명령이 경고 메시지가 나타날
Using username "rogue".
[email protected]<my-ip>'s password:
Linux (none) 3.13.7-x86_64-linode38 #1 SMP Tue Mar 25 12:59:48 EDT 2014 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Apr 27 15:34:56 2014 from ---
[email protected](none):~$
: 그것은 [email protected]
, [email protected]
또는 변형으로, 대신 [email protected](none)
로 표시되지 않습니다 m은 유달리 아무것도 표시되지 않는 :
을/etc/호스트 이름
127.0.0.1 localhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
/etc/hosts 파일
127.0.0.1 localhost
127.0.1.1 debian
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
잠재적으로 내 네트워크 구성에 어떤 문제가 될 수 있을까? 가능하다면, 나는 그것이 [email protected]
을 말한다 싶습니다,하지만 난 127.0.0.1
샘플을 제공 할 수 있습니까? 내 VPS 제공 업체에서 설정 한 이후 샘플을 제공 할 수 있습니다. – Rogue
@ 로고 확인 https://library.linode.com/email/exim/send-only-mta-debian-6-squeeze#sph_set-the-hostname –
@Rogue 죄송합니다. https : //library.linode이어야합니다. # sph_setting-the-hostname –