http://stackoverflow.com/a/19302688 server { server_name www.mysite2.name; return 301 $scheme://mysite2.name$request_uri; } server { #This config is based on https://github.com/daylerees/laravel-website-configs/blob/6db24701073dbe34d2d58fea3a3c6b3c0cd5685b/nginx.conf server_name mysite2.name; # The location of our project's public directory. root /usr/share/nginx/mysite2/live/public/; # Point in..
1. NginX 웹서버의 사용자 계정 확인$ cat /etc/nginx/nginx.conf | grep useruser nginx음... nginx 로군. 2. 웹서버 루트 실제 경로 확인/home 아래 호스팅 계정이라 가정$ vi /etc/nginx/conf.d/vhost.confserver { ...... root /home/some/public_html ......} 3. 퍼미션과 owner 확인$ namei -om /home/some/public_html접근 권한을 확인하고 chmod, chown 사용하여 적절히 변경한다. 4. 퍼미션 등 확인웹서버 로그 설정 확인하여 tail 명령 실행$ tail -f /var/log/nginx/some_error.log브라우저로 사이트 접속 시도위 tail 명..
Referencehttps://github.com/barryvdh/laravel-debugbar https://github.com/barryvdh/laravel-debugbar/issues/387 Execute in Terminalcomposer require barryvdh/laravel-debugbar ">=2.0" --dev Add to config/app.phpproviders[] : Barryvdh\Debugbar\ServiceProvider::class, alias[] : Barryvdh\Debugbar\ServiceProvider::class, Execute in Terminalphp artisan vendor:publish Add to app/Http/routes.php: Route::ge..
time curl http://www.abc.com
콘솔 스크립트를 백그라운드 실행 데몬으로 띄우고 나서 이 백그라운드 실행히 불시에 중단된다면? 데몬으로 역할은 기대하기 힘들 것.콘솔 백그라운드 실행이 데몬의 역할을 수행 할 수 있도록 관리해주는 유틸이 supervisor각 스크립트마다의 supervisor 관리 설정은/etc/supervisord.d/ 하위에 thumbor.conf 와 같은 설정파일을 작성하고service supervisord start 상태에서supervisorctl [status|stop|stop|restart] thumbor:와 같이 제어. (http://stackoverflow.com/a/9310434)
출처 = http://caiustheory.com/automatically-deploying-website-from-remote-git-repository/2009-05-30 02:30:40 시작전에, I’ll just quickly run through where I put stuff on my server. 아파치 로그와 설정은 각각 다음의 우분투 기본 폴더에 있다: /var/log/apache2 와 /etc/apache2/. 웹사이트: /home/caius/vhosts//htdocsGit 저장소: /home/caius/git/.git ~/projects/somesite.com/에 git 로컬 저장소를 가지고 있고, 웹서버에 배포하기를 원한다.나는 git 저장소를 ~/git/에 보존할것이고, (ssh..
......
- Total
- Today
- Yesterday
- CSS
- Wordpress
- 한글
- ASP
- macos
- sencha touch
- IOS
- javascript
- PHP
- iphone
- nginx
- iis
- git
- 워드프레스
- Android
- mssql
- classic asp
- Linux
- Debug
- Docker
- Mac
- 안드로이드
- IE
- JQuery
- centos
- Prototype
- API
- laravel
- nodejs
- JSON
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |