GitLab docker

GitLab docker로 이전 이번에 대대적인(?) 서버 이전을 감행하면서 gitlab을 standalone으로부터 docker 이미지로 바꾸기로 계획했다. 백업 기존 gitlab에서 백업 후 새로 연 docker판 gitlab으로 복원을 위해 먼저 백업/복원 방법을 확인한다. ref: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/raketasks/backup_restore.md Ubuntu 14.04에 apt-get을 통해 설치한 gitlab이므로…

Telegram Proxy Server 구축

Telegram Proxy Server 구축하기 MTProxy를 이용한 방법과 Socks5를 사용한 방법이 있다. Docker 이미지로 모두 준비되어 있으므로 둘 다 다루도록 한다. MT-Proto Proxy https://github.com/TelegramMessenger/MTProxy https://hub.docker.com/r/telegrammessenger/proxy/ 텔레그램 측에서 Docker 이미지를 만들어 배포하고 있으므로 그걸 그냥 가져다가 쓰도록 한다. docker run -d -p…

Windows 10 PS/2 Keyboard 인식 문제

Windows 10 PS/2 Keyboard 인식 문제 집에서 쓰던 ABKO 키보드가 싸구려답게, 채터링 문제로 너무 짜증나게 만들어서, 이번에 레오폴드 FC750R PD(저소음 적축) 제품을 구매했다. 이 제품엔 PS/2 젠더를 포함하고 있는데, PS/2로 연결하면 키보드 반응속도 조절 및 N키롤오버가 기본 지원 등의 기능 상 약간 차이를 보인다. 따라서 PS/…

GitLab with Let's Encrypt integration

GitLab with Let's Encrypt integration GitLab이 10.5부터 Let's Encrypt를 자체적으로 지원하기 시작했네. 참고로 2018년 4월 현재 이미 GitLab 버전은 10.6.x임.. 올라간지 좀 됐나본데 ㅋ 아마도 ACMEv2는 안 될지도 모르겠고.. 사실상 GitLab 단독으로 쓰는 경우도 크게 많지 않을걸로 보여서.. 간단하게 방법만 정리. ref: https://www.digitalocean.com/community/…

Let's Encrypt ACMEv2 with Cloudflare

Let's Encrypt ACMEv2 with Cloudflare ref: http://www.eigenmagic.com/2018/03/14/howto-use-certbot-with-lets-encrypt-wildcard-certificates/ 최근 Let's Encrypt가 와일드카드 도메인을 지원하게 되었다. Let's Encrypt 갱신 기존에 쓰던건 github에서 clone해서 사용하던건데, 이젠 뭔가 많이 바뀌었더군. Certbot 사이트에서 적절하게 설치 방법을 획득할 수 있다. 난 Apache2에 Ubuntu 14.04이므로 다음 방법을 이용해서 설치했다.…

Ghost 1 with Docker

Ghost 1.x with Docker ref: https://blog.alexellis.io/your-ghost-blog/ 몰랐는데 Docker hub에 ghost가 올라가 있더라.. 우왕ㅋ 1.22 최신은 아니지만 그래도 이게 어딤 ㅎ 그래서 기존에 설치되어 있던 0.11을 날려버리고 Docker로 이전했다. 이전 0.11에서 1.22로 올라가려 했더니 Ubuntu 16.04 이상이 아니라서 뭐라 뜨고, 램이…

Docker registry behind Cloudflare with apache2 proxy

Cloudflare 하에서 Docker registry (+apache2 proxy) 구축 (단, Apache2는 기존 서버에 돌리던거라 docker 컨테이너가 아님.) ref: https://konstantinpavlov.net/blog/2016/09/14/deploying-private-docker-registry-behind-cloudflare/ ref: https://github.com/docker/distribution/tree/master/contrib/apache 아파치 설정 ServerName Docker_Registry_도메인_주소 ServerAlias www.Docker_Registry_도메인_주소 SSLEngine…

RHEL/CentOS 5 git, vim, wget, curl installation

RHEL/CentOS 5 git, vim, wget, curl update & installation yum repo update http://kkckc.tistory.com/185 wget --no-check-certificate https://www.openssl.org/source/openssl-1.0.2n.tar.gz tar xf openssl-1.0.2n.tar.gz cd openssl-1.0.2n ./config -fpic shared make make install wget https://curl.haxx.…