2013. 7. 15. 01:01

Ubuntu 12.04 LTS 64bit 에 Chef Server 설치하기

좀더 정리가 필요하지만, 일단은 다음과 같다.



Ubuntu Desktop 12.04 LTS 64 bit (32bit는 Chef 설치안됨)



설치하기전 준비 사항


FQDN 이 설정되어야 함.


> hostname

sskk-VirtualBox


> hostname -f

hostname: Name or service not known


과 같이 나오는 경우, 


> sudo gedit /etc/hosts


127.0.0.1 test.org test.org localhost.localdomain sskk-VirtualBox localhost


* You must specify the host name(above sskk-VirtualBox) in the list.


http://docs.opscode.com/install_server.html


* Go to http://www.opscode.com/chef/install.


* Click the Chef Server tab.


* Select the operating system, version, and architecture.


* Select the version of Chef Server 11.x to download, and then click the link that appears to download the package.


* Install the downloaded package using the correct method for the operating system on which Chef Server 11.x will be installed.


* Configure Chef Server 11.x by running the following command:


  $ sudo chef-server-ctl reconfigure


* Verify the installation of Chef Server 11.x by running the following command:


  $ sudo chef-server-ctl test


* Visit https://test.org then you can see the below welcom page!