Infrastructure as Code · 11 min
Ansible playbook II
First Read ansible playbook1 before starting this section. Ansible “file” and “template” module File ownership create directory create file permission syslinks Template To understand this let’s…
12 notes
Infrastructure as Code · 11 min
First Read ansible playbook1 before starting this section. Ansible “file” and “template” module File ownership create directory create file permission syslinks Template To understand this let’s…
Docker · 15 min
Dockerfile Docker can build images automatically by reading the instructions from a Dockerfile. A Dockerfile is a text document that contains all the commands a user could call on the command line to…
Docker · 10 min
Docker Installation Installation Uninstall old versions Install using the apt repository Another method for installing docker is to run the official script from https://get.docker.com Post…
Docker · 15 min
Docker container Container standard and industry leadership Micro kernel Monolithic Kernel Can we run Linux container on windows and vice versa? Can we run linux container on mac and vice versa?…
Git & GitHub · 7 min
Basic commands git pull origin branch_name: To pull changes from git git push origin branch_name: To push the changes to remote repository ssh-keygen -t rsa: To generate ssh key git –version: To see…
Git & GitHub · 11 min
Version control system VCS is basically software designed to record changes within one or more files over time. It allows us to undo or to cancel all made or pending changes within one or more…
Linux · 5 min
The Apache HTTP server, commonly known as Apache is a free and open-source web server, that delivers web content through the internet. As open-source software, its original source code is freely…
Infrastructure as Code · 6 min
Vagrant is an automation tool to manage VM lifecycle, right from creating avirtual machine to making any changes, deleting it, recreating it, provisioningit, anything that we do manually with VMs, we…
Linux · 5 min
It is a way to automate tasks by writing a series of commands in a text file called script that Linux shell can execute. It’s like creating a ‘to do list’ for your computer to follow step by step…
Linux · 16 min
Linux Links Soft links Aka Symbolic link It is a pointer to the original file Just like a shortcut in windows and smaller file size Different inode number If we delete the original file, the soft…
Linux · 2 min
/etc/systemd/system/multi-user.target.wants/apache2.service First we need to create a file inside /etc/systemd/system. For now i have created a file with name tomcat1.service. After that write a…
Linux · 18 min
To see Ip address of the machine ip addr show :Shows all the interfaces ip ip -4 addr show: Show only ipv4 address ifconfig: Same as ip addr show but it needs net tools to show ip address. Systemctl…