신뢰성 있고 빠르게 Nginx 설정 파일을 json 형식 데이터로 파싱 하고, 반대로 빌드할 수 있는, Python 모듈 crossplane을 소개합니다. Nginx text 설정을 json 형식 데이터로 변환 crossplane parse --indent 4 --include-comments /home/apps/nginx/conf/nginx.conf > nginx.conf.json Nginx Json 형식 설정 데이터를 text 설정으로 변환 crossplane build --stdout nginx.conf.json nginxinc/crossplane Quick and reliable way to convert NGINX configurations into JSON and back. - nginxinc..
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..
- Total
- Today
- Yesterday
- httpd
- apache
- code
- Web
- mysql
- 명령어
- example
- Ansible
- client
- check
- engineering
- 코드
- RESTful
- MariaDB
- limits
- 번역
- 이슈처리
- monitoring
- error
- PowerShell
- configuration
- Linux
- 예제
- Module
- Python
- command
- Windows
- File
- deview
- 외부링크
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |