Tác giả: khoinv.kpwzto
-
kubernetes full
Cài cụm kubernetes bằng kubespray: https://kubespray.io VM cần cho cân bằng tải kubernetes: 1. Một VM cho kubespray, để cài kubespray, ansible (Server này chì cần cấu hình tối thiểu) 2. Một VM cho Load Balancer API-Server kubernetes (Server này cần cấu hình có network cao) 3. Các VM cho master và worker, đảm bảo…
-
python – python3-venv
Install the prerequisite for adding custom PPAs: # apt install software-properties-common -y Then proceed and add the deadsnakes PPA to the APT package manager sources list: # add-apt-repository ppa:deadsnakes/ppa # apt update You can now install Python 3.12 with the following command: # apt install python3.12 # apt install python3.12-venv To verify the installation and Python…
-
kubernetes 1.28.1
curl –fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | sudo gpg –dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg echo ‘deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /’ | sudo tee /etc/apt/sources.list.d/kubernetes.list sudo apt update sudo apt install –y kubeadm=1.28.1–1.1 kubelet=1.28.1–1.1 kubectl=1.28.1–1.1
-
multipass create ubuntu in macos
4 CORE, 4GB RAM, 20GB Storage multipass launch 20.04 -n instanceNAME -c 4 -m 4G -d 20G
-
rsync over tunnel
rsync -av -e “ssh -A root@{SERVER IP TUNNEL} ssh” root@{SERVER IP TARGET}:/home/temp.txt /tmp/
-
sync live file
https://www.linux-magazine.com/Online/Blogs/Productivity-Sauce/Live-Sync-with-lsyncd Productivity Sauce Nov 05, 2008 GMT Dmitri Popov rsync is an excellent and versatile backup tool, but it does have one drawback: you have to run it manually when you want to back up your data. Sure, you can use cron to create scheduled backups, but even this solution cannot provide seamless live…