How to check Ansible version on Linux/Unix

To check the version of Ansible installed on a Linux or Unix system, use the following command: ansible –version The output will show the version number, for example: ansible 2.9.13 config file = None configured module search path = [‘/home/user/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’] ansible python module location = /usr/local/lib/python3.8/dist-packages/ansible executable location = /usr/local/bin/ansible python version = 3.8.7 … Read more

How to install PHP 7 on Debian Linux 8.x/7.x [jessie/wheezy]

To install PHP 7 on Debian Linux 8.x/7.x (jessie/wheezy), follow these steps: Add the package repository for PHP 7: sudo apt-get install apt-transport-https lsb-release ca-certificates sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg echo “deb https://packages.sury.org/php/ $(lsb_release -sc) main” | sudo tee /etc/apt/sources.list.d/php.list Update the package list: sudo apt-get update Install PHP 7 and related modules: sudo apt-get … Read more

How to install LXD container hypervisor on Ubuntu 16.04 LTS

To install LXD container hypervisor on Ubuntu 16.04 LTS, follow these steps: Add the LXD PPA (Personal Package Archive) to your system: sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable Update the package list: sudo apt update Install the LXD package: sudo apt install lxd Initialize LXD: sudo lxd init During the initialization process, you will be prompted to configure … Read more