Skip to content
Dikhi Martin

My development setup

The OS, editor extensions, runtimes and tools I use day to day, with versions.

7 October 2023 · 14 min read

Operating System

Development Environment

Visual Studio Code (IDE)

more - https://code.visualstudio.com

  • Extension

    • Dev kit

      • Name: Sublime Text Keymap and Settings Importer
        Id: ms-vscode.sublime-keybindings
        Description: Import Sublime Text settings and keybindings into VS Code.
        Version: 4.0.10
        Publisher: Microsoft
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-vscode.sublime-keybindings
        
      • Name: Docker
        Id: ms-azuretools.vscode-docker
        Description: Makes it easy to create, manage, and debug containerized applications.
        Version: 1.23.3
        Publisher: Microsoft
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker
        
      • Name: Monokai Gravity
        Id: dangelov.theme-monokaigravity
        Description: A color theme based on Gravity Theme for Sublime Text. https://github.com/frankyonnetti/gravity-sublime-theme
        Version: 0.1.0
        Publisher: Dino Angelov
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=dangelov.theme-monokaigravity
        
      • Name: WakaTime
        Id: WakaTime.vscode-wakatime
        Description: Metrics, insights, and time tracking automatically generated from your programming activity.
        Version: 24.2.2
        Publisher: WakaTime
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=WakaTime.vscode-wakatime
        
      • Name: Todo Tree
        Id: Gruntfuggly.todo-tree
        Description: Show TODO, FIXME, etc. comment tags in a tree view
        Version: 0.0.218
        Publisher: Gruntfuggly
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree
        
      • Name: Material Icon Theme
        Id: PKief.material-icon-theme
        Description: Material Design Icons for Visual Studio Code
        Version: 4.30.1
        Publisher: Philipp Kief
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme
        
      • Name: IntelliCode
        Id: VisualStudioExptTeam.vscodeintellicode
        Description: AI-assisted development
        Version: 1.2.30
        Publisher: Microsoft
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode
        
    • Git

      • Name: Git Graph
        Id: mhutchie.git-graph
        Description: View a Git Graph of your repository, and perform Git actions from the graph.
        Version: 1.30.0
        Publisher: mhutchie
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph
        
      • Name: Conventional Commits
        Id: vivaxy.vscode-conventional-commits
        Description: 💬Conventional Commits for VSCode.
        Version: 1.25.0
        Publisher: vivaxy
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits
        
    • AI

      • Name: GitHub Copilot
        Id: GitHub.copilot
        Description: Your AI pair programmer
        Version: 1.108.376
        Publisher: GitHub
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=GitHub.copilot
        
      • Name: Codeium: AI Coding Autocomplete and Chat for Python, Javascript, Typescript, Java, Go, and more
        Id: Codeium.codeium
        Description: The modern coding superpower: free AI code acceleration plugin for your favorite languages. Type less. Code more. Ship faster.
        Version: 1.8.17
        Publisher: Codeium
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=Codeium.codeium
        
    • Golang Pack

      • Name: Go
        Id: golang.go
        Description: Rich Go language support for Visual Studio Code
        Version: 0.39.1
        Publisher: Go Team at Google
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=golang.Go
        
    • Vue Pack

      • Name: vue
        Id: jcbuisson.vue
        Description: Syntax Highlight for Vue.js
        Version: 0.1.5
        Publisher: jcbuisson
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=jcbuisson.vue
        
      • Name: Vue Language Features (Volar)
        Id: Vue.volar
        Description: Language support for Vue 3
        Version: 1.8.8
        Publisher: Vue
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=Vue.volar
        
      • Name: vue-helper
        Id: shenjiaolong.vue-helper
        Description: vue enhance,extension for Element-UI, VUX, IVIEW
        Version: 2.4.7
        Publisher: shenjiaolong
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=shenjiaolong.vue-helper
        
    • Python Pack

      • Name: Python
        Id: ms-python.python
        Description: IntelliSense (Pylance), Linting, Debugging (multi-threaded, remote), code formatting, refactoring, unit tests, and more.
        Version: 2022.8.1
        Publisher: Microsoft
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-python.python
        
    • C Pack

      • Name: C/C++
        Id: ms-vscode.cpptools
        Description: C/C++ IntelliSense, debugging, and code browsing.
        Version: 1.17.5
        Publisher: Microsoft
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
        
      • Name: C/C++ Extension Pack
        Id: ms-vscode.cpptools-extension-pack
        Description: Popular extensions for C++ development in Visual Studio Code.
        Version: 1.3.0
        Publisher: Microsoft
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools-extension-pack
        
      • Name: C/C++ Themes
        Id: ms-vscode.cpptools-themes
        Description: UI Themes for C/C++ extension.
        Version: 2.0.0
        Publisher: Microsoft
        VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools-themes
        

Docker

Docker Engine

more - https://docs.docker.com/engine

Install Docker Engine
  1. Update the apt package index and install packages to allow apt to use a repository over HTTPS:

    sudo apt-get update
    sudo apt-get install ca-certificates curl gnupg
    
  2. Add Docker's official GPG key:

    sudo install -m 0755 -d /etc/apt/keyrings
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
    sudo chmod a+r /etc/apt/keyrings/docker.gpg
    
  3. Use the following command to set up the repository:

    echo \
      "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
      "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
      sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
    
  4. Update the package index again:

    sudo apt-get update
    
  5. Install Docker:

    sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
    
  6. Start and enable the Docker service to run on boot:

    sudo systemctl start docker
    sudo systemctl enable docker
    
  7. Verify that Docker is installed and running:

    sudo docker --version
    
Docker Compose

more - https://docs.docker.com/compose/install

Install Docker Compose
  1. Download the latest version of Docker Compose:

    sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
    

    Replace $(uname -s)-$(uname -m) with the appropriate version for your system if needed.

  2. Make the Docker Compose binary executable:

    sudo chmod +x /usr/local/bin/docker-compose
    
  3. Verify that Docker Compose is installed:

    docker-compose --version
    
  • Add your user to the docker group:

    sudo chown $USER /var/run/docker.sock
    sudo usermod -aG docker $USER
    

    Replace $USER with your actual username.

  • After adding your user to the group, you need to log out and then log back in for the changes to take effect. Alternatively, you can use the following command to activate the group membership without logging out:

    newgrp docker
    
  • Verify that your user is now in the docker group:

    groups $USER
    

Git

Download Git

installation
sudo  apt-get install git
git config --global user.name "Your Name"
git config --global user.email "youremail@example.com"

Node

Node Version Manager (NVM)
  1. Install NVM:

    First, you need to install NVM. Open your terminal and run the following commands:

    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
    

    This command will download and run the NVM installation script. It will add NVM to your shell's configuration file (e.g., ~/.bashrc, ~/.zshrc, or ~/.profile) and make it available for the current session. If you're using a different shell, make sure to adjust the configuration file accordingly.

  2. Close and Reopen Your Terminal:

    After running the NVM installation script, close and reopen your terminal to ensure that the changes take effect.

  3. Verify NVM Installation:

    To verify that NVM is installed correctly, you can run the following command:

    nvm --version
    

    This should display the installed version of NVM.

  4. Install Node.js using NVM:

    Now that NVM is installed, you can use it to install Node.js. You can install a specific version of Node.js or the latest LTS (Long-Term Support) version. For example, to install the latest LTS version, you can use the following command:

    nvm install --lts
    

    To install a specific version of Node.js, replace --lts with the desired version, like 12.22.6. You can check available versions using:

    nvm ls-remote
    
  5. Use a Specific Node.js Version: After installing Node.js, you can use it by setting it as the default version:

    nvm use <version>
    

    Replace <version> with the desired Node.js version you want to use. For example:

    nvm use 12.22.6
    

    You can also set a default version for new terminals:

    nvm alias default <version>
    
  6. Verify Node.js Installation:

    To verify that Node.js is installed correctly and to check the installed version, you can run:

    node -v
    

Golang

Installation
  1. Download Go:

    Download the Go tarball for your platform from the official Go website.

  2. Extract and Install Go:

    tar -C ~/ -xzf go1.21.12.linux-amd64.tar.gz 
    
  3. Set up Go Environment Variables:

    • Add the following lines to your shell configuration file (e.g., ~/.bashrc, ~/.zshrc, or ~/.profile) to set the $GOPATH and add Go's binary directory to your $PATH:

      export GOPATH=$HOME/go
      export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
      
    • Reload your shell configuration file to apply the changes:

      source ~/.bashrc
      
  4. Install GCC on Ubuntu:

    sudo apt-get update
    sudo apt-get install build-essential
    
Install Go Tools and UPX
  1. Install Go Tools:

    Run the following commands to install various Go tools:

    go install github.com/gordonklaus/ineffassign@latest
    go install github.com/client9/misspell/cmd/misspell@latest
    go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
    go install golang.org/x/lint/golint@latest
    go install github.com/pwaller/goupx@latest
    go install github.com/swaggo/swag/cmd/swag@latest
    
  2. Install Goreportcard

    Run the following commands:

    git clone https://github.com/gojp/goreportcard.git
    cd goreportcard
    make install
    go install ./cmd/goreportcard-cli
    goreportcard-cli
    
  3. Install UPX:

    • Install xz-utils:

      sudo apt update
      sudo apt install -y --no-install-recommends xz-utils
      
    • Download and install UPX:

      curl -sSL https://git.io/vp6lP | sh
      sudo mv bin /usr/local
      
    • Define the UPX_URL environment variable (replace <version> with the actual version you want to download):

      export UPX_URL="https://github.com/upx/upx/releases/download/v<version>/upx-<version>-amd64_linux.tar.xz"
      
    • Download, extract, and install UPX:

      curl -sSL "$UPX_URL" -o upx.tar.xz
      sudo tar -xJvpf upx.tar.xz --strip-components=1 -C /usr/local/bin
      
    • Clean up:

      sudo apt remove -y xz-utils
      sudo apt autoremove -y
      sudo apt clean
      sudo find /var/lib/apt/lists/ -type f -delete
      sudo find /var/cache/apt/archives/ -type f -delete
      rm upx.tar.xz
      
Golang Version Manager (GVM)
Installation
  1. Install Prerequisites:

    sudo apt-get update
    sudo apt-get install -y curl git mercurial make binutils bison gcc build-essential
    
  2. Install GVM:

    bash < <(curl -sSL https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
    
  3. Source GVM Scripts:

    • Add the following line to your shell configuration file (e.g., ~/.bashrc, ~/.zshrc, or ~/.profile):

      source "$HOME/.gvm/scripts/gvm"
      
    • Reload your shell configuration file to apply the changes:

      source ~/.bashrc
      
  4. Install Go Versions Using GVM:

    • To install a specific Go version, use the following command (replace 1.21.1 with the desired version):

      gvm install go1.21.1
      
    • Set the default Go version:

      gvm use go1.21.1 --default
      

PHP

Installation
  • Apache

    sudo apt install apache2
    
  • Add the ondrej/php Repository:

    • To add the repository, run the following command:

      sudo add-apt-repository ppa:ondrej/php
      
    • After running this command, you may need to update your package list again:

      sudo apt update
      
    • Install PHP 7.3:

      • You can install PHP 7.3 with the following command:

        sudo apt install php7.3
        
      • Additionally, you can install commonly used PHP extensions for PHP 7.3 by running:

        sudo apt install php7.3-common php7.3-mysql php7.3-xml php7.3-xmlrpc php7.3-curl php7.3-gd php7.3-imagick php7.3-cli php7.3-dev php7.3-imap php7.3-mbstring php7.3-opcache php7.3-soap php7.3-zip php7.3-pgsql php7.3-mysql
        
    • Install PHP 8.2:

      • You can install PHP 8.2 with the following command:

        sudo apt install php8.2
        
      • Similarly, you can install commonly used PHP extensions for PHP 8.1:

        sudo apt install php8.2-common php8.2-mysql php8.2-xml php8.2-xmlrpc php8.2-curl php8.2-gd php8.2-imagick php8.2-cli php8.2-dev php8.2-imap php8.2-mbstring php8.2-opcache php8.2-soap php8.2-zip php8.2-pgsql php8.2-mysql
        
    • Install Composer:

      1. Download and verify the Composer installer:

        Download Composer

        php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
        php -r "if (hash_file('sha384', 'composer-setup.php') === 'YOUR_HASH_KEY') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
        
      2. Run the Composer installer:

        php composer-setup.php
        
      3. Remove the Composer setup file:

        php -r "unlink('composer-setup.php');"
        
      4. To make Composer globally available in your system, you can move it to a directory that's in your system's PATH. A common directory for global binaries is /usr/local/bin. You will need superuser privileges to move the Composer executable there. Use the following command:

        sudo mv composer.phar /usr/local/bin/composer
        

        This command renames composer.phar (the downloaded Composer executable) to composer and moves it to /usr/local/bin, making it globally accessible.

      5. Verify the installation by checking the Composer version:

        composer --version
        

        This should display the installed Composer version.

      Now, Composer is installed and configured globally on your system, and you can use it for managing PHP dependencies in any directory.

PHP Version Manager (a2dismod, and a2enmod)

Manual switching between PHP versions (e.g., PHP 7.3 and PHP 8.1) can be done using the steps below:

  1. Switch from PHP 7.3 to PHP 8.1

    • Apache Configuration

      1. Disable the PHP 7.3 module:

        sudo a2dismod php7.3
        
      2. Enable the PHP 8.1 module:

        sudo a2enmod php8.1
        
      3. Restart Apache to apply changes:

        sudo service apache2 restart
        
    • Command-Line Configuration Set the PHP version for the command line:

      sudo update-alternatives --set php /usr/bin/php8.1
      sudo update-alternatives --set phar /usr/bin/phar8.1
      sudo update-alternatives --set phar.phar /usr/bin/phar.phar8.1
      
  2. Switch from PHP 8.1 to PHP 7.3

    • Apache Configuration

      1. Disable the PHP 8.1 module:

        sudo a2dismod php8.1
        
      2. Enable the PHP 7.3 module:

        sudo a2enmod php7.3
        
      3. Restart Apache to apply changes:

        sudo service apache2 restart
        
    • Command-Line Configuration Set the PHP version for the command line:

      sudo update-alternatives --set php /usr/bin/php7.3
      sudo update-alternatives --set phar /usr/bin/phar7.3
      sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.3
      

Note: Ensure that both PHP versions are installed on your system before attempting to switch between them.


Java

Installing jEnv
git clone https://github.com/jenv/jenv.git ~/.jenv
  • Add jEnv to your shell startup file:

    • If you are using bash:

      echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.bashrc
      echo 'eval "$(jenv init -)"' >> ~/.bashrc
      source ~/.bashrc
      
    • If you are using zsh:

      echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.zshrc
      echo 'eval "$(jenv init -)"' >> ~/.zshrc
      source ~/.zshrc
      
  • Verify jEnv installation:

    jenv --version
    
Installing Multiple JDK Versions
  • Install the required JDK versions:

    sudo apt install openjdk-11-jdk
    sudo apt install openjdk-19-jdk
    
  • Add the JDK versions to jEnv:

    jenv add /usr/lib/jvm/java-11-openjdk-amd64/
    jenv add /usr/lib/jvm/java-19-openjdk-amd64/
    
  • Verify the added JDK versions:

    jenv versions
    
Setting the JDK Version
  • Set a global JDK version (default for all terminals):

    jenv global 11.0
    
  • Set a local JDK version (specific to a directory):

    cd ~/path-to-project
    jenv local 11.0
    
  • Verify the current JDK version:

    java -version
    

Flutter

Install FVM

This guide explains how to install FVM (Flutter Version Manager)on Linux and configure it correctly for seamless usage.

  • Open your terminal.

  • Run the following command to install FVM using the official script:

    curl -fsSL https://fvm.app/install.sh | sudo bash
    

    This command will download and install FVM globally on your system.

Configure Your PATH

To use FVM and its Flutter binaries globally, you must add the FVM binary directory to your PATH environment variable.

  • Edit Your Shell Configuration File:
    Open the appropriate shell configuration file in your preferred text editor:

    • For Bash:

      nano ~/.bashrc
      
    • For Zsh:

      nano ~/.zshrc
      
  • Add the FVM Binary Path:
    Append the following line to the end of the file:

    export PATH=$PATH:$HOME/.fvm_flutter/bin
    
  • Save and Reload the Configuration File:
    After saving the changes, reload your shell configuration to apply the updated PATH:

    • For Bash:

      source ~/.bashrc
      
    • For Zsh:

      source ~/.zshrc
      
  • Verify the PATH Configuration:
    Confirm that the FVM path has been added:

    echo $PATH
    

    Look for ~/.fvm/flutter/bin in the output.

Verify FVM Installation
  • Check the installed version of FVM:

    fvm --version
    
  • Verify FVM integration with Flutter:

    fvm flutter --version
    
Using FVM

Here are some common commands for managing Flutter versions using FVM:

  • Install a Flutter version:

    fvm install <version>
    

    Example:

    fvm install 3.10.0
    
  • Set a Flutter version for a project:

    fvm use <version>
    

    Example:

    fvm use 3.10.0
    
  • Set a global default Flutter version:

    fvm global <version>
    

    Example:

    fvm global 3.10.0
    
  • List installed Flutter versions:

    fvm list
    
Update FVM

To update FVM, simply re-run the installation script:

curl -fsSL https://fvm.app/install.sh | sudo bash
Additional Notes
  • Run fvm help for a complete list of commands.
  • To ensure everything works correctly, always verify your PATH includes ~/.fvm/flutter/bin.

Database Management

Redis Insight (Free)

  • Redis Insight is a visualization and management tool for Redis. It provides an intuitive and easy-to-understand interface for monitoring performance, analyzing data, and managing Redis instances.

    Download Redis Insight

Navicat (Premium Paid)

  • Navicat is a powerful and versatile database management software that supports various types of databases such as MySQL, PostgreSQL, Oracle, SQL Server, and more. It provides a user-friendly interface for managing databases and performing administrative tasks.

    Download Navicat Premium 16

  • Installation

    • sudo apt install libfuse2
      
    • unzip navicat16.zip -d ~
      
    • chmod +x ~/navicat16/navicat16-premium-en.AppImage
      
    • ~/navicat16/./start_navicat.sh
      
    • ~/navicat16/./navicat16-premium-en.AppImage
      
  • Add Shortcut

    • nano Navicat.Premium.16.desktop
      
    • [Desktop Entry]
      Categories=Development
      Comment=Database Development Tool
      Exec=/home/user/navicat16/start_navicat.sh
      Icon=/home/user/.local/share/icons/hicolor/256x256/apps/Navicat Premium 16.png
      Name=Navicat Premium 16
      StartupNotify=true
      StartupWMClass=Navicat Premium
      Terminal=false
      Type=Application
      
    • mv Navicat.Premium.16.desktop ~/Desktop/
      
    • chmod +x ~/Desktop/Navicat.Premium.16.desktop
      

Studio 3T (Premium Paid)

  • Studio 3T is a powerful MongoDB management tool with an intuitive visual interface. It offers features such as query builder, data visualization, and MongoDB collection management to help developers and database administrators work with MongoDB more efficiently.

    Download Studio 3T


API Testing

Postman

  • Installation

    sudo apt update
    sudo apt install snapd
    
    sudo snap install postman
    

SoapUI


Container Management

Kitematic

Kubernetes

  • Installation

    • curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
      
    • Make kubectl Executable: After downloading the binary, you need to make it executable:

      chmod +x kubectl
      
    • Move kubectl to a Usable Location: To make kubectl accessible system-wide, you can move it to a directory that's in your system's PATH. A common location is /usr/local/bin:

      sudo mv kubectl /usr/local/bin/
      
    • Verify kubectl Installation:

      kubectl version --client
      
  • Command

    • Manage Context

      • Change Context

        kubectl config use-context <context-name>
        
      • List Context

        kubectl config get-contexts
        
    • Create or Update the Configuration File

      • List Deployments You can use the kubectl get command to list Deployments in your cluster and find the name of the Deployment you want to update.

        Run the following command:

        kubectl get deployments -n <namespace>
        
      • Apply the Configuration File

        Use the kubectl apply command to apply the configuration file to your Kubernetes cluster. For example, if your configuration file is named my-updated-service.yaml, you would run:

        kubectl apply -f my-updated-service.yaml
        

        This command will create or update the resources defined in the YAML file, depending on whether they already exist or not. Kubernetes will take care of the necessary updates.

      • Check the Status:

        After applying the configuration, you can check the status of the resources to ensure that the changes have been applied successfully. Use kubectl get to list the resources you modified, and observe their status.

        For example, if you updated a Deployment, you can check its status with:

        kubectl get deployment <deployment-name> -n <namespace>
        
      • Rollout Verification (Optional): Depending on the type of change you made, you may need to verify that the rollout of the update is proceeding as expected. For example, if you made changes to a Deployment, you can monitor the rollout status with:

        kubectl rollout status deployment <deployment-name> -n <namespace>
        
    • Manage Pods

      • List Running Pods To list all the running pods in your cluster, use the following command:

        kubectl get pods -n <namespace>
        
      • Check Logs for a Specific Pod To check the logs for a specific pod, use the kubectl logs command followed by the pod name:

        kubectl logs <pod-name> -n <namespace>
        

        If you want to view the logs continuously (like tail -f), you can use the -f flag:

        kubectl logs -f <pod-name> -n <namespace>
        
      • Manage Scaling

        • Scale Down Pods (Stop Services) Another way to stop services is by scaling down the replicas to zero. This effectively stops all instances of a service. For example, to scale down the email-service to zero replicas:

          kubectl scale deployment email-service --replicas=0 -n kasir-vending
          

          This command sets the number of replicas for the email-service Deployment to zero, effectively stopping all instances of that service.

        • Scale Up Pods (Start Services)

          To start services again, you can scale up the replicas to the desired count. For example, to start the email-service with 2 replicas:

          kubectl scale deployment email-service --replicas=2 -n kasir-vending
          

          This command sets the number of replicas for the email-service Deployment to 2, which will start two instances of the service.

        • Delete Pods (Stop Services) If you want to stop a specific service (pod), you can delete it using kubectl. For example, to stop the email-service, you can run:

          kubectl delete pod email-service-7dd6f49d8-jrh7f -n kasir-vending
          

          This command will delete the specified pod. Kubernetes will automatically recreate it according to the desired state specified in your Deployment or StatefulSet configuration.

        • Setting up alias

          alias kubekasir='kubectl -n kasir-kita'
          

Documentation

Typora


Network Security

Openvpn

  • Installation

    sudo apt update
    
    sudo apt install openvpn
    

Teleport

  • Installation

    https://goteleport.com/download
    
  • Login

    tsh login --proxy teleport.monstercode.net:443 --user=dikhi
    
ESC