콘솔 스크립트를 백그라운드 실행 데몬으로 띄우고 나서 이 백그라운드 실행히 불시에 중단된다면? 데몬으로 역할은 기대하기 힘들 것.콘솔 백그라운드 실행이 데몬의 역할을 수행 할 수 있도록 관리해주는 유틸이 supervisor각 스크립트마다의 supervisor 관리 설정은/etc/supervisord.d/ 하위에 thumbor.conf 와 같은 설정파일을 작성하고service supervisord start 상태에서supervisorctl [status|stop|stop|restart] thumbor:와 같이 제어. (http://stackoverflow.com/a/9310434)
# htpasswd 명령이 필요한데... 무슨 패키지를 설치해야 하나?# yum provides \*bin/htpasswd 명령으로 패키지명 조회httpd-tools-2.2.15-39.eI6.centos.x86_64 : Tools for use with the Apache HTTP Server Filename : /usr/bin/htpasswd# yum install httpd-tools 로 설치# rpm -qa | grep httpd-tools 로 설치된 패키지 확인 httpd-tools-2.2.15-39.eI6.centos.x86_64# which htpasswd 로 설치된 파일 확인 /usr/bin/htpasswd완료!
직접 수정 # vi /etc/sysconfig/iptables 수정 후# iptables -L -v 로 확인 후# service iptables restart # service iptables save 명령어 이용 현재 룰셋 확인 $ iptables -nL --line-numbers또는$ service iptables status해당 줄에 허용 룰셋 삽입 $ iptables -I INPUT {X줄번호 위에 삽입} -s 192.168.0.1,192.168.0.3,192.168.10.1,192.168.10.5 -p tcp --dport {포트} -j ACCEPT -m comment --comment "코멘트" $ iptables -I INPUT {X줄번호 위에 삽입} -s 192.168.0.2 -p tcp ..
$ tar -czf out.tar.gz --no-recursion --files-from
source .bash_profile
- Total
- Today
- Yesterday
- nginx
- ASP
- PHP
- Linux
- Mac
- 워드프레스
- iis
- mssql
- 안드로이드
- javascript
- Wordpress
- sencha touch
- Android
- iphone
- JSON
- 한글
- IE
- laravel
- IOS
- macos
- git
- centos
- JQuery
- Debug
- CSS
- Prototype
- classic asp
- nodejs
- API
- Docker
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |