/images/avatar.png

Run docker image for arm64 on amd64

Display the host architecture 1 2 uname -m x86_64 Let’s try run image with arm64. We’ve got an error 1 2 3 docker run --rm -t arm64v8/ubuntu uname -m WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested exec /usr/bin/uname: exec format error Install the qemu packages 1 sudo apt-get install qemu binfmt-support qemu-user-static This step will execute the registering scripts

Install ubuntu on zfs mirror with ZFSBootMenu

| Ubuntu 24.04 Main documentation link Run Ubuntu Server installation, choose enter shell, create user and start ssh daemon. Connect trough ssh and run scripts 1 2 3 4 useradd -s /bin/bash -m -G sudo goto passwd goto systemctl start ssh ip -c a Run the script after sudo -Es: Uses 2 disks vda and vdb, change them! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 #!

Persist Always on Visible Workspace

| Ubuntu 22.04 It doesn’t work on Wayland, only on Xorg Install devilspie2 an create test config for Mozilla Firefox 1 2 3 4 5 6 7 8 9 10 11 sudo apt install devilspie2 mkdir -pv ~/.config/devilspie2 cat <<EOF > /home/goto/.config/devilspie2/firefox.lua if (string.match(get_window_name(), "Mozilla Firefox")) then maximize(); stick_window(); end EOF devilspie2 --debug Mozilla Firefox should open in maximize and be visible on all workspaces Find name of the windows:

User systemd service

| Ubuntu 22.04 All of users’ systemd have to place in directory ~/.config/systemd/user/ If you want start user systemd unit when user login, run: 1 systemctl --user enable <service> List of available types of systemd units: 1 2 3 4 5 6 7 8 9 10 11 12 13 systemctl -t help Available unit types: service mount swap socket target device automount timer path slice scope Create user systemd file to make ssh connection:

Ceph on isolated environment

Ubuntu 22.04 on all nodes Ceph on single host Ceph on isolated environment Let’s prepare our network environment to deploy Ceph without the Internet We need to create 6 nodes: 3 for ceph installation (ceph1, ceph2, ceph3) 1 for apt repository (aptly) 1 for docker registry (harbor) 1 for dns server (infra) Also we need set up 3 networks: Ceph Internal to connect only ceph nodes to each other Internal to connect ceph, aptly and harbor nodes vLan to connect aptly and harbor nodes to the internet And we need a dns server to resolve names connected with ip pools:

Aptly deb repository

Quick links | Ubuntu 22.04 Install Aptly Official instruction here: 1 2 3 4 echo "deb [signed-by=/etc/apt/keyrings/aptly.asc] http://repo.aptly.info/ squeeze main" | sudo tee /etc/apt/sources.list.d/aptly.list sudo mkdir -p /etc/apt/keyrings; sudo chmod 755 /etc/apt/keyrings sudo wget -O /etc/apt/keyrings/aptly.asc https://www.aptly.info/pubkey.txt sudo apt update && sudo apt install aptly Create aptly config: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 cat <<EOF | sudo tee /etc/aptly.