Skip to main content

Posts

Showing posts from March, 2023

Linux fundamental day 2 train with shubham

 Linux Founder—Linus Torvalds Linus Benedict Torvalds is a Finnish software engineer best known for having initiated the development of the Linux kernel and git revision control system. History of LINUX Linux came from a Unix family, Linux is free and open-source software operating systems, which was developed by Linus Torvalds in September 1991. In 1991, When Linus Torvalds was a student at the University of Helsinki, Finland, USA. He developed the first code of Linux 0.01 and post it on Minix newsgroup 17 Sep 1991, his code become so popular people encourage him to develop new code and he was lead to develop new code and release the first “official” version of Linux, version 0.02 on October 5, 1991. Today many year pass and Linux become one of the most popular operating system. Today 90% fastest Supercomputers out of 500 run on Linux variant including top 10. Linux File System Hierarchy + In Linux everything is represented as a file including a hardware program, the files are store

NGINX Web App Deployment for DevOps

  Step 1: Create AWS instance. Step 2: Install NGINX Step 3: Install docker and create a Container for note-app. Step 4: Set up a reverse proxy. Step 5: Copy the code to the root folder. Step 6: Connect the database nginx specification Step 1: Create AWS instance. Log in to the AWS account and create an ec2 server. Nginx is a web server that will serve you static web files. So we require a server. - Create an EC2 instance and name it 'nginx-project-demo'. Also, don't forget to allow HTTP and HTTPS traffic. ( For sake of practice, let's select an Ubuntu machine with t2.micro instance type) Update your server using the command.   sudo apt-get update Step 2: Install NGINX Now install Nginx using the command below. sudo apt install nginx Check the status of nginx. systemctl status nginx Restart the nginx server with root user permission. sudo systemctl restart nginx To check further nginx is successfully installed on your server is to use the server IP and paste it into the