Skip to content

Instantly share code, notes, and snippets.

View swagfin's full-sized avatar
🖥️
Just a little research

George Njeri (Swagfin) swagfin

🖥️
Just a little research
View GitHub Profile
@swagfin
swagfin / fixing-network-driver-issues-on-ubuntu-20.04.md
Last active March 23, 2024 09:33
Fixing Network Driver Issues on Ubuntu 20.04

Fixing Network Driver Issues on Ubuntu 20.04

If you encounter missing network drivers when installing Ubuntu on new machines, you might notice that network cards are listed as (UNCLAIMED) when you execute the command:

lshw -c network

This indicates that your device requires Hardware Enablement (HWE).

About Hardware Enablement (HWE)

@swagfin
swagfin / install-lets-encrypt-cert-microk8s.md
Last active July 8, 2024 15:15
Installing Lets Encrypt Certificate on Kubernetes (Microk8s Cluster)

Install Let's Encrypt SSL Certificate on Kubernetes Cluster (Microk8s)

Install Cert Manager

sudo microk8s kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.15.1/cert-manager.yaml

Create a Cluster Certiticate Issuer

@swagfin
swagfin / allow-root-ssh-login-linux.md
Last active March 23, 2024 09:49
How to install SSH Server and Allow root remove Login on Linux server

Allow Root User Access via SSH

First reset Ubuntu root Password: (Ensure you set a strong password)

sudo passwd root

Thereafter, install Openssh-Client

sudo apt update
sudo apt upgrade
@swagfin
swagfin / docker-install.md
Last active March 23, 2024 09:44
HOW TO INSTALL DOCKER ON LINUX

Install Docker on Linux (Ubuntu)

To install Docker run the command:

curl -sSL https://get.docker.com/ | sudo sh

Check version if working correctly:

docker --version
@swagfin
swagfin / microk8s-kubernetes-install-linux.md
Last active March 23, 2024 09:44
Install Kubernetes Cluster using Microk8s on Linux

Install Kubernetes Cluster using Microk8s on Linux

STEP 1 (Update and Upgrade the System)

sudo apt update
sudo apt upgrade

STEP 2 (Install MicroK8s)

sudo snap install microk8s --classic
@swagfin
swagfin / mssql-server-linux-install.md
Last active March 23, 2024 09:45
Mssql-server for Linux (Unattended Install)

Install MSSQL Server 2019 On Linux (Ubuntu)

This script can be used to install Microsoft sql server 2019 on Ubuntu 20.04 versions

# Password for the SA user (required)
MSSQL_SA_PASSWORD='<ENTER SA PASSWORD HERE>'
# Product ID of the version of SQL server you're installing
# Must be evaluation, developer, express, web, standard, enterprise, or your 25 digit product key
# Defaults to developer
[
{
"Windows": "Dateline Standard Time",
"Linux": "Etc/GMT+12"
},
{
"Windows": "UTC-11",
"Linux": "Etc/GMT+11"
},
{