New pages

Jump to navigation Jump to search
New pages
Hide registered users | Hide bots | Show redirects
  • 11:43, 30 March 2025K8s/Nginx/Ingress (hist | edit) ‎[12,158 bytes]Shahed (talk | contribs) (Created page with "==Namespace » Academia== <syntaxhighlight lang="bash"> kubectl get ns|grep academia kubectl delete namespace academia kubectl create namespace academia </syntaxhighlight> ==Namespace » Academia » Ingress » Academia== <syntaxhighlight lang="yaml"> cat <<'YML'| kubectl apply -n academia -f - --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: academia namespace: academia labels: app.kubernetes.io/version: 1.0.0 app.kubernetes.io/name:...")
  • 09:37, 27 March 2025K8s/HAProxy/Ingress (hist | edit) ‎[13,331 bytes]Shahed (talk | contribs) (Created page with "==References== {| |valign='top'| * [https://stackoverflow.com/questions/67708284/ K8s » Ingress » Connect to external service] * [https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/ K8s » Ingress » Exposing TCP/UDP services] * [https://kubernetes.github.io/ingress-nginx/user-guide/fcgi-services/ K8s » Ingress » Exposing FastCGI Servers] * [https://stackoverflow.com/questions/59844622/ K8s » Ingress » Different namespaces] * [https://k...") originally created as "K8s/Academia/Ingress"
  • 12:46, 17 March 2025Jar (hist | edit) ‎[1,738 bytes]Shahed (talk | contribs) (Created page with " jar --version ==Compress== <syntaxhighlight lang="bash"> cd /etc/nginx jar -cvf chorke-nginx_academia-production-D20240628-T2023-ZP0800.jar sites-enabled </syntaxhighlight> ==Decompress== <syntaxhighlight lang="bash"> jar -tvf chorke-nginx_academia-production-D20240628-T2023-ZP0800.jar jar -xvf chorke-nginx_academia-production-D20240628-T2023-ZP0800.jar jar -xvf chorke-nginx_academia-production-D20240628-T2023-ZP0800.jar chorke-nginx-academia-production </syntaxhighli...")
  • 13:23, 7 March 2025Cloud/Hetzner/AB (hist | edit) ‎[20,067 bytes]Shahed (talk | contribs) (Created page with "==WAN== {|class="wikitable" |- !scope="col" colspan="4" | Hetzner Instances |- !scope="col" style='width:180px'| Name !scope="col" style='width:140px'| Network !scope="col" style='width:240px'| Subnets !scope="col" style='width:90px' | Forward |- | Hetzner » AA || <code>10.20.41.1/32</code> || <code>10.20.41.1 … 1/32 = 01</code> ||style='text-align:center'| ✅ |- | '''Hetzner » AB''' || <code>10.20.41.2/32</code> || <code>10.20.41.2 … 2/32 = 01</cod...")
  • 12:39, 5 March 2025HAProxy/Frontend (hist | edit) ‎[14,571 bytes]Shahed (talk | contribs) (Created page with "==HAProxy » Reconfig== <syntaxhighlight lang="bash"> cat <<'EXE'| sudo bash if [ -x "$(command -v curl)" ];then export HAPROXY_ETC_BASE=/etc/haproxy bash <(curl -s 'https://cdn.chorke.org/exec/cli/bash/install/haproxy/1.0.0-ubuntu-24.04.sh.txt') curl -fsSL https://cdn.chorke.org/exec/cli/bash/install/haproxy/1.0.0-ubuntu-24.04.sh.txt|tee ${HAPROXY_ETC_BASE}/proxy-scripts/reconfig >/dev/null chmod u+x ${HAPROXY_ETC_BASE}/proxy-scripts/reconfig else printf 'curl \0...")
  • 12:26, 5 March 2025HAProxy/Reconfig (hist | edit) ‎[7,982 bytes]Shahed (talk | contribs) (Created page with "==HAProxy » Reconfig== <syntaxhighlight lang="bash"> #!/bin/bash : ' @vendor Chorke Academia, Inc. @web https://cdn.chorke.org/docs/academia @version 1.0.00 @since 1.0.00 ' :<<DIY cat <<'EXE'| sudo bash if [ -x "$(command -v curl)" ];then export HAPROXY_ETC_BASE=/etc/haproxy bash <(curl -s 'https://cdn.chorke.org/exec/cli/bash/install/haproxy/1.0.0-ubuntu-24.04.sh.txt') curl -fsSL https://cdn.chorke.org/exec/cli/bash/install/haproxy/1.0.0-ubuntu-24.0...")
  • 05:32, 2 March 2025Cloud/Shahed/VA (hist | edit) ‎[7,949 bytes]Shahed (talk | contribs) (Created page with "==Virtual » Hosts== {|class="wikitable" |- !scope="col" colspan="4" | Virtual Instances |- !scope="col" style='width:180px'| Name !scope="col" style='width:140px'| Network !scope="col" style='width:240px'| Subnets !scope="col" style='width:90px' | Forward |- | '''Virtual » Hosts''' || <code>10.20.40.200/29</code> || <code>10.20.40.200 … 207/32 = 08</code> ||style='text-align:center'| ✅ |- | Virtual » Hosts || <code>10.20.40.208/29</code> || <code>10...")
  • 22:37, 23 February 2025Cloud/Shahed/AA (hist | edit) ‎[6,435 bytes]Shahed (talk | contribs) (Created page with "==SSH== <syntaxhighlight lang="bash"> ssh -qt [email protected] cat <<'EXE' | sudo bash free -th && echo && systemd-analyze && echo df -h && echo && lsblk && echo swapon --show EXE </syntaxhighlight> ==Cloudflare » VIRT== <syntaxhighlight lang="ini"> cat << INI | sudo tee /etc/systemd/system/warp0.service >/dev/null [Unit] Description=Cloudflared WARP Routing Virtual Interface After=network.target [Service] Type=oneshot ExecStart=/usr/sbin/ip link add warp0 ty...")
  • 10:24, 21 February 2025Cloud/Shahed/AL (hist | edit) ‎[11,183 bytes]Shahed (talk | contribs) (Created page with "==SSH== <syntaxhighlight lang="bash"> ssh [email protected] cat <<'EXE' | sudo bash free -th && echo && systemd-analyze && echo df -h && echo && lsblk && echo swapon --show EXE </syntaxhighlight> ==APT Update== <syntaxhighlight lang="bash"> cat << EXE | sudo bash apt-get update;echo mkdir -p /etc/apt/keyrings apt list -a --upgradable;apt-get upgrade -y;echo apt-get install -y qemu-user-static ls -lah /usr/bin/qemu-* apt-get clean cache EXE </syntaxhighlight> ==Clo...")
  • 09:40, 21 February 2025Cloud/Shahed/AF (hist | edit) ‎[3,807 bytes]Shahed (talk | contribs) (Created page with "==SSH== <syntaxhighlight lang="bash"> ssh -p4321 [email protected] cat <<'EXE' | sudo bash free -th && echo && systemd-analyze && echo df -h && echo && lsblk && echo swapon --show EXE </syntaxhighlight> ==Cloudflare » VIRT== <syntaxhighlight lang="ini"> cat << INI | sudo tee /etc/systemd/system/warp0.service >/dev/null [Unit] Description=Cloudflared WARP Routing Virtual Interface After=network.target [Service] Type=oneshot ExecStart=/sbin/ip link add warp0 type du...")
  • 18:12, 12 February 2025Cloud/Hetzner/AA (hist | edit) ‎[30,430 bytes]Shahed (talk | contribs) (Created page with "==SSH Access== <syntaxhighlight lang="bash"> ssh -i ~/.ssh/cid.chorke.org_ed25519 [email protected] </syntaxhighlight> ==Add Users== <syntaxhighlight lang="bash"> ssh -i ~/.ssh/cid.chorke.org_ed25519 [email protected] adduser chorke adduser shahed passwd chorke passwd shahed passwd </syntaxhighlight> ==References== {| |valign="top"| * Cloudflare » WARP Connector * Cloudflare » Argo Tunnel * C...")
  • 11:04, 9 February 2025Cloudflare/WARP Host (hist | edit) ‎[16,597 bytes]Shahed (talk | contribs) (Created page with "==Playground== {| | valign="top" | <syntaxhighlight lang="bash"> warp-cli disconnect warp-cli connect warp-cli status </syntaxhighlight> | valign="top" | <syntaxhighlight lang="bash"> telnet 10.20.40.1 5432 telnet 10.20.40.1 3306 telnet 10.20.40.1 22 </syntaxhighlight> | valign="top" | <syntaxhighlight lang="bash"> nmap 10.20.40.1 --reason -Pn -p22,3306,5432 nmap 10.20.40.1 --reason -Pn --top 20 tail -n100 -f /var/log/kern.log </syntaxhighlight> |- | colspan="3" | ---...")
  • 03:09, 8 January 2025OpenLDAP/BackSQL (hist | edit) ‎[13,858 bytes]Shahed (talk | contribs) (Created page with "==Playground== {| | valign="top" | <syntaxhighlight lang="bash"> lxc image list images:ubuntu/noble/desktop lxc launch --vm images:ffa5fc9dfb84 openldap lxc launch --vm images:ubuntu/noble/desktop openldap </syntaxhighlight> | colspan="2" | <syntaxhighlight lang="bash"> lxc list status=running name=openldap --format=json |jq -r '.[].state.network.[].addresses' lxc list status=running name=openldap --format=yaml |yq -r '.[].state.network.[].addresses' lxc info openldap...")
  • 00:37, 5 January 2025Benchmarks (hist | edit) ‎[12,440 bytes]Shahed (talk | contribs) (Created page with "{|class='wikitable' style='text-align:right' |- !scope='col' colspan='2' style='text-align:left' | Machine » Benchmarks » [ mm:ss:SSS ] !rowspan="19"| !scope='col' colspan='3' style='width:330px'| time openssl dhparam -out ~/dh2048.pem 2048 !rowspan="19"| !scope='col' colspan='3' style='width:330px'| time openssl dhparam -out ~/dh4096.pem 4096 |- !scope='col' style='width:440px'| Specifications !scope='col' style='width:110px'| Arch !scope='col' style='width:110px'| Re...")