Linux/Unix – dd progress status 

  To display the copy status using the “dd” utility, the “status = progress” key is used, but in the old version of “dd” this key is not yet available, so you can use the “pv” utility to see progress Example:

 Ansible Playbook – Install Docker on CentOS 7

The following example was taken as a Playbook. This Playbook runs on the “docker” host group, installs the necessary packages for Docker, adds the Docker repository, installs Docker, launches it and adds it to autorun. Also adds the user “artem” to the group “docker“   docker.yaml   Apply Playbook:

 Ansible – Install

A simple example of installing Ansible and adding a host. Install Ansible:   RedHat systems: Deb systems:   Generate an SSH key if it is not on the instance with Ansible:   Add the public key to the host, which we will manage:   Add the host to the list:   And insert the following … Continue reading " Ansible – Install"

 Kubernetes – Save all manifest of an existing cluster

  To save all manifests, create a BASH script:   With the following contents:   Add the execution bit and run it:   After executing in the current directory in the folder “k8s-manifests” will be saved all manifests ordered by namespaces and types.

 Docker phpMyAdmin – Nginx reverse proxy

For a container with phpMyAdmin, you need to add a variable with an absolute path:     The “location” block for Nginx (change the proxy path to yours):   Now phpMyAdmin will be available along the path: https://artem.services/phpmyadmin/