#2303
Install Terraform on Linux server : Check https://www.terraform.io/downloads.html for download Main commands : Init : Dry run : Apply : Destroy : Define docker provider (main.tf) :
Just another Code Snippet site
#2303
Install Terraform on Linux server : Check https://www.terraform.io/downloads.html for download Main commands : Init : Dry run : Apply : Destroy : Define docker provider (main.tf) :
#2267
Install KubeCtl on windows : https://kubernetes.io/fr/docs/tasks/tools/install-kubectl/ Install KubeCtl on CentOS/RHEL Define config file : Create a deployment: Create a service to expose the deployment : Get service info (and LoadBalancer port) : Scale deployment Delete deployment(s) Describe deployment(s) Add private repo to container.d: edit /etc/containerd/config.toml Restart container.d Test a pull using crictl
#2260
Elasticsearch commands : Create simple lifecycle policy with a retention of 30 days : Create a simple template with Lifecycle policy: Enable read/write on all indexes: Create lifecycle policy with a retention of 10 days and a rollowver of 5 days :
#2258
Reboot VM : History :
#2252
Limiting user processes is important for running a stable system. To limit user process resource, you have just to set shell limit by adding: a user name or group name or all users to /etc/security/limits.conf file and impose then process limitations. Example of /etc/security/limits.conf file A soft limit is like a warning and hard limit […]
#2249
Exécution tous les jours à 22h00 d’une commande et rediriger les infos dans sauvegarde.log : Exécution d’une commande toutes les 6 heures : Exécution d’une commande toute les heures : Exécution d’une commande toutes les minutes uniquement les lundis : Exécution d’une commande une fois par an à une heure précise (ici le 25 décembre […]
#2238
#2231
Install iperf / iperf3: Run Server side: Run client side: See also : https://www.cyberciti.biz/faq/how-to-test-the-network-speedthroughput-between-two-linux-servers/
#2224
Create a new file with a defined size : (here 64M) Create target mount : Format new file with EXT3 Mount file (direct) : Mount file (fstab) :
#2192
TEMP tablespace List current files : Remove file : Add new file : Create new temp tablespacce Change temp tablespace Drop old temp tablespace Drop tablespace even if file is missing If the file is not present anymore, use this command before DROP statement : Drop missing tablespace file Shutdown DB : Start mounting : […]