GitHub에 저장소를 복제했으며 설치 지침을 찾고 있습니다.Mac에 Cloud Manager를 설치하려면 어떻게해야합니까?
- CD/이제 어떻게
https://github.com/cldmgr/cloud-manager.git
지금까지, 나는 (맥 터미널에서) 다음 단계를 완료했습니다?
GitHub에 저장소를 복제했으며 설치 지침을 찾고 있습니다.Mac에 Cloud Manager를 설치하려면 어떻게해야합니까?
https://github.com/cldmgr/cloud-manager.git
지금까지, 나는 (맥 터미널에서) 다음 단계를 완료했습니다?
지금까지 해 온 것은 완벽합니다.
설치 프로그램을 실행하기 전에/opt/cloud-manager를 PATH 변수에 추가하십시오. 하기 위해 당신에게 당신의 인프라에 대한 질문의 무리를 요청합니다
이export PATH=${PATH}:/opt/cloud-manager
다음 단계는 설치 프로그램을 실행하는 것입니다 : 배쉬를 들어, 아래 홈 디렉토리의 .bash_profile을 파일처럼 다음 추가합니다 CM (Cloud Manager)을 구성하십시오.
참고 : 'git clone'명령을 포함하여 설치를 수행하기 전에 CM을 실행하려는 사용자 계정으로 로그인해야합니다. 그것은 당신의 응답 파일을 저장하도록 요청합니다
## Welcome to Cloud Manager (CM) Installer
This installer was launched because CM could not find a configuration file
and/or Ansible inventory file where expected. The following interview will
prompt you for all information needed to configure CM.
After the interview, you'll be prompted to save your answers to a response file. This is convenient in the event you want to re-configure CM without answering all the (annoying) questions again.
To do so, run "./methods/cm-init -r templates/<your_responseFile>"
## Configuring CM Core Server
Enter hostname/ip for the CM control node [localhost]:
--> accepted: localhost
Master Private Key (managed server access) [keys/master/cm-master]:
--> accepted: keys/master/cm-master
Master Public Key (managed server access) [keys/master/cm-master.pub]:
--> accepted: keys/master/cm-master.pub
Master User Account [cmadmin]:
--> accepted: cmadmin
Master Password - Cleartext [null-disallowed]:
--> accepted: ********
...
인터뷰의 끝에서 :
$ ./methods/cm-install
그것은 다음과 같을 것이다 :
다음은 인터뷰를 시작하는 방법은 다음과 같습니다. 나중에 CM을 사용하는 법을 배우면서 모든 것을 기본값으로 다시 설정하려는 경우 나중에 시간을 절약 할 수 있으므로 그렇게하는 것이 좋습니다.
에 대한 응답 파일을 사용하여 설치 프로그램을 다시 실행, 실행
$ cm
Usage: cm [<options>] <method> [args]
[methods]
Configuration:
group <add|remove|addAttr|removeAttr|addRule|removeRule> [args]
ipam <subnet|range|checkout|checkin> [args]
Infrastructure:
create [-s][-f] <hostname> <group> [args]
createN [-s|-r] <clusterName> <N> <hostnameBase> <group> [args]
configure [-s] <hostname> [args]
deploy [-s] <hostname> <playbookName> [args]
power [-s] <on|off|cycle> [args]
decommission [-s] [-h <hostname>|all]
[-g <groupName>]
[-c <clusterName>]
reprovision [-s] <hostname>
Continuous Integration:
dso [-s] <name> <ansible|chef|puppet|cm> [args]
pipeline <add|remove|addAttr|removeAttr> [args]
System:
show <server|group|job|subnet|subnetMap|cluster> [args]
connect <hostname> [args]
system <vboxCli|encrypt> [args]
runScript <scriptName>
runCmd <hostname> <command>
[options]
-s : show standard output from ansible playbook
-x : show extended help
:
가 이제 CM이 구성되어
$ ./methods/cm-init -c -r templates/your-response-file.resp
바로 사용 문을보고 'cm'을 입력