Posts
Upgrade Your Proxmox From 7.3 to 8
Before you start read this Proxmox Wiki: https://pve.proxmox.com/wiki/Upgrade_from_7_to_8
1. Check version of your Proxmox You can get the version in the top of the browser or from the terminal Open your Proxmox node in the terminal and run this command:
pveversion --verbose 2. Shutdown all your VMs make sure they dont start on bootup 3. do updates # running commands to update and upgrade (its recomended) apt update apt upgrade # Doing this from the web interface # Click on Node server ->upupu # In the center menu -> Updates # Click on Refresh ->refresh # Click on Upgrade 4.
Posts
Install HAProxy on Ubuntu VM in Proxmox
1. Get install Instructions choose the version you want to install https://haproxy.debian.net/
We decided to go with :
I am running : Ubuntu Jammy (22.04 LTS) and I want to install HAProxy version 2.8-stable (LTS) .
2. How to install the HAproxy on Ubuntu 22.04 through PPA repository sudo su - apt install --no-install-recommends software-properties-common add-apt-repository ppa:vbernat/haproxy-2.8 Now we will update the packages to update the list of repositories of Ubuntu:
Posts
MySQL Create DB Dump DB Restore DB
1. Create DB Run these commands
# Login to DB mysql -u root -p<ROOT_PASSWORD> # Create database create database [DATABASE_NAME] 2. Dump DB Run these commands
sudo mysqldump -u [user] -p [database_name] > [filename].sql 3. Restore DB from Dump Run this command
# To restore your dump using the command below mysql -u [user] -p [database_name] < [filename].sql
Posts
Install Semaphore in Your Homelab
1. Documentation Ansible Semaphore: Administration-guide: Installation
2. Installation We are going to install Semaphore on an Ubuntu 2204 LTS Server First we need a database we will install MariaDB Then we will install Semaphore
2.1 Install MariaDB Run these commands
# Update Ubuntu sudo apt update # Add MariaDB Repo curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- # Once the repository is added install server and client packages sudo apt install mariadb-server mariadb-client # Secure the MariaDB database sudo mysql_secure_installation use these settings:
Posts
Kubernetes CheetSheet
http://rino.kozow.com/devops/posts/kubernetes-cheetsheet/
1. Namespaces kubectl create namespace nico kubectl delete namespace nico kubectl get namespaces kubectl get nodes --all-namespaces kubectl get pods --all-namespaces kubectl get all -n my-namespace 2. Creating Resource Objects, Containers, Deployments) kubectl create -f https://k8s.io/examples/application/deployment.yaml kubectl create deployment nginx --image=nginx kubectl create deployment redis --image=redis kubectl create deployment hasher --image=dockercons/hasher:v0.1 kubectl create deployment rng --image=dockercons/rng:v0.1 kubectl create deployment webui --image=dockercons/webui:v0.1 kubectl create deployment worker --image=dockercons/worker:v0.1 2.1 Creating Resources from Manifest files or Folders or from a Repository # create resource(s kubectl apply -f .
Posts
Create Hugo_Data_Page
Create Data YAML file nano data/logbook.yaml Put this into the file
################## # logbook.yaml # ################## --- items: - id: 1 "maidenhead_location": "KG44dd58" "power": "100" "band": "20M" "mode": "J3E" "antenna": "20M End Fed halfwave" "date": "2022-12-16" "time_sast": "17:19" "frequency_mhz": "14.225" "callsign": "V51WW" "name": "Wynand" "location": "Nr Etosha" "sent_rst": "59+10dB" "received_rst": "57" "notes": "we had a great and long QSO" - id: 2 "maidenhead_location": "KG44dd58" "power": "100" "band": "20M" "mode": "J3E" "antenna": "20M End Fed halfwave" "date": "2022-12-16" "time_sast": "17:19" "frequency_mhz": "14.
Posts
Markdown Summary
Here is a detailed document on Markdown https://www.markdownguide.org/basic-syntax/
Lists
Sometimes you want numbered lists:
1. One 2. Two 3. Three Sometimes you want bullet points:
* Start a line with a star * Profit! Headers
# This is an tag ## This is an tag ###### This is an Emphasis
*This text will be italic* _This will also be italic_ **This text will be bold** __This will also be bold__ *You **can** combine them* Images
Posts
Creating Your First Hugo Site
1. open powershell Open the Windows Start menu, type powershell press enter type hugo version type hugo help
2. lets find a theme to use on our site https://themes.gohugo.io/
lets choose Ananke as our test theme https://themes.gohugo.io/themes/gohugo-theme-ananke/
this can be downloded from Github (Click the download button) https://github.com/theNewDynamic/gohugo-theme-ananke Now click on the Code dropdown button click on the two littel squares to copt the code we got https://github.com/theNewDynamic/gohugo-theme-ananke.git
3. Lets create a site C:\Users\nico\Documents mkdir hugo-sites cd C:\Users\nico\Documents\hugo-sites # lest create a site called hugo-demo hugo new site hugo-demo dir # lets open our project folder cd hugo-demo we now want to add our theme
Posts
Installing Hugo on Windows
1. Install Git first Open this web site and download GIT https://git-scm.com/download/win
2. Install GO https://go.dev/doc/install You want to download and install : go1.21.3.windows-amd64.msi
3. Install Winget Login to your microsoft account: https://account.microsoft.com/account?lang=en-us
Open the Windows Start menu, type store, and press Enter to open the Microsoft Store app.
In the search bar, type winget and press Enter. In the results, click the App Installer application
On the App Installer page, click Get to install the app.
Posts
Creating Better Bridge Connections for KVM on Centos 9 or Rocky Linux 9
There is a problem with the traditional way of doing this. If you are reading this you Probably have had problems trying to do this .
1. This is a bad way to create a Bridge connections for KVM on a Centos or Rocky Linux server Creating the Bridge br-My-Br01, its port and ens192
nmcli conn add type ovs-br conn.ens192 br-My-Br01 con-name br-My-Br01 Creating a Port
nmcli conn add type ovs-port conn.