apm설치첫단계에서 에러가생겨요.
mysql압축풀고 make;make install 한뒤 아래 명령을 내리면 에러가 뜨는데
이유를 도무지 모르겠습니다....
#./scripts/mysql_install_db
Sorry, the host 'net302' could not be looked up.
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
mysql_install_db 는 호스트 이름을 조회하는데 hostname 이 이름을 풀지 못해서 생기는 에러입니다. /etc/hosts 에 'IP 호스트이름' 줄을 넣어 주면 해결됩니다.
임시로 넘어가려면 --force 옵션을 주고 실행해도 되지만, /etc/hosts 설정이 근본 해결입니다.