Python Ansible 셋팅 & 사용법
현재 Ansible 컨트럴 서버는 python2는 2.6이상, python3는 3.5 이상이 설치 되어있어야한다.설치 방법은 어러가지가 있으나, pip 로 설치하면 의존성 패키지까지 바로설치 되기 때문에 제일 간편하게 설치할 수 있다. python 설치easy_install pippip install ansible 기본값 설정 파일 /etc/ansible/ansible.cfg 생성기본 설정 파일 : https://raw.githubusercontent.com/ansible/ansible/devel/examples/ansible.cfg설정 디스크립션 : http://docs.ansible.com/ansible/latest/intro_configuration.html inventory 설정 파일 /etc/a..
엔지니어링
2017. 9. 18. 10:44
Httpd .htaccess 로 특정 파일 특정 아이피 접근 제어
접근 제어 디렉토리에 .htaccess 파일을 생성 12345678910Order allow,denyAllow from 111.111.111.111Allow from 222.222.222.222 Order allow,denyAllow from allcs 위와 같이 설정하면, 해당 디렉토리 모든 파일 접근은 111.111.111.111, 222.222.222.222 IP에서만 접근 가능하고,service.php 파일에 대해서만 모든 IP에서 접근 가능하게 된다.
엔지니어링
2017. 9. 15. 09:51
warpmemory
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
페이지
TAG
- limits
- Ansible
- 명령어
- PowerShell
- File
- Web
- 이슈처리
- Linux
- deview
- Windows
- 번역
- command
- MariaDB
- check
- httpd
- apache
- error
- 코드
- Python
- code
- monitoring
- RESTful
- example
- engineering
- 외부링크
- Module
- mysql
- configuration
- client
- 예제
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
글 보관함