티스토리 뷰
1. python 2.7 path진짜 귀찮게 군다.
나중에 CentOS6 깨끗한거 ㅎㅏ나 구해서 깔끔하게 설치하는 법이라도 정리해야겠다 진짜 힘들다...
이번에 참고한 자료들
http://stackoverflow.com/questions/7880454/python-executable-not-finding-libpython-shared-library
https://code.google.com/p/modwsgi/wiki/InstallationIssues
http://stackoverflow.com/questions/16986952/how-to-ignore-local-python-when-building-python-from-source <<- 좋은 방법이었음
http://dbrang.tistory.com/740 // Configure의 옵션을 정리해 주심
Django
https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-apache-and-mod_wsgi-on-centos-7
mod-python
근데 정작 이걸로 돌리진 않아서 모르겠다... 나는 mod_wsgi.py가 설정되어잇어서 이걸로 돌림.
http://surgo.jp/2009/11/centos-django-with-python26-modpython.html
mod_wsgi.py 관련
http://stackoverflow.com/questions/17996628/apxserror-command-failed-with-rc-65536
http://qiita.com/iorionda/items/b11bba878dbeece412e7
Apache
http://qiita.com/mtb_beta/items/593eec1966a7d5cfd1a1#%E3%81%93%E3%81%93%E3%81%BE%E3%81%A7%E3%81%AE%E6%B5%81%E3%82%8C // Apache-Django 연동할때 많은 도움을 받았다. (일본어)
http://qiita.com/ngc224/items/85d82fdfe4e664e53b7e //Apache-Django (일본어)
http://brain-trust.tistory.com/91 여기도 많이 참고함 (한국어)
http://stackoverflow.com/questions/9943042/htaccess-order-deny-allow-deny
http://www.cyberciti.biz/faq/howto-find-unix-linux-apache-documentroot/ //configuration들어가는거 자꾸 까먹음
* Django로 sqlite3사용시 unable to open database file이라는 에러가 뜨는 경우 해결 방법.
http://d.hatena.ne.jp/paraches/20150206
CentOS기준 apache에서 sqlite3.connect에서 'db'파일 이름만으로는 가지고 올 수 없고 절대경로를 주어야 database를 오픈 할 수 있는 것 같다.
예를 들면, .db파일이 /var/www/html 에 있다면 sqlite.connect에서 open할때 이름에 아예 경로까지 주어야 정상적으로 file을 오픈할 수 있다.
sqlite3.connect('var/www/html/example.db')
이런식으로 입력하면 잘 열린다. 아.. 이것때문에 2시간이나 고생했네.
- Total
- Today
- Yesterday
- 리스너
- 비마니
- Reflec Beat limelight
- 휴런
- 오사카
- 투회의
- android
- Crimm
- 증강현실
- FF14
- Arcadia
- Translation
- Dormir
- TOMOSUKE
- 일본
- Qrispy Joybox
- 도쿄
- NMR
- REFLEC BEAT groovin'!!
- Pop'n music
- 안드로이드
- DJ YOSHITAKA
- 덕질여행
- BRF
- 파이널판타지14
- DJ TOTTO
- BEMANI
- 여행
- 파이널 판타지14
- 작곡해봤다
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |