Date commands gives us date and time in terminal. It provide us multiple options, let us explore those options.

Run below command in terminal to get systems current date and time.

date

To see Manual of Date Command

man date

To see help of Date Command

date --help

Lets explore…

Multiple times we see in terminals there are some kind of interesting shapes are formed like some matrix, different different shapes. In this article we are going to see some of them.

Steam locomotive Engine

First we have to install sl software to use that command.

apt-get install sl

after installing this package run below command.

sl

Telnet

Install telnet software

apt-get install telnet

Run below command to see some movie in terminal.

telnet towel.blinkenlights.nl
Docker (source: Google)

Task Description -

Run a Docker Container that can run GUI (Graphical User Interface) Programs

  1. Launch a container on docker in GUI mode.
  2. Run any GUI software on the container
  1. Docker Installed on your system.
  2. Docker Host should be GUI based.

Note: I’m Using RedHat Enterprise Linux V8 in this practical.

What is…

AWS CLI (Source: Google)

TASK Description -

  1. Create a key pair.
  2. Create a security group.
  3. Launch an instance using the above created key pair and security group.
  4. Create an EBS volume of 1 GB.
  5. The final step is to attach the above created EBS volume to the instance you created in the previous steps.

Configure Haproxy on AWS EC2 Instance

Tasks -

  1. Provision EC2 instances through ansible.
  2. Retrieve the IP Address of instances using the dynamic inventory concept.
  3. Configure the Web Servers through the ansible role.
  4. Configure the Load Balancer through the ansible role.
  5. The target nodes of the load balancer should auto-update as per the status of web servers.

Ansible with AWS EC2 and Apache web server

Task -

Deploy Web Server on AWS EC2 through ANSIBLE !!!

  1. Provision EC2 instance through ansible.
  2. Retrieve the IP Address of instance using dynamic inventory concept.
  3. Configure the web server through ansible!
  4. Create role for web server to customize the Instance and deploy the webpage to root directory.

prerequisites -

Apache web server on Docker Container using Ansible

Task -

Write an Ansible PlayBook that does the following operations in the managed nodes -

🔹 Configure Docker package
🔹 Start and enable Docker services
🔹 Pull the httpd server image from the Docker Hub
🔹 Run the httpd container and expose it to the public
🔹 Copy the html code in /var/www/html…

Integrating Minikube [Kubernetes (WordPress)] with Amazon RDS (MySQL) using Terraform

Task Overview

➡ Write an Infrastructure as code using terraform, which automatically deploy the WordPress application
➡ On AWS, use RDS service for the relational database for WordPress application. …

Task Overview

1) Write a Infrastructure as code using terraform, which automatically create a VPC.

2) In that VPC we have to create 2 subnets:

a) public subnet [ Accessible for Public World! ]

b) private subnet [ Restricted for Public World! ]

3) Create a public facing internet gateway…

Task Overview

The following steps are followed:

  • Write an Infrastructure as code using Terraform, which automatically create a VPC.
  • In that VPC we have to create 2 subnets:

1. public subnet [ Accessible for Public World! ]

2. private subnet [ Restricted for Public World! ]

  • Create a public-facing internet…

Shashi Kant

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store