전체 글 266

[Git] 서버 배포 설정 From 리모트 레파지토리(bare 레파지토리 활용)

bare 레파지토리를 활용하여, .git디렉토리가 분리된 배포를 수행할 수 있다. 예제 변수 리모트 레파지토리: git@remote-repository:user/project.git 배포 디렉토리: /var/www/html 브랜치: master 깃 디렉토리: /home/user/repo/project.git 1. bare 레파지토리 생성 mkdir ~/repo cd ~/repo git clone --bare git@remote-repository:user/project.git 2. 배포 git --work-tree=/var/www/html --git-dir=/home/user/repo/project.git checkout -f master 이 후엔 쉘 스크립트를 활용한, checkout & pull(fe..

dev/linux 2019.08.26

developer.apple.com 에서 결제하기

시기 2019년 8월 사용된 OS: windows 10 64bit 상황 developer.apple.com은 모던 브라우져만을 지원한다. IE11에서 정상동작하지 않는다. 앵귤러로 동작하므로 javascript를 끌 수도 없다. 그리고 결제시 inicis는 ie11이하만을 지원한다. 고로 결제를 할 수가 없다. 2018년에도 있던 현상인데 1년후에도 똑같다!! 멋지다. 정말 멋지다!! 애플도, 이니시스도.. ㄳㄲㄷㅇ!!!

etc/review 2019.08.16

[Troubleshooting] php-fpm 504 Gateway Time-out

nginx + php-fpm 조합으로 서버를 사용중인데, 갑자기 서버가 반응이 느려지더니 504 Gateway Time-out 발생함. /var/log/php-fpm/error.log를 확인하니 WARNING: [pool www] child xxxx said into stderr: "ERROR: Unable to set php_value 'soap.wsdl_cache_dir'" 라고 적혀있다. /etc/php-fpm.d/www.conf 를 열어보니 php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache 로 되어있다. 해당 경로로 가보니 단순한 권한 문제가 있어 보여서 수정했지만, 문제는 해결되지 않았다. session_start(); 에서 문제가 발생함을 확인..

dev/linux 2019.07.26