Linux

  • Post by AskChoy
  • Apr 07, 2021
post-thumb

This is a collection of very useful links I’ve used on Linux.

Just Useful

Markdown cheat sheet

digitalocean excellent tutorials:

How to Create a New Sudo-enabled User on CentOS 8 by Brian Boucheron, March 30, 2020.

How To Set Up SSH Keys by Etel Sverdlov, June 22, 2012.

Step-by-Step Guide to Migrate Your WordPress Site to a New Host (January 5, 2021)

XCP-ng (Replacement for XenServer)

XCP-ng Main Site Their main site. Turnkey Open Source Hypervisor

XCP-ng documentation Their main documentation site.

Xen Orchestra The necessary client needed to manage all your XCP-ng VM appliances. Also known as XOA.

Installing Docker

Best Host OS for Docker

How To Install Docker on CentOS 8/RHEL 8 by jon snow, on www.errorhat.com.

Steps that worked for me in installing latest Docker:

Command line steps issued from normal sudo-er user Description
> sudo dnf config-manager –add-repo=https://download.docker.com/linux/centos/docker-ce.repo Install docker-ce repo
> dnf list docker-ce –showduplicates | sort -r List all available docker-ce
> sudo dnf install https://download.docker.com/linux/centos/8/x86_64/stable/Packages/containerd.io-1.4.4-3.1.el8.x86_64.rpm Install the latest containerd.io
> sudo dnf install https://download.docker.com/linux/centos/8/x86_64/stable/Packages/docker-ce-20.10.5-3.el8.x86_64.rpm https://download.docker.com/linux/centos/8/x86_64/stable/Packages/docker-ce-cli-20.10.5-3.el8.x86_64.rpm https://download.docker.com/linux/centos/8/x86_64/stable/Packages/docker-ce-rootless-extras-20.10.5-3.el8.x86_64.rpm Install all relevant packages
> sudo systemctl enable –now docker Enable and start the Docker service. The output confirms that we have created a symlink.
> systemctl status docker Confirm the Docker service is active
> sudo usermod -aG docker $USER Add your user to the docker group
> id $USER Verify that docker group is added
> sudo systemctl disable firewalld Disable firewalld for DNS resolution inside Docker containers to work.
Reboot your system to make sure firewalld disabled
> docker pull alpine Test docker by pulling a test container