hxp-blog

"RTFSC" - Read The F**king Source Code

AWX on kubernetes offline install with private registry

On an online machine, use kustomize to generate the yaml file: 1 vim kustomization.yaml 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resource...

Install a 3-node single master kubernetes cluster

A. Prerequisites Three CentOS 7 nodes with SELinux , swap and firewall disabled. |hostname|role|ip address| |-|-|-| |k8s01|master|192.168.12.21| |k8s02|node1|192.168.12.22| |ks803|node2|192.168.12...

Replace vSphere Web Client Certificate

A. Generate certificate Clone this project: https://github.com/BenMorel/dev-certificates and run: 1 2 cd dev-certificates create-ca.sh to create a CA, and remove the line: 1 DNS.2 = *.$DOMAIN ...

Connect to PPPoE network on RHEL 8/CentOS 8

Install gcc make git net-tools and ppp 1 yum install gcc make ppp git net-tools download rp-pppoe source code 1 curl https://dianne.skoll.ca/projects/rp-pppoe/download/rp-pppoe-3.15.tar.gz | tar ...

Setting up an IPv6 OpenVPN server on Manjaro Linux

Notes on installing an OpenVPN server without using auto scripts.

Install OpenVPN and Easy-RSA software on Manjaro 1 sudo yay -Sy openvpn easy-rsa Initialize a new PKI and generate a CA pair 1 2 3 4 5 6 cd /etc/easyrsa export EASYRSA=$(pwd) easyrsa init-pki #...

Configure a WebDAV share with non-standard port for Apache with HTTPS on CentOS 9

Create a self-signed cert Issue a self-signed cert with this command: 1 2 3 4 5 6 7 8 9 10 11 cd /etc/ssl/certs openssl req -newkey rsa:4096 \ -x509 \ -sha256 \ ...

Replacing the Default ESXi SSL Certificate and Trust the Cert on Windows 11

Backup the old cert Login to ESXi host via SSH and run: 1 2 3 4 cd /etc/vmware/ssl/ mkdir bak mv rui.crt bak/ mv rui.key bak/ Sign a new cert on ESXi host Under directory /etc/vmware/ssl, cre...

Gentoo Linux Installation Part 2: Install KDE Desktop Based on CLI Installation

Install sudo 1 2 3 emerge sudo echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers usermod -aG wheel hxp Add USE flag 1 2 echo "USE=\"bindist mmx sse sse2 mmxext dbus udev branding icu ...

Gentoo Linux Installation Part 1: Install Gentoo with CLI only

Getting Started Boot the machine with a Linux LiveCD (a live cd with GUI is better) and connect to network. Partitioning the disk Install Gentoo Linux on /dev/sda 1 2 printf "g\nn\n1\n\n+256M\n...

Compile and Install GCC-12 from Source

Install GCC-12 with Fortran Support on Gentoo Linux

Obtaining the source code Download gcc-12.1.0.tar.xz from https://bigsearcher.com/mirrors/gcc/releases/gcc-12.1.0/, and untar it with: 1 tar Jxvf gcc-12.1.0.tar.xz Download Prerequisites 1 2 c...