Postingan

Menampilkan postingan dari 2022

How to install terragrunt

Terragrunt is a thin wrapper that provides extra tools for keeping your configurations DRY, working with multiple Terraform modules, and managing remote state. https://terragrunt.gruntwork.io / Steps to install terragrunt command: 1. Download from releases page   https://github.com/gruntwork-io/terragrunt/releases 2. Download the binary for your OS: e.g., On Linux wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.37.1/terragrunt_linux_amd64  3. Add execute permissions to the binary. E.g., On Linux chmod u+x terragrunt_linux_amd64 4. Put the binary somewhere on your PATH. E.g., On Linux  mv  terragrunt_linux_amd64  /usr/local/bin/terragrunt 5. Check installation terragrunt --version

Cara install Python dan virtualenv

 Install Python contoh install python 3.7, python3-distutils python3-pip, python3-virtualenv. Update paket sudo apt update Install Common Dependencies sudo apt install software-properties-common Menambahkan repository  https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa sudo add-apt-repository ppa:deadsnakes/ppa Install Python sudo apt install python3.7 untuk versi python lain bisa sesuikan saja misal python3.8, python3.9 Install module python3.7-disutils dan  Python3-pip sudo apt-get install python3.7-distutils python3-pip python3-virtualenv Dibawah contoh script ansible dengan case menginstall module proxmoxer untuk manage server proxmox: --- - name: Setup Proxmoxer   hosts: server1   become: yes   tasks:     - name: Add repository       apt_repository: repo="ppa:deadsnakes/ppa"     - name: Install Python packages       apt:         pkg:           - software-p...