1. Install rsync on both machines The first thing to do is install rsync, which can be achieved with the following command: sudo apt-get install rsync -y
Category Archives: Tips
I‘m a new Unix system user. How do I use sudo command without a password on a Linux or Unix-like systems? I log in as tom@my-cloud-server-ip and disabled root login for ssh. After login, I need to run some commands as root user. I am the only sysadmin using my server. How do I run […]
how to enable https on asp.net core app? To enable HTTPS on an ASP.NET Core application, you need to perform the following steps: javascript And in the Configure method, add the following code to redirect all HTTP traffic to HTTPS: scss json python Note that these steps are just an example, and you may need […]
Upgrade version by version, example 1.18->1.19->1.20,… Check next version of kubeadm, select next max version yum list –showduplicates kubeadm –disableexcludes=kubernetes Upgrade kubeadm to next version sudo yum install -y kubeadm-<version> –disableexcludes=kubernetes Verify new kubeadm version kubeadm version Find upgrade plan kubeadm upgrade plan Upgrade to max version in plan kubeadm upgrade apply <version> Upgrade node […]
launch gdb gdb <execute path> [core file path] run run [args] r [args] make break point b line_number break line_number break [file_name]:line_number break [file_name]:func_name Printing the variable values print <variable> p <variable> Continue, stepping over and in c or continue: Debugger will continue executing until the next break point. n or next: Debugger will execute […]
Option 1 apt-get install -y (yourpackage) –print-uris > dependencies sed -i ‘s/ .*//’ “dependencies” wget -i dependencies Option 2 sudo apt-get install –download-only nombre-del-paquete All downloaded files will be saved in folder /var/cache/apt/archives
Get-AppxPackage -allusers *<packageName>* | Remove-AppxPackage Type regedit then hit Enter. Go to the follow Registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ Create a new key inside the Windows key. Right-click the Windows key and choose New > Hit Key. Name the new key CloudContent. Create a new value inside that new key. Right-click the CloudContent key and select New […]
X11 forwarding refers to executing such a program remotely through an SSH (Secure Shell) connection. It’s mean the executable file itself is hosted on a different machine than where the graphical interface is being displayed. The graphical windows are forwarded to your local machine through the SSH connection. Step 1: Install Required Packages First install […]
Step by step on how to program a ATtiny85 microcontroller with Arduino Uno development board. I am working on a project which requires reading multiple sensor data on different locations. These require only few PWM pins so using multiple Arduino Uno would be expensive and unnecessary. So I decided to use ATtiny85 microcontroller in place […]
In this example, we will create dev namespace and token for access this namespace only Create Namespace kubectl create namespace dev Create Service Account with permissions Create file permission-dev-namespace.yaml with content: — apiVersion: v1 kind: ServiceAccount metadata: name: dev-user namespace: dev — kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: dev-user-full-access namespace: dev rules: – apiGroups: [“”, […]
- 1
- 2