Python fabric으로 서버 관리 자동화
fabric 설치 1pip install fabriccs install.py(fabfile.py) 스크립트 작성123456789101112131415161718192021222324252627from fabric.state import outputfrom fabric.api import run, env, put, sudo #env.hosts=[# "root@server-001.test.com"#]#env.password = "passwd" #env.warn_only = True#output.status = False#output.everything = Falseenv.disable_known_hosts = Trueenv.reject_unknown_hosts = False def install_daemon..
엔지니어링
2017. 2. 7. 11:51
warpmemory
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
페이지
TAG
- command
- 이슈처리
- 명령어
- limits
- File
- Windows
- Web
- deview
- Python
- RESTful
- monitoring
- client
- mysql
- apache
- 예제
- Linux
- code
- configuration
- httpd
- Module
- PowerShell
- error
- Ansible
- 외부링크
- MariaDB
- example
- 코드
- 번역
- check
- engineering
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
글 보관함