macOS 운영체제 기반 PHP 개발 환경에서 homestead 대신 docker 를 서버로 사용하려 laradock 설치 및 셋팅을 하던 중 xdebug 연동시 remote_host 주소 셋팅 단계가 되었는데기존 macOS 용 docker 는 hypervisor 인 VirtualBox 기반이어서 호스트 IP 주소를 VirtualBox 의 네트워크 설정을 열어보면 쉽게 알 수 있었는데현재 macOS 용 docker 는 linux 와 같이 hypervisor 가 필요 없게되어 자원낭비도 줄일 수 있는 등 여러모로 좋으나, xdebug 연동하려다보니 remote_host 주소를 어디서 조회해봐야 하는지 오리무중이라 구글링! docker 컨테이너에서 호스트 ip 접근 방법 #1 (택1)https://docs...
root 계정으로 아래 명령 실행$ rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm $ rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm $ cd /etc/yum.repos.d $ curl -O http://rpms.famillecollet.com/enterprise/remi.repo http://itzone.tistory.com/669 참고하여 저장소 enabling http://saksin.tistory.com/1282 참고하여 저장소 추가PHP 5.6.x 설치하려면 remi 저장소의 remi, remi-php56 을 활성화 :$ vi /etc/yum.re..
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 명..
- Total
- Today
- Yesterday
- iis
- ASP
- Android
- iphone
- 한글
- Docker
- Linux
- IE
- PHP
- git
- API
- laravel
- Mac
- Debug
- centos
- Prototype
- classic asp
- JQuery
- JSON
- nginx
- nodejs
- CSS
- macos
- javascript
- Wordpress
- IOS
- mssql
- sencha touch
- 안드로이드
- 워드프레스
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |