ラズパイ hosts

network

以下の場所にアクセス先のIPに対応した好きな名前を記述。これでIPをしてしないでアクセスできる。
$ssh root@sakura

$cat  /etc/hosts

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

153.127.xxx.xxx  sakura

No tags for this post.
タイトルとURLをコピーしました