Requirements https://docs.k3s.io/installation/requirements
Spec Minimum Recommended CPU 1 core 2 cores RAM 512 MB 1 GB Create cluster with 3 workers: 1 2 3 4 5 6 7 # map 443 and 80 ports to ethernet on node k3d cluster create mycluster --agents 3 -p "443:443@loadbalancer" -p "80:80@loadbalancer" -p "8000:8000@loadbalancer" --wait # k3d cluster create mycluster --agents 3 --k3s-arg "--disable=traefik@server:0" --wait k cluster-info Kubernetes control plane is running at https://0.0.0.0:39973 CoreDNS is running at https://0.
| Ubuntu 22.04
Xelis wallet
Download the package and extract:
1 2 3 VER=0.0.2 curl -Lo /tmp/genesix_linux.zip https://github.com/xelis-project/xelis-genesix-wallet/releases/download/$VER/genesix_linux.zip unzip -d ~/Apps/xel/ /tmp/genesix_linux.zip We can download the icon and put it here as we will need to make desktop icon later For example save it from https://xelis.io/favicon.ico on /home/goto/Apps/xel/ with name favicon.ico
To make desktop icon for xel, we can make a file in usr/share/applications:
1 2 3 4 5 6 7 8 9 10 11 12 cat <<EOF > /usr/share/applications/xel.
I have k8s cluster and ceph cluster are connected to each other. Both are built on HDD. Let’s name them hdd-cluster. Also, I have k8s cluster and ceph cluster are built on SSD. They are connected to each other. Let’s name them ssd-cluster
Ok, we have
hdd-cluster: the first k8s cluster can create persistentVolume from ceph(hdd) ssd-cluster: the second k8s cluster can create persistentVolume from ceph(ssd) Let’s create pod connected with pv.
Prepare info.json with data of your app:
1 2 3 4 5 6 7 8 { "host": "keycloak.your.domain.com", "realm": "your-realm-name", "username": "admin", "password": "admin123", "clientid": "name-of-your-client", "client_secret": "client_secret" } Prepare script.sh:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 #!/usr/bin/env bash set -eou pipefail HOST=$(cat $1 | jq -r .host) REALM=$(cat $1 | jq -r .realm) USERNAME=$(cat $1 | jq -r .
Let’s start listening udp on port 2193 and host 172.16.4.105:
1 sudo tcpdump -i ens18 udp port 2193 -vv -X Send messages to listener:
1 echo -n "HELLO FROM LINUX|c" | nc -w 1 -u -4 172.16.4.105 2193 The same step, but for windows (powershell):
Install nmap (includes netcat) before.
1 echo -n "HELLO FROM WINDOWS|c" | ncat -w 1 -u -4 172.16.4.105 2193 And we can see udp-datagrams on the listener:
The post describes the steps to replace a mirror disk in a software raid array. In this example, we have 2 arrays: /dev/md0(system) and /dev/md1(data). Also we have boot partitions on each disk.
So, we have two disks:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 lsblk -f /dev/sdb /dev/sdc NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS sdb ├─sdb1 vfat FAT16 D506-F28D ├─sdb2 linux_raid_member 1.