Netplan is a new network card configuration method. The configuration files are stored at /etc/netplan as YAML files. Normally you have to edit these files to change from static to DHCP addresses ...
Creating an Apache website using Docker
source: https://www.docker.com/blog/how-to-use-the-apache-httpd-docker-official-image/ Small Docker container This will build a small instance of the Apache webserver. Good for very simple web sit...
Creating a Docker image with Ubuntu, NGINX and PHP
Set up Create a new directory and change into it Create a new directory called ‘webroot’ Create a new directory called ‘config’ Create ‘webroot/phpinfo.php’ <?php phpinfo(); ?> ...
Using Docker without sudo
source: https://www.baeldung.com/linux/docker-run-without-sudo sudo groupadd docker sudo usermod -aG docker username You will need to logout and back in again for the OS to recognize your additio...
Creating a template for a VM
Creating a VM template let’s you create VMs from a template quickly. Create a new VM Two cores 2 GB of memory 32 GB of storage QEMU enabled (for Proxmox) Add ...
Kernel Panic when installing Red Hat 9 in Proxmox
source: https://access.redhat.com/discussions/6959360 When creating a new VM using the RHEL 9 ISO, you may see a kernel panic. To work around this issue, when defining the VM and under the CPU tab...
Git Notes
Initialize a new folder mkdir new_dir cd new_dir git init "Project name" Set ownership globally git config --global user.name "Your Name" git config --global user.email "youremail@yourdomain.com"...
Creating a new Github repo for local work
Create a new repo on Github Get clone URL for remote repo Clone to local folder git clone https://github.com/dpearceMN/jekyll.git This will create a new local folder. Change in...
Installing Docker on Ubuntu
Installing manually source: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 #Make sure we are up to date sudo apt update && sudo apt upgrade...
Rancher in a Docker container
source: https://docs.ranchermanager.rancher.io/pages-for-subheaders/rancher-on-a-single-node-with-docker sudo docker run -d --restart=unless-stopped \ -p 80:80 -p 443:443 \ --privileged \ ra...