Make sure your Linux have ifconfig binary commands first.
Define the IP and the netmask. for example
ifconfig eth0 192.168.104.158 netmask 255.255.255.0
Find your gateway of your network, and then add the gateway IP
| #!/bin/bash | |
| # Default values | |
| default_sessions=1 | |
| default_tabs_per_session=2 | |
| default_url="https://puturljitsiwebhere.domain/benchmarkJitsiRoom" | |
| # Parse command line arguments | |
| while getopts ":s:t:f:" opt; do | |
| case $opt in |
| call plug#begin() | |
| Plug 'mhartington/oceanic-next' | |
| Plug 'vim-airline/vim-airline' | |
| Plug 'preservim/nerdtree' | |
| Plug 'dense-analysis/ale' | |
| Plug 'neoclide/coc.nvim', {'branch': 'master', 'do': 'npm ci'} | |
| call plug#end() | |
| syntax on | |
| set mouse-=a | |
| set number |
| let g:unite_source_menu_menus.commands.command_candidates = [ | |
| \['▷ record a macro q', 'normal q' ], | |
| \['▷ move forward one word w', 'normal w' ], | |
| \['▷ move to the end of the prev word e', 'normal e' ], | |
| \['▷ replace the character underneath the cursor r', 'normal r' ], | |
| \['▷ move forward till the next character typed t', 'normal t' ], | |
| \['▷ yank/copy y', 'normal y' ], | |
| \['▷ undo u', 'normal u' ], | |
| \['▷ enter insert mode i', 'normal i' ], | |
| \['▷ open a new line underneath the current li |
this step created using java 8 jdk. if you already have Certificate Authority (CA) files, then you can skip this step
modify the value and then export the variables
export C=ID
export ST=Yogyakarta
export L=Yogyakarta
export O=TLab
export OU=Infra
| version: '3.5' | |
| services: | |
| traefik: | |
| image: "traefik:v2.6" | |
| command: | |
| #- "--log.level=DEBUG" | |
| - "--api.insecure=true" | |
| - "--providers.docker=true" | |
| - "--providers.docker.exposedbydefault=false" | |
| - "--entrypoints.web.address=:80" |
| FROM python:3.7-alpine3.8 | |
| RUN apk add --no-cache \ | |
| build-base \ | |
| cmake \ | |
| bash \ | |
| jemalloc-dev \ | |
| boost-dev \ | |
| autoconf \ | |
| zlib-dev \ |
| # This is the network config written by 'subiquity' | |
| network: | |
| ethernets: | |
| ens18: # adjust with your interface id from command ip a | |
| addresses: | |
| - 192.168.200.167/24 # ip address and subnetmask | |
| nameservers: | |
| addresses: | |
| - 8.8.8.8 # dns ip address | |
| - 1.1.1.1 |
| version: '3.5' | |
| services: | |
| nfs-server: | |
| image: 'itsthenetwork/nfs-server-alpine:4' | |
| container_name: nfs | |
| hostname: nfs | |
| ports: | |
| - 2049:2049 | |
| environment: | |
| - SHARED_DIRECTORY=/nfsshare |