All public logs

Jump to navigation Jump to search

Combined display of all available logs of Chorke Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)
  • 22:50, 20 November 2024 Shahed talk contribs created page Helm/Fission (Created page with "==References== {| | valign="top" | * Helm » Prometheus Stack * Helm » Cert Manager * [https://fission.io/docs/installation Helm » Fission] * Helm | valign="top" | | valign="top" | |- | colspan="3" | ---- |- | valign="top" | * [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ K8s » Configure Service Accounts for Pods] * [https://spacelift.io/blog/restart-kubernetes-pods-with-kube...")
  • 00:49, 17 November 2024 Shahed talk contribs created page Helm/PgAdmin4 (Created page with " helm repo add runix https://helm.runix.net helm repo update && helm repo list kubectl config get-contexts ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |valign="top"| <syntaxhighlight lang="bash"> helm show values runix/pgadmin4 --version=1.30.0|less helm show values runix/pgadmin4 --v...")
  • 17:23, 11 November 2024 Shahed talk contribs created page Helm/PhpMyAdmin (Created page with " helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update && helm repo list kubectl config get-contexts ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |valign="top"| <syntaxhighlight lang="bash"> helm show values bitnami/phpmyadmin --version=17.0.0|less helm show values...")
  • 06:47, 10 November 2024 Shahed talk contribs created page Port (Created page with "==References== {| | valign="top" | * [https://docs.oracle.com/cd/B28196_01/install.1014/b32106/ports.htm Port » Oracle] | valign="top" | | valign="top" | |- | colspan="3" | ---- |- | valign="top" | * Linux Containers * OpenVPN * Multipass * Minikube * Podman * Vagrant * Docker * Qemu * MAAS * Juju | valign="top" | * Kubernetes * PostgreSQL * Cloudflare * Proxmox * MySQL * Helm * CIDR * UFW * K...")
  • 18:17, 8 November 2024 Shahed talk contribs created page VisionFive2 (Created page with "== References== {| |valign="top"| * [https://www.jeffgeerling.com/blog/2023/risc-v-business-testing-starfives-visionfive-2-sbc VisionFive » Testing StarFive's VisionFive 2 SBC] * [https://forum.rvspace.org/t/what-kind-of-ssd-can-be-used/886 VisionFive » SSD Can Be Used] * [https://www.starfivetech.com/en/site/boards VisionFive] |valign="top"| |valign="top"| |- |colspan="3"| ---- |- |valign="top"| * Google Cloud CLI * PostgreSQL * OpenLDAP * OpenVPN *...")
  • 09:05, 26 October 2024 Shahed talk contribs created page Dropwizard (Created page with "== References== {| |valign="top"| * [https://www.dropwizard.io/en/stable/ Dropwizard » Stable] * [https://www.dropwizard.io Dropwizard] |valign="top"| |valign="top"| |- |colspan="3"| ---- |- |valign="top"| * Java Remote Debug * Java Mail API * MicroProfile * Apache POI * MapStruct * Micronaut * Camunda * Quarkus * GraalVM * OAuth | valign="top" | * Spring Security * Java Key Store * Java/Security * Apache/CXF *...")
  • 00:33, 26 October 2024 Shahed talk contribs created page Cloudflare (Created page with "== References== {| |valign="top"| * [https://developers.cloudflare.com/dns/dnssec/ Cloudflare » DNS » DNSSEC] * [https://www.cloudflare.com/ Cloudflare] |valign="top"| |valign="top"| |- |colspan="3"| ---- |- |valign="top"| * K8s/Ingress * PostgreSQL * OpenLDAP * HAProxy * MySQL * Helm * CIDR * UFW * AWS * K8s |valign="top"| * Cloud Computing Cost * Google Cloud CLI * AWS CLI |valign="top"| |}")
  • 09:54, 20 September 2024 Shahed talk contribs created page Cloud Computing Cost (Created page with "{|class='wikitable' style='text-align:right;font-weight:bold' |- !scope='col' colspan='9'| BLOCK STORAGE » USD |- !scope='col' rowspan='2'| SPECIFICATIONS !scope='col' colspan='3'| Upfront / Month !scope='col' colspan='3'| On Demand / Month |- !scope='col'| AWS !scope='col'| GCP !scope='col'| Azure !scope='col'| AWS !scope='col'| GCP !scope='col'| Azure |- ! scope="row"| Xxxx |style='color:#000000;width:100px'| 100.00 ||style='color:#78B159;width:100px'| 100.00 ||style=...")
  • 19:08, 18 September 2024 Shahed talk contribs created page PostgreSQL/PgBouncer (Created page with "== References== {| |valign="top"| * [https://sip-projects.com/en/blog/pgbouncer-ubuntu PostgreSQL » PgBouncer » Ubuntu] * [https://www.pgbouncer.org/config.html PostgreSQL » PgBouncer » Config] * [https://www.scaleway.com/en/docs/tutorials/install-pgbouncer/ PostgreSQL » PgBouncer » Install] * [https://www.pgbouncer.org/ PostgreSQL » PgBouncer] * PostgreSQL » Helm * PostgreSQL |valign="top"| |valign="top"| |- |colspan="3"| ---- |- |vali...")
  • 06:36, 11 September 2024 Shahed talk contribs created page Helm/MariaDB (Created page with " helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update && helm repo list kubectl config get-contexts ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |valign="top"| <syntaxhighlight lang="bash"> helm show values bitnami/mariadb --version=19.0.0|less helm show values bit...")
  • 06:57, 9 September 2024 Shahed talk contribs created page Helm/Nexus HA (Created page with " helm repo add sonatype https://sonatype.github.io/helm3-charts helm repo update && helm repo list kubectl config get-contexts ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |valign='top'| <syntaxhighlight lang="sql"> kubectl -n postgresql exec -it svc/postgresql -c postgresql -- bash ec...")
  • 21:26, 6 September 2024 Shahed talk contribs created page K8s/Service (Created page with "==External== <syntaxhighlight lang="bash"> kubectl config get-contexts kubectl get ns|grep external kubectl create namespace external </syntaxhighlight> ==Internal== {| |colspan='3'| <syntaxhighlight lang="bash"> kubectl config get-contexts kubectl get ns|grep internal kubectl create namespace internal </syntaxhighlight> |- |colspan='3'| ---- |- |valign='top'| <syntaxhighlight lang="yaml"> cat << YML|kubectl apply -n internal -f - --- apiVersion: v1 kind: Service metad...")
  • 02:29, 4 September 2024 Shahed talk contribs created page Minikube Tunnel (Created page with "<syntaxhighlight lang="bash"> sudo -i -u minikube minikube tunnel --cleanup minikube tunnel --cleanup=true minikube status -ojson|jq -r . </syntaxhighlight> ==Systemd File== '''Line number: 19 meaningless''', kept backed those lines for identical purpose <syntaxhighlight lang="ini" highlight="19" line> cat << INI | sudo tee /etc/systemd/system/minikube-tunnel.service >/dev/null [Unit] Description=Minikube Tunnel Documentation=https://minikube.sigs.k8s.io/docs/commands/t...")
  • 01:01, 2 September 2024 Shahed talk contribs created page Docker/Compose/GitLab (Created page with "==docker-compose.yml== <syntaxhighlight lang="yaml"> cat << YML | tee ${HOME}/Documents/gitlab-playground/docker-compose.yml >/dev/null name: gitlab services: gitlab: image: gitlab/gitlab-ce:15.1.3-ce.0 container_name: gitlab restart: always hostname: 'gitlab.host.k8s.local' extra_hosts: - "host.docker.internal:host-gateway" networks: portal: aliases: - gitlab.host.k8s.local labels: gitlab: "GitLab CE"...")
  • 00:41, 28 August 2024 Shahed talk contribs deleted page Swiss Knife (content was: "#REDIRECT K8s/Swiss Knife", and the only contributor was "Shahed" (talk))
  • 00:40, 28 August 2024 Shahed talk contribs moved page Swiss Knife to K8s/Swiss Knife over redirect
  • 00:40, 28 August 2024 Shahed talk contribs deleted redirect K8s/Swiss Knife by overwriting (Deleted to make way for move from "Swiss Knife")
  • 00:40, 28 August 2024 Shahed talk contribs moved page K8s/Swiss Knife to Swiss Knife over redirect (revert)
  • 00:40, 28 August 2024 Shahed talk contribs deleted redirect Swiss Knife by overwriting (Deleted to make way for move from "K8s/Swiss Knife")
  • 00:37, 28 August 2024 Shahed talk contribs moved page Swiss Knife to K8s/Swiss Knife
  • 00:36, 28 August 2024 Shahed talk contribs created page Swiss Knife (Created page with "{| |valign="top"| <syntaxhighlight lang="bash"> export KUBECONFIG="${HOME}/.kube/lke-dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gke-uat-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/eks-pro-kubeconfig.yaml" </syntaxhighlight> |valign="top"| <syntaxhighlight lang="bash"> export KUBECONFIG="${HOME}/.kube/config" kubectl config get-contexts kubectl cluster-info </syntaxhighlight> |valign="top"| <syntaxhighlight lang="bash"> kubectl get ns|grep swiss-knife k...")
  • 20:31, 26 August 2024 Shahed talk contribs created page K8s/Run (Created page with "==References== {| | valign="top" | * Helm » Prometheus Stack * Helm » Cert Manager * Helm » Prometheus * Helm » PostgreSQL * Helm » SonarQube * Helm » Grafana * Helm » Jenkins * Helm » GitLab * Helm » MinIO * Helm | valign="top" | * Helm » Camunda * Helm/Keycloak|Helm...")
  • 19:31, 24 August 2024 Shahed talk contribs created page Helm/Traefik (Created page with " helm repo add traefik https://traefik.github.io/charts helm repo update && helm repo list kubectl config get-contexts ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |valign="top"| <syntaxhighlight lang="bash"> kubectl get ns|grep traefik kubectl delete ns traefik </syntaxhighlight> |...")
  • 22:33, 22 August 2024 Shahed talk contribs created page Helm/GitLab External (Created page with " helm repo add gitlab https://charts.gitlab.io helm repo update && helm repo list kubectl config get-contexts ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |valign="top"| <syntaxhighlight lang="sql"> kubectl delete namespace gitlab cat << DDL | psql -U ${USER} DROP DATABASE IF EXISTS gi...")
  • 02:12, 22 August 2024 Shahed talk contribs created page Helm/MinIO (Created page with " helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update && helm repo list ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |valign="top"| <syntaxhighlight lang="bash"> helm show values bitnami/minio --version=14.6.1|less helm show values bitnami/minio --version=14.7.1|les...")
  • 23:48, 16 August 2024 Shahed talk contribs created page Helm/Redis (Created page with " helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update && helm repo list ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |valign="top"| <syntaxhighlight lang="bash"> helm show values bitnami/redis --version=19.6.4|less helm show values bitnami/redis --version=20.0.2|les...")
  • 08:37, 16 August 2024 Shahed talk contribs created page Helm/PostgreSQL (Created page with " helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update && helm repo list ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |valign="top"| <syntaxhighlight lang="bash"> helm show values bitnami/postgresql --version=15.5.20|less helm show values bitnami/postgresql --version...")
  • 09:05, 14 August 2024 Shahed talk contribs created page K8s/Ingress (Created page with "==External== <syntaxhighlight lang="bash"> kubectl get ns|grep external kubectl delete namespace external kubectl create namespace external </syntaxhighlight> ==Internal== <syntaxhighlight lang="bash"> kubectl get ns|grep internal kubectl delete namespace internal kubectl create namespace internal </syntaxhighlight> ==Playground== {| |valign="top"| <syntaxhighlight lang="bash"> kubectl -n external get endpoints kubectl -n external get service kubectl -n external get in...")
  • 09:30, 11 August 2024 Shahed talk contribs created page UFW (Created page with "<syntaxhighlight lang="bash"> cat <<-'EXE'|sudo bash apt-get update;echo apt list -a --upgradable apt-get install -y ufw nmap telnet EXE </syntaxhighlight> <syntaxhighlight lang="bash"> sudo ufw allow http sudo ufw allow OpenSSH sudo ufw allow in on lxdbr0 sudo ufw route allow in on lxdbr0 sudo ufw route allow out on lxdbr0 sudo ufw status verbose sudo systemctl status ufw sudo ufw enable </syntaxhighlight> <syntaxhighlight lang="bash"> sudo ufw allow 5900/tcp sudo u...")
  • 07:21, 11 August 2024 Shahed talk contribs created page Dockerized PostgreSQL (Created page with "==Copy Database Dump into Dump== <syntaxhighlight lang="bash"> mkdir -p ${HOME}/Documents/pgsql-playground/dump/ # cd <path of your data staging-gbsn dump directory> cp ${PWD}/*.gz ${HOME}/Documents/pgsql-playground/dump/ </syntaxhighlight> ==Database Dump Import Script== <syntaxhighlight lang="bash"> cd ${HOME}/Documents/pgsql-playground/ tee ./dump/restore_locale >/dev/null <<'EOF' #!/bin/sh cat << SQL | psql -p 5432 -U postgres -- terminate all th...")
  • 18:40, 8 August 2024 Shahed talk contribs created page YQ Tool (Created page with "{| | valign="top" | <syntaxhighlight lang="bash"> # ubuntu/debian cat << EXE|sudo bash PLATFORM=$(uname -s)_$(dpkg --print-architecture) YQ_BINARY=$(echo "yq_${PLATFORM}"|tr '[:upper:]' '[:lower:]') wget https://github.com/mikefarah/yq/releases/latest/download/${YQ_BINARY} -O /usr/bin/yq chmod +x /usr/bin/yq EXE </syntaxhighlight> | valign="top" | '''windows:''' 1. Press '''⊞ + R''' 2. Type in '''PowerShell''' '''run as administrator user''' 3. Press '''Ctrl + Sh...")
  • 08:40, 8 August 2024 Shahed talk contribs created page Helm/GitLab (Created page with " helm repo add gitlab https://charts.gitlab.io helm repo update && helm repo list ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |colspan="2"| <syntaxhighlight lang="sql"> cat << DDL | psql -U ${USER} CREATE DATABASE gitlab; -- DROP DATABASE IF EXISTS gitlab; CREATE USER gitlab WITH ENCRY...")
  • 08:45, 1 August 2024 Shahed talk contribs created page K8s/CSI Hostpath Driver (Created page with "{| |valign="top"| <syntaxhighlight lang="bash"> minikube stop minikube delete --all rm -rf ${HOME}/.minikube/* </syntaxhighlight> |valign="top"| <syntaxhighlight lang="bash"> minikube start minikube docker-env minikube addons list </syntaxhighlight> |valign="top"| <syntaxhighlight lang="bash"> minikube addons enable ingress minikube addons enable ingress-dns minikube addons enable metrics-server </syntaxhighlight> |- | colspan="3" | ---- |- | valign="top" | <syntaxhig...")
  • 22:31, 31 July 2024 Shahed talk contribs created page Helm/Nexus (Created page with " helm repo add sonatype https://sonatype.github.io/helm3-charts helm repo update && helm repo list ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |colspan="2"| <syntaxhighlight lang="yaml" highlight="25" line> kubectl create namespace nexus helm show values sonatype/nexus-repository-manag...")
  • 05:23, 31 July 2024 Shahed talk contribs created page Helm/Cert Manager (Created page with " helm repo add jetstack https://charts.jetstack.io helm repo update && helm repo list ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |valign='top'| <syntaxhighlight lang="yaml"> kubectl create namespace cert-manager helm show values jetstack/cert-manager --version v1.15.1|less helm instal...")
  • 08:56, 30 July 2024 Shahed talk contribs created page Helm/SonarQube (Created page with " helm repo add sonarqube https://SonarSource.github.io/helm-chart-sonarqube helm repo update && helm repo list ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== {| |colspan="2"| <syntaxhighlight lang="yaml"> kubectl create namespace sonarqube helm show values sonarqube/sonarqube --version 10.6....")
  • 03:57, 30 July 2024 Shahed talk contribs created page Helm/Keycloak (Created page with " helm pull oci://registry-1.docker.io/bitnamicharts/keycloak --version 22.0.0 --untar helm pull oci://registry-1.docker.io/bitnamicharts/keycloak --version 19.3.3 --untar helm pull oci://registry-1.docker.io/bitnamicharts/keycloak --untar helm pull oci://registry-1.docker.io/bitnamicharts/keycloak --version 22.0.0 helm pull oci://registry-1.docker.io/bitnamicharts/keycloak --version 19.3.3 helm pull oci://registry-1.docker.io/bitnamicharts/keycloak ==Config== <s...")
  • 00:50, 30 July 2024 Shahed talk contribs created page Helm/Prometheus Stack (Created page with " helm repo add prometheus https://prometheus-community.github.io/helm-charts helm repo update helm repo list ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== <syntaxhighlight lang="yaml"> kubectl create namespace prometheus helm show values prometheus/kube-prometheus-stack|less cat <<YML | he...")
  • 20:09, 22 July 2024 Shahed talk contribs created page EKSctl (Created page with "==References== {| | valign="top" | * [https://eksctl.io/usage/schema/ EKS » CLI » Schema] * [https://eksctl.io/installation/ EKS » CLI » Install] * [https://eksctl.io/ EKS] | valign="top" | | valign="top" | |- | colspan="3" | ---- |- | valign="top" | * Kubernetes * Minikube * ZA Proxy * AWS CLI * Kubectl * Docker * JMeter * Helm * AWS * Istio | valign="top" | * Docker Compose * K8s * K9s | valign="top" | |}")
  • 23:43, 10 July 2024 Shahed talk contribs created page FFmpeg (Created page with "<syntaxhighlight lang="bash"> echo 'apt-get update;echo;apt list -a --upgradable;apt-get upgrade -y'|sudo bash echo 'apt-get install -y ffmpeg'|sudo bash </syntaxhighlight> ==Playground== {| | valign="top" | <syntaxhighlight lang="bash"> mkdir -p ~/Documents/ffmpeg-playground cd ~/Documents/ffmpeg-playground </syntaxhighlight> | valign="top" | <syntaxhighlight lang="bash"> for webm in *.webm;do echo ${webm%.*}; done for webm in *.webm;do echo ${webm##*.};done </s...")
  • 10:12, 8 July 2024 Shahed talk contribs created page Flatpak (Created page with "<syntaxhighlight lang="bash"> cat <<-'EXE'|sudo bash apt-get update apt-get install -y flatpak apt-get install -y gnome-software-plugin-flatpak EXE flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo </syntaxhighlight> ==References== {| | valign="top" | * [https://www.reddit.com/r/flatpak/comments/zx4sp6/what_are_the_pros_and_cons_of_flatpaks Flatpak » Pros & Cons] * [https://flatpak.org/setup/Ubuntu Flatpak » Ubuntu] * [https:/...")
  • 07:10, 7 July 2024 Shahed talk contribs created page DaVinci Resolve (Created page with "==References== {| | valign="top" | * [https://github.com/flolu/davinci-resolve-linux DaVinci » Resolve » 16 » On Linux] * [https://www.blackmagicdesign.com/products/davinciresolve DaVinci » Resolve » Download] | valign="top" | | valign="top" | |- | colspan="3" | ---- |- | valign="top" | * Alpine/Morefine * Ruby on Rails * TensorFlow * Homebrew * Linuxbrew * PyEnv * TMux * 7Zip * Zip * Tar | valign="top" | * Disk Performa...")
  • 00:00, 6 July 2024 Shahed talk contribs created page Swap Space (Created page with "==Update » Ubuntu== <syntaxhighlight lang="bash"> swapon --show </syntaxhighlight> ==Update » Raspberry Pi 4== <syntaxhighlight lang="bash" highlight="3,4" line> cat <<'EXE' | sudo bash printf '\nbefore:\n';free -th sed -i 's|CONF_SWAPSIZE=100|CONF_SWAPSIZE=2048|' /etc/dphys-swapfile service dphys-swapfile restart printf '\nupdate:\n';free -th EXE </syntaxhighlight> ==Playground== {| | valign="top" colspan="2" | <syntaxhighlight lang="bash"> echo 'sync;echo 3 >/proc/...")
  • 22:20, 5 July 2024 Shahed talk contribs created page Disk Performance (Created page with "==Sequential Write== <syntaxhighlight lang="bash"> dd if=/dev/zero of=/tmp/tempfile bs=1M count=1024 conv=fdatasync :' 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.521978 s, 2.1 GB/s ' </syntaxhighlight> ==Sequential Read » Clean Buffer== <syntaxhighlight lang="bash"> echo 'sync;echo 3 >/proc/sys/vm/drop_caches'|sudo bash dd if=/tmp/tempfile of=/dev/null bs=1M count=1024 :' 1024+0 records in 1024+0 records out 1073741824 bytes (1.1...")
  • 09:45, 3 July 2024 Shahed talk contribs created page Minikube Registry (Created page with "{| |valign="top"| <syntaxhighlight lang="bash"> minikube stop minikube delete --all rm -rf ${HOME}/.minikube/* </syntaxhighlight> |valign="top"| <syntaxhighlight lang="bash"> minikube start minikube docker-env minikube addons list </syntaxhighlight> |valign="top"| <syntaxhighlight lang="bash"> for p in ingress ingress-dns registry dashboard metrics-server;\ do minikube addons enable ${p};done minikube addons list </syntaxhighlight> |- | colspan="3" | ---- |- | valign=...")
  • 10:34, 2 July 2024 Shahed talk contribs created page Free Up RAM (Created page with "==Free Up » PageCache== <syntaxhighlight lang="bash"> echo 'sync;echo 1>/proc/sys/vm/drop_caches'|sudo bash </syntaxhighlight> ==Free Up » Dentries and Inodes== <syntaxhighlight lang="bash"> echo 'sync;echo 2>/proc/sys/vm/drop_caches'|sudo bash </syntaxhighlight> ==Free Up » PageCache, Dentries, and Inodes== <syntaxhighlight lang="bash"> echo 'sync;echo 3>/proc/sys/vm/drop_caches'|sudo bash </syntaxhighlight> ==Free Up » Swap Space== <syntaxhighlight lang="bash">...")
  • 22:24, 1 July 2024 Shahed talk contribs created page Helm/Prometheus (Created page with " helm repo add prometheus https://prometheus-community.github.io/helm-charts helm repo update helm repo list ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== <syntaxhighlight lang="yaml"> kubectl create namespace prometheus helm show values prometheus/prometheus cat <<YML | helm install -n pr...")
  • 07:57, 1 July 2024 Shahed talk contribs created page Helm/Grafana (Created page with " helm repo add grafana https://grafana.github.io/helm-charts helm repo update helm repo list ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== <syntaxhighlight lang="yaml"> kubectl create namespace grafana cat <<YML | helm install -n grafana grafana grafana/grafana -f - ingress: enabled: tru...")
  • 09:16, 29 June 2024 Shahed talk contribs created page Chorke Academia Backup (Created page with "==Backup » Databases== <syntaxhighlight lang="bash"> ssh [email protected] mkdir -p ~/rds_backup/ cat << EXE | bash BACKUP_PRO='academia' BACKUP_ENV='production' BACKUP_DATE_TIME="\$(date +'%Y%m%d-T%H%M')-Z\$(date +'%z'|tr '+-' 'PM')" for d in keycloak quote policy;do pg_dump -U postgres "academia_\${d}"\ | gzip > "${HOME}/rds_backup/chorke-\${d}_\${BACKUP_PRO}-\${BACKUP_ENV}-\${BACKUP_DATE_TIME}.sql.gz"; done EXE mkdir -p ~/Documents/backup-pla...")
  • 07:38, 29 June 2024 Shahed talk contribs created page 7Zip (Created page with " sudo apt -qq update sudo apt install -y p7zip-full 7z ==Compress== <syntaxhighlight lang="bash"> cd /etc/nginx 7z a chorke-nginx_academia-production-20240628-T2023-ZP0800.7z sites-enabled 7z a chorke-nginx_academia-production-20240628-T2023-ZP0800.7z sites-enabled -x!default 7z a chorke-nginx_academia-production-20240628-T2023-ZP0800.7z sites-enabled -xr!default </syntaxhighlight> ==Decompress== <syntaxhighlight lang="bash"> 7z l chorke-nginx_academia-production-202...")
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)