Whenever you want to change colors in the terminal, for instance (tmux), you can use this color palette. Very useful!
Openvz on Ubuntu
I’m building this off of here but looks like a few things need changing. Upgrade ubuntu sudo apt-get update && sudo apt-get upgrade Install Required Packages sudo apt-get install linux-image-extra-virtual Download OpenVZ Kernel wget "https://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab145.3/linux-headers-2.6.32-openvz-042stab145.3-amd64_1_amd64.deb" wget "https://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab145.3/linux-image-2.6.32-openvz-042stab145.3-amd64_1_amd64.deb" wget "https://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab145.3/linux-image-openvz-amd64_042stab145.3_amd64.deb" $ shasum -a 256 *.deb 2695be2ec6d160fee4fef2b1c9b3c840f22306132c01321657eb90e049ae853f linux-headers-2.6.32-openvz-042stab145.3-amd64_1_amd64.deb 1e37294f119e9f37a7fb5eac70b568672175d1b1b6de98c24e64fb8b8718330f linux-image-2.6.32-openvz-042stab145.3-amd64_1_amd64.deb e79059c123c77078a59f7201ea45674b0b15689d839aa52d411707f6c8842370 linux-image-openvz-amd64_042stab145.3_amd64.deb Reboot and try it out sudo vzctl --version
Docker vs Podman
I was reading an old reddit posts about docker vs podman. There was interesting image there that I wanted to share. The original post was here
Setting up a wireguard client server network
Let’s say you want to set up a wireguard network using a central server. You have a few devices that are not directly reachable from the internet, but you do have a central server that is reachable. All you need to do is extend this sample config and you are good to go. Note that you’ll still need to update iptables/nftables appropriately, but this is a good start. ## host02 [Interface] PrivateKey = 4CkSPldAid5ZePdfNIvDJLu372fyugAcJSMsQBN2MnA= Address = 10.0.0.2/32 ListenPort = 51822 [Peer] PublicKey = VZ8Tq9HWOTzdCTK1x8qgVspmAlv3NJ9hLn5AHDGY9ns= AllowedIPs = 10.0.0.0/24 Endpoint = vpc.example:51823 PersistentKeepalive = 25 ======================================== ## host01 [Interface] PrivateKey = uFDx9v5d5+QD9oWl+n971KxgjmbmJC4pInRKUGL74FQ= Address = 10.0.0.1/32 ListenPort = 51821 [Peer] PublicKey = VZ8Tq9HWOTzdCTK1x8qgVspmAlv3NJ9hLn5AHDGY9ns= AllowedIPs = 10.0.0.0/24 Endpoint = vpc.example:51823 PersistentKeepalive = 25 ======================================== ## vps [Interface] PrivateKey = uD2FYOT4Cr8+5sQdLT54L2NlLPdjXVmA+JDhRi8MXUY= Address = 10.0.0.3/32 ListenPort = 51823 PostUp = sysctl -w net.ipv4.ip_forward=1 PostDown = sysctl -w net.ipv4.ip_forward=0 [Peer] PublicKey = od9UDJipRMjCHZlJ53hpiACIDim9OZVSbzOwkU3sllc= AllowedIPs = 10.0.0.1 [Peer] PublicKey = cMSv25vAYDvJaRyLjYPKHVEe3W1QIVvjRLlYnEZYnUE= AllowedIPs = 10.0.0.2 ========================================
My First Post
My getting started post. Easy, the real content is on later posts!