http://komplog.blogspot.kr/2012/11/xenserver-61-create-local-iso-repository.html
http { proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=STATIC:10m inactive=24h max_size=500m; server { location / { proxy_pass http://1.2.3.4; proxy_set_header Host $host; proxy_cache STATIC; proxy_cache_valid 200 1d; proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504; } } }
root 18999 0.0 0.0 45536 1300 ? Ss Dec06 0:00 nginx: master process /usr/sbin/nginx www-data 19000 0.0 0.0 50088 7080 ? S Dec06 0:33 \_ nginx: worker process www-data 19001 0.0 0.0 50144 7080 ? S Dec06 0:33 \_ nginx: worker process www-data 19002 0.0 0.0 50112 7084 ? S Dec06 0:33 \_ nginx: worker process www-data 19003 0.0 0.0 50080 7080 ? S Dec06 0:34 \_ nginx: worker process www-data 19004 0.0 0.0 45732 1628 ? S Dec06 0:02 \_ nginx: cache manager process
http://kwonnam.pe.kr/wiki/nginx/proxy_cache
http://kilim.tistory.com/10
http://edendev.egloos.com/viewer/3257937
http://kray.jp/blog/nginx/
* config/database.php 아래 추가
$db['pdo']['hostname'] = 'mysql:host=localhost;dbname=codeigniter';
$db['pdo']['username'] = 'codeigniter';
$db['pdo']['password'] = 'codeigniter';
$db['pdo']['database'] = 'codeigniter';
$db['pdo']['dbdriver'] = 'pdo';
* 사용하는 방법 (CI 그대로 사용)
//load the pdo db config
$this->pdo = $this->load->database('pdo', true);
//using the pdo config
$stmt = $this->pdo->query("SELECT * FROM users");
var_dump($stmt->result());
//using the pdo config with active record
$stmt = $this->pdo->get("users");
var_dump($stmt->result());
예제: http://codeigniter-kr.org/user_guide_2.1.0/database/examples.html
출처: http://codebyjeff.com/blog/2013/03/codeigniter-with-pdo
지금까지 나온 zend eclipse pdt 3.8 (all in one) 은 indigo 버전이다.
한글화를 해주는 babel프로젝트에서 다운받을때도 indigo 버전을 받으면 된다.
http://www.eclipse.org/babel/downloads.php
에서 최신버전을 url을 찾아
install new software 에서 설치하자.
http://download.eclipse.org/technology/babel/update-site/R0.11.0/indigo