Programmer Application Note

2016년 6월 7일 화요일

docker gitlab 설치

오후 10:17 Posted by PAN.SPOT , , No comments
$sudo docker search gitlab $sudo docker pull gitlab/gitlab-ce $sudo docker run --detach \ --hostname gitlab.example.com \ --publish 443:443 --publish 80:80 --publish 222:22 \ --name gitlab \ --restart always \ --volume /srv/gitlab/config:/etc/gitlab \ --volume /srv/gitlab/logs:/var/log/gitlab \ --volume /srv/gitlab/data:/var/opt/gitlab \ gitlab docker run 시 옵션은 상황에...

docker 자동완성

오후 5:48 Posted by PAN.SPOT , No comments
docker 자동완성 $cd ~ $curl -o .docker-completion.sh https://raw.githubusercontent.com/docker/docker/master/contrib/completion/bash/docker $sudo vi .profile "source .docker-completion.sh" 추...

2016년 4월 25일 월요일

opensource cloud owncloud 설치 방법 ubuntu용

오후 11:33 Posted by PAN.SPOT No comments
https://download.owncloud.org/download/repositories/stable/owncloud/ xUbuntu_14.04 owncloud-9.0.1-3.1 You can add the repository key to apt. Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information). Run the following shell commands as root to trust the repository: wget -nv https://download.owncloud.org/download/repositories/stable/xUbuntu_14.04/Release.key...

2016년 2월 15일 월요일

git ^M 문자 제거 및 diff ^M 문자 표시 제거

오후 6:35 Posted by PAN.SPOT , , No comments
linux 사용자일 경우 아래와 같이 설정 하면 된다. $ git config --global core.autocrlf input $ git config --global core.whitespace \ trailing-space,space-before-tab,cr-at-eol 보다 자세한 내용은 아래참조. (출처 : https://git-scm.com/book/ko/v1/Git%EB%A7%9E%EC%B6%A4-Git-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0) core.autocrlf 윈도에서 개발하는 동료와 함께 일하면 줄 바꿈(New Line) 문자에 문제가 생긴다. 윈도는 줄 바꿈 문자로 CR(Carriage-Return)과 LF(Line Feed)...

2016년 2월 14일 일요일

git 명령어 모음

오후 7:52 Posted by PAN.SPOT , , No comments
git 유용한 명령어 모음 삭제된 파일만 되돌리기 git ls-files -d | xargs git checkout -- git remote 정보 보기 git remote show origin branch 생성과 동시에 checkout 하기 git checkout -b <branch> branch 생성과 동시에 checkout 하고 remote와 동기화 하기 git checkout -b <branch> origin/<branch> 로컬 브랜치를 원격 브랜치로 push 하기 git push origin <branch> 로컬 브랜치를 remote의 master브랜치에 push 하기 git push origin <branch>:master 로컬...

2016년 1월 5일 화요일