더북(TheBook)

29. 이번에는 아파치를 설정해 보겠습니다. /etc/apache2/apache2.conf 파일을 열어 ServerName을 컨트롤러 노드 IP로 설정합니다.

root@controller:~# vi /etc/apache2/apache2.conf

Global configuration

#

#

ServerRoot: The top of the directory tree under which the server’s

configuration, error, and log files are kept.

#

NOTE! If you intend to place this on an NFS (or otherwise network)

mounted filesystem then please read the Mutex documentation (available

at <URL:http://httpd.apache.org/docs/2.4/mod/core.html#mutex>);

you will save yourself a lot of trouble.

#

Do NOT add a slash at the end of the directory path.

# #ServerRoot “/etc/apache2”

ServerName 192.168.56.101

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.