Skip to content

Instantly share code, notes, and snippets.

View deuxksy's full-sized avatar
๐ŸŒด
On vacation

Crong deuxksy

๐ŸŒด
On vacation
View GitHub Profile
## Configuration options with # in front are not active and they were
## valid at install time. Updating the package does not update this file
## automatically.
## Latest options listed at:
## https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template
## Url on which GitLab will be reachable.
## For more details on configuring external_url see:
## https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/configuration.md#configuring-the-external-url-for-gitlab
@deuxksy
deuxksy / docker-swarm.md
Created June 23, 2024 14:21 — forked from rabelais88/docker-swarm.md
์Šคํƒ€ํŠธ์—…์— traefik + docker-swarm์„ ์ถ”์ฒœํ•˜๋Š” ์ด์œ 

์Šคํƒ€ํŠธ์—…์— traefik + docker-swarm์„ ์ถ”์ฒœํ•˜๋Š” ์ด์œ 

  • Traefik: Reverse-proxy router
  • Docker-swarm: Docker-supported orchestrator

์™œ Docker-Swarm์ธ๊ฐ€?

  • kubernetes(์ดํ•˜ k8) ๋Š” ๋ฌด๊ฒ๊ณ  ๋А๋ฆฌ๋‹ค. docker-swarm(์ดํ•˜ DS) ์€ docker ์ตœ์‹ ๋ฒ„์ „์— ๊ธฐ๋ณธ์œผ๋กœ ํƒ‘์žฌ๋˜์–ด ๋‚˜์˜จ๋‹ค. ๋˜ํ•œ helm์ด๋‚˜ ๋ณ„๋„์˜ ๊ด€๋ฆฌ cli(kubeadm, kubectl)๋ฅผ ์„ค์น˜ํ•  ํ•„์š”๊ฐ€ ์—†๋‹ค.

  • k8 ์€ ์„ธํŒ…๋„ ์–ด๋ ต๋‹ค: ์„ธํŒ…ํ•˜๊ธฐ๊ฐ€ ์›Œ๋‚™ ๊นŒ๋‹ค๋กœ์›Œ ์‹ค์ œ๋กœ ์šด์˜ํ•˜๊ธฐ ์ ์ ˆํ•œ ๊ฒฝ์šฐ๋Š” devops ํŒ€์„ ๊ฐ€์ง„ ์ตœ์†Œ 20๋ช… ์ด์ƒ์˜ ๋Œ€๊ทœ๋ชจ ์‚ฌ์ด์ฆˆ ํŒ€์ด๋‹ค. ํ•œ ๋ช…์ด ์ž‘์—…ํ•˜๋Š” ๊ฒƒ์ด ์•„์ฃผ ๋ถˆ๊ฐ€๋Šฅํ•œ ๊ฒƒ์€ ์•„๋‹ˆ์ง€๋งŒ, ๊ธด๊ธ‰์ˆ˜์ •์‹œ์—๋Š” ๋งŽ์ด ์œ„ํ—˜ํ•ด์งˆ ์ˆ˜ ์žˆ๋‹ค. ์ด์›์ด 10๋ช…์ด ๋˜์ง€ ์•Š๋Š” ์šฐ๋ฆฌํŒ€ ๊ฐ™์€ ๊ฒฝ์šฐ๋Š” ํ•œ ์‚ฌ๋žŒ์ด ๊ธ‰ํ•˜๊ฒŒ ๊ธฐ๋Šฅ์ˆ˜์ •์„ ํ•ด์•ผ๋  ์ผ์ด ๋งŽ๋‹ค.

@deuxksy
deuxksy / squid_proxy_tutorial.md
Created June 23, 2024 11:59 — forked from jackblk/squid_proxy_tutorial.md
Tutorial on how to setup a squid proxy with authentication.

Note

This tutorial is for Ubuntu & Squid3. Use AWS, Google cloud, Digital Ocean or any services with Ubuntu to follow this tutorial.

Install squid & update

sudo apt-get update
sudo apt-get install squid3
sudo apt-get install apache2-utils
@deuxksy
deuxksy / readme.md
Created January 13, 2023 14:35 — forked from legowerewolf/readme.md
Tailscale on Steam Deck

Tailscale on the Steam Deck

This process is derived from the [official guide][official-guide], but lightly tweaked to make the process smoother and produce an installation that comes up automatically on boot (no need to enter desktop mode) and survives system updates.

Installing Tailscale

โš ๏ธ This process will probably fail if you are accessing the terminal over Tailscale

S3_ACCESS_KEY_ID_GITLAB_BACKUP=<ACCESS_KEY>
S3_SECRET_ACCESS_KEY_GITLAB_BACKUP=<SECRET_KEY>
@deuxksy
deuxksy / easy-client-vpn-strongswan.md
Created October 17, 2019 03:21 — forked from clivetyphon/easy-client-vpn-strongswan.md
Easy client VPN for all major platforms using strongSwan IPsec

Easy client VPN for all major platforms using strongSwan IPsec

Overview

The goal here is to provide quick and easy but secure client VPN that can be configured natively without any additional software on:

  • Linux
  • iOS
  • Android
  • Windows
  • OSX
@deuxksy
deuxksy / key.md
Created March 10, 2019 11:46
FREE IntelliJ IDEA key 2018.2!

READ or DIE

  • put 0.0.0.0 account.jetbrains.com into your hosts file (C:\Windows\System32\drivers\etc\hosts or /etc/hosts)
  • for GayOS macOS read that
  • use the key below
K71U8DBPNE-eyJsaWNlbnNlSWQiOiJLNzFVOERCUE5FIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJSUzAiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJXUyIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IlJEIiwicGFpZFVwVG8iOiIyMDE5LTA1LTA0In0seyJjb2RlIjoiUkMiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJEQyIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IkRCIiwicGFpZFVwVG8iOiIyMDE5LTA1LTA0In0seyJjb2RlIjoiUk0iLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJETSIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IkFDIiwicGFpZFVwVG8iOiIy
@deuxksy
deuxksy / centos_python_env_setup
Created September 23, 2016 07:33 — forked from floer32/centos_python_env_setup
CentOS 6: Install Python 2.7.4, pip, virtualenv, and virtualenvwrapper on CentOS (plus some bonus items at the end if you want). You should probably run with `sudo`.
#!/bin/bash
# Source: http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/
# Install stuff #
#################
# Install development tools and some misc. necessary packages
yum -y groupinstall "Development tools"
yum -y install zlib-devel # gen'l reqs