Python 공부 노트 11. Module install 1. pip 를 이용한 인스톨- 먼저 pip가 깔려 있어야 한다. $Python_home/scripts에 들어가서 %> easy_install pip 를 하면 pip가 인스톨 됨- 그후에, pip {모듈명} 2. 방화벽등으로 인하여 easy_install등이 불가할 경우- 모듈을 다운로드 받고 압축을 푼다. (보통 install을 위한 setup.py 파일이 있음)- python setup.py install 을 수행 프로그래밍/Python 2014.01.02
mongodb locking * Single write lock (per database)* Reader-Writer lock : allowing concurrent access to multiple threads for reading but restricting access to a single thread for writes (or other changes) to the resource (from wikipedia) In computer science, a readers-writer or shared-exclusive lock (also known as the multiple readers / single-writer lock[1] or the multi-reader lock,[2] or by typographical varia.. 클라우드 컴퓨팅 & NoSQL/MongoDB 2014.01.02
RabbitMQ 기본 기동 1. 설치- Erlang 설치- Rabbit MQ 다운로드 후 설치 2. 기본 명령서버 기동 : sbin/rabbitmq-server start. 윈도우즈에서는 services.msc에서 서비스로 시작상태 체크 : sbin/rabbitmqctl status서버 중지 : sbin/rabbitmqctl stop3. Web Admin 모듈web admin 모듈 enable - "rabbitmq-plugins enable rabbitmq_management" (이다음 서비스를 restart해야 함)http://localhost:15672/ 접속후 guest/guest로 로그인 클라우드 컴퓨팅 & NoSQL/RabbitMq 2014.01.02