First steps I made to start my adventure with Ansible Please go to the official web for instructions on installing Ansible - this is the best way.
Installing and upgrading Ansible
Ansible’s installation and version
ansible --version Create Inventory
#inventory file 192.168.1.171 192.168.1.172 192.168.1.173 Create ansible.cfg
#ansible.cfg [defaults] inventory = inventory private_key_file = ~/.ssh/ansible/ remote_user = ubuntu Test Ansible is working
ansible all --key-file ~/.ssh/ansible -i inventory -m ping After creating config....
Generating and Using an SSH Key for Secure Server Access To generate a strong SSH key, run the following command:
ssh-keygen -t ed25519 -C "ansible" You will be prompted to choose a folder and name for the SSH key:
Generating public/private ed25519 key pair. Enter file in which to save the key (/home/marcin/.ssh/id_ed25519): /home/marcin/.ssh/ansible/ansible Next, copy the SSH key to the server(s) you want to access. However, before you do so, you must first log in to the server(s) using your name and password:...
This document describes how to mount CIFS shares permanently. The shares might be hosted on a Windows computer/server, or on a Linux/UNIX server running Samba.
...
Can’t access Oracle Cloud Always Free Compute http port
configure ingress route for port 80 curl localhost should bring back webpage in text format, however fails over internet. sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 80 -j ACCEPT sudo netfilter-persistent save test your web page over internet
To get started with NGINX Open Source or NGINX Plus, you first need to install it on a system and learn some basics.
Installing on Debian/Ubuntu Create a file named /etc/apt/sources.list.d/nginx.list that contains the following contents:
sudo nano /etc/apt/sources.list.d/nginx.list content of nginx.list
deb http://nginx.org/packages/mainline/OS/ CODENAME nginx deb-src http://nginx.org/packages/mainline/OS/ CODENAME nginx check you system OS and CODENAME
lsb_release -a the file nginx.list should be look like below
# comment deb http://nginx.org/packages/mainline/ubuntu/ focal nginx deb-src http://nginx....