<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Swapnil Ingale on Medium]]></title>
        <description><![CDATA[Stories by Swapnil Ingale on Medium]]></description>
        <link>https://medium.com/@swapnilingale31?source=rss-28495f334b73------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*oUKZzMkxlGiuZsKx</url>
            <title>Stories by Swapnil Ingale on Medium</title>
            <link>https://medium.com/@swapnilingale31?source=rss-28495f334b73------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 08:25:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@swapnilingale31/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to install the Apache web server on an AWS EC2 instance]]></title>
            <link>https://blog.devops.dev/how-to-install-the-apache-web-server-on-an-aws-ec2-instance-ada54e8d2312?source=rss-28495f334b73------2</link>
            <guid isPermaLink="false">https://medium.com/p/ada54e8d2312</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Swapnil Ingale]]></dc:creator>
            <pubDate>Fri, 09 Jun 2023 20:44:07 GMT</pubDate>
            <atom:updated>2023-06-10T13:19:14.421Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello There,</p><p>In this post, we are going to install the Apache web server on the AWS EC2 instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/0*_Y4sUtw7TDgdZRPW.jpeg" /><figcaption>Apche Webserver on AWS EC2(<a href="https://miro.medium.com/max/476/1*EfnJzde1zIY1o6kmuutC3Q.jpeg">Image Credit</a>)</figcaption></figure><p>First, we need to understand this can be achieved in various ways.</p><ol><li>We can feed the installation commands in the user data section while launching the EC2 instance.</li><li>We can launch the EC2 instance and then run the installation commands.</li><li>We can launch the EC2 instance and then create a simple bash script with the installation command and execute it.</li></ol><p>So to have a more practical view we are going with 2nd method in this post.</p><p>In the first step, Please launch the AWS EC2 instance with the following settings:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NvQB50b0ukOJJjMsUwuexA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*fgfEr-Jw5gWxLSI1RtIJ_w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*gawC49sUSpCCIG9rKzG9XA.png" /></figure><p>Here Create a new Key pair and download it on your local system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*Qs-9PPZaZy0s3yM_sdinMg.png" /></figure><p>Create a new Security Group with allowing SSH and HTTP requests from anywhere in the world.(It is for only Demo purposes, not recommended in real-world scenarios)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MYleERZRbyD3ONH-VirpGg.png" /></figure><p>Please verify the instance is in a running state and then connect it via git bash/PowerShell on your local system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J7yPOVGty0OBXZGDJn0gYg.png" /></figure><p>Please make sure that you are executing the ssh command to connect with EC2 instance from the same location where your key resides. Also, we need to make sure that our .pem key has appropriate permissions.</p><pre>chmod 400 ApacheWebServer.pem<br>ssh -i ApacheWebServer.pem ec2-user@&lt;Public_IP_Address&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*tXTyqWDqwLezPFUWdAU6hA.png" /></figure><p>Once connected successfully to the EC2 instance, you can update the system with the below command.</p><pre>sudo yum update -y</pre><p>Use the below command to install the webserver.</p><pre>sudo yum install httpd -y</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6UD0AFN3MOWm99X6LScSyw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rCL6B0uWP3Kqf2oRbom-Lw.png" /></figure><p>Once the Apache is successfully installed, please start the Apache web server and check the instance status.</p><pre>sudo systemctl start httpd.service<br>sudo systemctl status httpd.service  OR ps -ef | grep httpd<br>sudo systemctl enable httpd</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5DeBClRQYDREhCHsMbaXcA.png" /></figure><p>You can edit the index.html file content nd then verify the Apache webserver in the browser.</p><pre>sudo su<br>echo &quot;&lt;h1&gt; Hello from Apache webserver&lt;/h1&gt;&quot; &gt;&gt; /var/www/html/index.html</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FyAAopQdNik2OaSZ7fbozA.png" /></figure><p>And then grab a public IP address of your Ec2 instance and paste it into the browser where we can see the Apache webserver is working correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PLuBiRzowbnKoPqtn5xjJA.png" /></figure><p><strong><em>Note:</em></strong><em> For any corrections/Feedback, please reach out to me via </em><a href="https://www.linkedin.com/in/swapnilingale31"><em>Linkedin</em></a><em> or at </em>swapnilingale31@gmail.com<em>.</em></p><blockquote><strong><em>Thanks for reading and Keep Learning!!</em></strong></blockquote><blockquote><strong><em>SWAPNIL :)</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ada54e8d2312" width="1" height="1" alt=""><hr><p><a href="https://blog.devops.dev/how-to-install-the-apache-web-server-on-an-aws-ec2-instance-ada54e8d2312">How to install the Apache web server on an AWS EC2 instance</a> was originally published in <a href="https://blog.devops.dev/">DevOps.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Certified Solutions Architect Associate Certification SAA-C03]]></title>
            <link>https://medium.com/@swapnilingale31/aws-certified-solutions-architect-associate-certification-saa-c03-6a962f868c74?source=rss-28495f334b73------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a962f868c74</guid>
            <category><![CDATA[aws-certified]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-cloud]]></category>
            <category><![CDATA[aws-saa-c03]]></category>
            <category><![CDATA[aws-certification]]></category>
            <dc:creator><![CDATA[Swapnil Ingale]]></dc:creator>
            <pubDate>Sat, 03 Jun 2023 03:54:15 GMT</pubDate>
            <atom:updated>2023-06-03T03:54:58.329Z</atom:updated>
            <content:encoded><![CDATA[<h3>AWS SAA-C03</h3><p><strong>Hello There,</strong></p><p>I’ve successfully cleared the AWS Certified Solutions Architect Associate Certification SAA-C03 exam this week so here I’m sharing my experience about this exam.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*415D-ou6S2-FfkULw-b5YA.png" /><figcaption><a href="https://www.credly.com/badges/85277b7f-5300-4e27-bedb-565fed5ee1e0/public_url">AWS Certified Solution Architect Associate Badge</a></figcaption></figure><p>Last month, I passed the AWS Cloud Practitioner exam and I wanted to carry out the next destination as AWS Certified Solutions Architect — Associate certification. So, I studied for almost 4 weeks including the preparation and practice exam tests that helped me to pass the exam. With that saying one must take the appropriate time to study as per his/her confidence.</p><p>First, understand the exam blueprint from the AWS official website along with the weightage for each domain, type and no of questions, passing criteria/marks, and the exam topics, and then start your journey.</p><p>The resources that I’ve used are:<br>1. Stephane Maarek’s<strong> </strong>Udemy course AWS Certified Solutions Architect Associate Certification SAA-C03 <br>2. Jon Bonso’s Udemy AWS Certified Solutions Architect Associate Practice Tests for SAA-C03 topics. <br>3. AWS cheatsheet from tutorialsdojo website <br>4. Microsoft Edge chatbot/chatGPT for a quick simpler explanation</p><p>The Stephane Maarek video course is too long at first glance(AWS is growing day by day and thus the scope as well) and it took a while for me to complete but I made it with a 2x feature whenever I can use it. It gives a brief introduction to all the required services with quite opt information from an exam perspective. Once I made it through the video course, I next hopped on practice exams.</p><p>Jon Bonso’s created practice exams are highly recommended since those are well-curated and scenario-based giving us the real exam-like touch. I took overall 7 practice exams out of which I barely passed 4 with an average of 73% only. I found the real exam a little easy as compared to the practice exams. I made sure that I not only followed the explanation sheet for wrong answers that I got but also followed it for correct ones since sometimes we just keep guessing the answer without the proper understanding and that helped to grasp the use cases of different services and which fits in which scenario.</p><p>Lastly, I also referred tutorialsdojo website for the AWS cheatsheet whenever possible to clear out the doubts. The AWS Cheatsheet helps to get the exact knowledge about AWS services that are required for the exam, especially since I liked the services comparison part which helps for better clarity.</p><p>One week prior to an exam,<strong> </strong>I started using the Microsoft Edge chatbot for simple explanations of the AWS services and that really helped to save more time, so give it/chatGPT a try once!!</p><p>Along with this, I used self-notes that helped me during the revision 1–2 days prior to the exam. On the exam day, I revised only the ppt slides from Stephane’s video course and I’ll suggest going through that once(just remember it is a long one and takes time so start early) that should be enough along with the month’s preparation to pass the exam.</p><p><strong>Tips:</strong> Remember almost all the exam questions are scenario based and long enough to read so try to solve as many time-bound practice tests as possible to gain confidence. Use the method of wrong option elimination to get the correct one and keywords do play a critical role here so pay attention to details. AWS recommends Hands-on experience for this exam. So if you are a beginner, please consider the Hands-on labs along with the study course. And, AWS Whitepapers are great in-depth sources to make a solid understanding of AWS Infrastructures and services offerings.</p><p><strong>Finally Best wishes for your exam :)</strong></p><p><strong><em>Note:</em></strong><em> For any corrections/Feedback, please reach out to me via </em><a href="https://www.linkedin.com/in/swapnilingale31"><em>Linkedin</em></a><em> or at </em>swapnilingale31@gmail.com<em>.</em></p><blockquote><strong><em>Thanks for reading and Keep Learning!!</em></strong></blockquote><blockquote><strong><em>SWAPNIL :)</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a962f868c74" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux Commands Cheatsheet — Ultimate]]></title>
            <link>https://blog.devops.dev/linux-commands-cheatsheet-cac3c70845e2?source=rss-28495f334b73------2</link>
            <guid isPermaLink="false">https://medium.com/p/cac3c70845e2</guid>
            <category><![CDATA[linux-cheat-sheet]]></category>
            <category><![CDATA[linux-commands]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[devopslearners]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Swapnil Ingale]]></dc:creator>
            <pubDate>Thu, 24 Nov 2022 09:49:00 GMT</pubDate>
            <atom:updated>2023-06-02T09:56:26.678Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*ISCsX_Qxs9X4h2HotExmQQ.png" /><figcaption>Linux Cheat Sheet(<a href="https://cdn-blog.adafruit.com/uploads/2018/10/Linux-commands-cheat-sheet-thumb.png">Image Credit</a>)</figcaption></figure><p>Hi There,</p><p>Please find below Linux commands for easy access and handy pickup during Linux work hours. I’ve tried to compile as many Linux commands I’m aware of or have used in past. I’ll keep adding more commands here.</p><pre>+------------------------+-------------------------------------------------------------------------------------------------------------------------------+<br>| Commands               | Description                                                                                                                   |<br>+------------------------+-------------------------------------------------------------------------------------------------------------------------------+<br>| uname -a               | Displays all information about Linux system information                                                                       |<br>| uname -r               | Displays the system                                                                                                           |<br>| uname                  | Displays Linux system information                                                                                             |<br>| uptime                 | Displays since how system has been running                                                                                    |<br>| uptime -p              | Shows uptime in pretty format                                                                                                 |<br>| uptime -s              | Shows uptime in pretty format                                                                                                 |<br>| hostname               | Displays host name                                                                                                            |<br>| hostname -f            | Displays long host name (FQDN)                                                                                                |<br>| hostname -i            | Displays IP addresses for the host name                                                                                       |<br>| hostname -I            | Displays all IP addresses for the host                                                                                        |<br>| last reboot            | Shows system reboot history                                                                                                   |<br>| lshw                   | Hardware Lister                                                                                                               |<br>| lsblk -a               | Lists the information about all the block devices attached to the system                                                      |<br>| lscpu                  | Displays information about the CPU architecture                                                                               |<br>| lscpu -a               | Prints both online and offline CPUs                                                                                           |<br>| ip addr                | Shows addresses assigned to all network interfaces                                                                            |<br>| ip route               | Show table routes                                                                                                             |<br>| ifconfig               | Displays the IP address of the system                                                                                         |<br>| date                   | Shows system date and timestamp                                                                                               |<br>| date +”%d”             | Prints day of the month (01-31)                                                                                               |<br>| date +”%m”             | Prints the month of the year 01-12                                                                                            |<br>| date +”%y”             | Prints only the last two digits of Year                                                                                       |<br>| date +”%H”             | Prints the hour 00-23                                                                                                         |<br>| date +”%M”             | Prints the Minute of the hour 00-59                                                                                           |<br>| date +”%S”             | Prints the current seconds count in the minute (00-60)                                                                        |<br>| date +&quot;%D&quot;             | Prints Date in MM/DD/YY                                                                                                       |<br>| date +”%F”             | Prints only the Full date as YYYY-MM-DD                                                                                       |<br>| date +”%A”             | Prints the Day of the Week Saturday-Sunday                                                                                    |<br>| date +”%B”             | Prints the month between January-December                                                                                     |<br>| who                    | Prints information about users who are currently logged in                                                                    |<br>| who -a                 | Prints information about all users who are currently logged in                                                                |<br>| whoami                 | Prints the user name associated with the current effective user ID                                                            |<br>| umask                  | Prints the permissions bits for newly created files or directories                                                            |<br>| free                   | Displays system memory details in KB                                                                                          |<br>| free -m                | Displays system memory details in MB                                                                                          |<br>| id                     | Prints user and group information for the specified USER                                                                      |<br>| last                   | Displays display the list of all the users logged in and out since the file /var/log/wtmp was created                         |<br>| lsof                   | Lists all open files belonging to all active processes                                                                        |<br>| ulimit                 | Allows viewing or limiting system resource amounts that individual users consume                                              |<br>| ulimit -a              | Displays detailed report of all resource limit for the current user                                                           |<br>| ulimit -Sa             | Displays detailed soft limits for the current user                                                                            |<br>| ulimit -Ha             | Displays detailed hard limits for the current user                                                                            |<br>| ulimit -u 100          | Limit a user&#39;s maximum process number to 100                                                                                  |<br>| ulimit -f 100          | Limit the user&#39;s maximum file size to 100KB                                                                                   |<br>| ulimit -n 100          | Limit a user&#39;s maximum number of open files to 100                                                                            |<br>| ulimit -v 100          | Limits the virtual memory available for a process to 100KB                                                                    |<br>| df                     | Report file system disk space usage                                                                                           |<br>| df -h                  | Report file system disk space usage in human readable format                                                                  |<br>| du                     | Summarize disk usage of each FILE, recursively for directories                                                                |<br>| du -sh                 | Summarize disk usage in human readable format                                                                                 |<br>| clear                  | To clear the screen                                                                                                           |<br>| sudo yum install &lt;pkg&gt; | To install the package in CentOS with sudo access                                                                             |<br>| sudo yum remove &lt;pkg&gt;  | To remove the package in CentOS with sudo access                                                                              |<br>| sudo yum info&lt;pkg&gt;     | To get the info about the package in CentOS with sudo access                                                                  |<br>| top                    | A dynamic real-time view of a running system with processes, threads                                                          |<br>| ps                     | Displays information about a selection of the active processes                                                                |<br>| ps -ef                 | To see every process on the system using standard syntax                                                                      |<br>| ps -aux                | To see every process on the system using BSD syntax                                                                           |<br>+------------------------+-------------------------------------------------------------------------------------------------------------------------------+</pre><pre>+-------------------------------------------------------+--------------------------------------------------------------------------+<br>| Commands                                              | Description                                                              |<br>+-------------------------------------------------------+--------------------------------------------------------------------------+<br>| ping &lt;hostname&gt;                                       | Ping sends ICMP ECHO_REQUEST to network hosts                            |<br>| ping -4 &lt;hostname&gt;                                    | Ping sends ICMP ECHO_REQUEST to network hosts with ipv4 address          |<br>| ping -6 &lt;hostname&gt;                                    | Ping sends ICMP ECHO_REQUEST to network hosts with ipv6 address          |<br>| ping -c 3 &lt;hostname&gt;                                  | Stop after sending 3 count ECHO_REQUEST packets                          |<br>| ping -i 3 &lt;hostname&gt;                                  | Wait interval 3 seconds between sending each packet                      |<br>| telnet &lt;hostname&gt; &lt;port_no&gt;                           | To communicate with another host using the TELNET protocol               |<br>| telnet -4 &lt;hostname&gt; &lt;port_no&gt;                        | Force IPv4 address resolution                                            |<br>| telnet -6 &lt;hostname&gt; &lt;port_no&gt;                        | Force IPv6 address resolution                                            |<br>| fdisk -l                                              | List the partition tables for the specified devices                      |<br>| fdisk -s &lt;partition&gt;                                  | Displays partition size(s) in blocks                                     |<br>| mount                                                 | Displays all file systems including the virtual ones                     |<br>| mount &lt;device_name&gt; &lt;directory&gt;                       | To mount a file system in a given location                               |<br>| mount -t &lt;file_system_type&gt; &lt;device_name&gt; &lt;directory&gt; | To mount a file system in a given location with specific filesystem type |<br>| unmount &lt;device_name&gt; OR umount &lt;directory&gt;           | To detach a mounted file system                                          |<br>| unmount -l &lt;directory&gt;                                | Lazy unmount a busy file system as soon as it is not busy anymore        |<br>| unmount -f &lt;directory&gt;                                | Force unmount and for unreachable filesystem                             |<br>+-------------------------------------------------------+--------------------------------------------------------------------------+</pre><pre>+-----------------------+-------------------------------------------------------------------------------------------------------------------------------+<br>| Commands              | Description                                                                                                                   |<br>+-----------------------+-------------------------------------------------------------------------------------------------------------------------------+<br>| useradd               | To add the user                                                                                                               |<br>| useradd -e            | Expiration date of the new account                                                                                            |<br>| useradd -U            | Create a group with the same name as the user                                                                                 |<br>| useradd -p            | Encrypted password of the new account                                                                                         |<br>| useradd -M            | Create the user&#39;s home directory                                                                                              |<br>| useradd -D            | Print or change default useradd configuration file /etc/default/useradd                                                       |<br>| useradd -s            | Login shell of the new account                                                                                                |<br>| useradd -G            | List of supplementary groups of the new account                                                                               |<br>| usermod               | To modify the user                                                                                                            |<br>| usermod -L            | Lock the user account                                                                                                         |<br>| usermod -U            | Unlock the user account                                                                                                       |<br>| usermod -aG           | Append the user to the supplemental GROUPS mentioned by the -G option without removing the user from other groups             |<br>| userdel               | To delete the user                                                                                                            |<br>| userdel -f            | Force some actions that would fail otherwise                                                                                  |<br>| userdel -r            | Remove home directory and mail spool                                                                                          |<br>| passwd                | To set the user password                                                                                                      |<br>| chage -l              | Shows the account aging information                                                                                           |<br>| groupadd              | To add the group                                                                                                              |<br>| groupadd -p           | Use this encrypted password for the new group                                                                                 |<br>| groups                | Displays the group where current user belongs to                                                                              |<br>| groupmod -n           | Change the name to NEW_GROUP                                                                                                  |<br>| groupdel              | To delete the group                                                                                                           |<br>| groupdel -f           | Delete group even if it is the primary group of a user                                                                        |<br>| ls                    | To list the files in current directory                                                                                        |<br>| ls -ltr               | To list the files in long listing format with sort by modification time, newest first and then in reverse order               |<br>| ls -la                | To list the files in logn listing format along with hidden files                                                              |<br>| pwd                   | Shows Present working directory                                                                                               |<br>| cd                    | To change the directory                                                                                                       |<br>| cd ..                 | To move one directory above                                                                                                   |<br>| cd -                  | To move into last working directory                                                                                           |<br>| cd /                  | To change the pwd to root directory which is the topmost/outermost parent directory                                           |<br>| cd ~                  | To move into the home directory                                                                                               |<br>| touch                 | To create an empty file                                                                                                       |<br>| rm &lt;file1&gt;            | To remove the file                                                                                                            |<br>| rm -f &lt;file1&gt;         | To remove the file forcefully                                                                                                 |<br>| rm -I &lt;file1&gt;         | Prompt before every removal                                                                                                   |<br>| mkdir &lt;dir1&gt;          | To create a directory                                                                                                         |<br>| rmdir &lt;dir1&gt;          | To remove a directory                                                                                                         |<br>| rmdir -f &lt;dir1&gt;       | To remove a directory forcefully                                                                                              |<br>| rmdir -r &lt;dir1&gt;       | To remove a directory recursively                                                                                             |<br>| cp &lt;file1&gt;            | To copy the file                                                                                                              |<br>| cp &lt;file1&gt; &lt;file2&gt;    | To copy the file1 content to file2                                                                                            |<br>| cp -r &lt;dir1&gt; &lt;dir2&gt;   | To copy the dir1 to dir2 recursively with dir2 creation if non-existent                                                       |<br>| mv &lt;file1&gt; &lt;file2&gt;    | To move/rename the file                                                                                                       |<br>| cat &lt;fil1&gt;            | Displays the content of the file                                                                                              |<br>| cat -n &lt;file1&gt;        | Number all output lines                                                                                                       |<br>| cat -A &lt;file1&gt;        | Show-all, equivalent to -vET                                                                                                  |<br>| cat &gt; &lt;file1&gt;         | To create and fill the info in the file in one command                                                                        |<br>| cat &lt;file1&gt; &gt; &lt;file2&gt; | To copy content of one file to another                                                                                        |<br>| cat -E &lt;file1&gt;        | Display $ at end of each line                                                                                                 |<br>| cat -s &lt;file1&gt;        | Suppress repeated empty output lines                                                                                          |<br>| cat -T &lt;file1&gt;        | Display TAB characters as ^I                                                                                                  |<br>| cat -v &lt;file1&gt;        | Displays non-printing characters                                                                                              |<br>| less &lt;file1&gt;          | To read the contents of a large text file one page(one screen) at a time. It allows backward and forward movement in the file |<br>| more &lt;file1&gt;          | To read the contents of the file one screenful at a time                                                                      |<br>| vi &lt;file1&gt;            | Vi is the text editor in linux to modify the files                                                                            |<br>| nano &lt;file1&gt;          | Nano is another text editor in linux                                                                                          |<br>+-----------------------+-------------------------------------------------------------------------------------------------------------------------------+</pre><pre>+------------------------------------------------+--------------------------------------------------------------------------------------------------------------------+<br>| Commands                                       | Description                                                                                                        |<br>+------------------------------------------------+--------------------------------------------------------------------------------------------------------------------+<br>| locate &lt;file1&gt;                                 | To find out the path where file1 is present                                                                        |<br>| head &lt;file1&gt;                                   | Displays by default the first 10 lines from the file                                                               |<br>| head -n 20 &lt;file1&gt;                             | Displays first 20 lines from the file                                                                              |<br>| head -q &lt;file1&gt; &lt;file2&gt;                        | Never print headers giving file names                                                                              |<br>| head -v &lt;file1&gt; &lt;file2&gt;                        | Always print headers giving file names                                                                             |<br>| tail &lt;file1&gt;                                   | Prints by default the last 10 lines of file1 to standard output                                                    |<br>| tail -n 20 &lt;file1&gt;                             | Prints last 20 lines of file1                                                                                      |<br>| tail -q &lt;file1&gt; &lt;file2&gt;                        | Never print headers giving file names                                                                              |<br>| tail -v &lt;file1&gt; &lt;file2&gt;                        | Always print headers giving file names                                                                             |<br>| tail -f &lt;file1&gt;                                | Output appended data as the file1 grows                                                                            |<br>| ln &lt;original_file&gt; &lt;hard_link&gt;                 | Creates a hard link for original file                                                                              |<br>| ln -s &lt;original_file&gt; &lt;soft_link&gt;              | Creates a soft link for original file                                                                              |<br>| tac &lt;file1&gt;                                    | Displays the file1 content in reverse ie last line first                                                           |<br>| find . -name &lt;file1&gt;                           | Finds the file1 in current directory                                                                               |<br>| find / -iname &lt;file1&gt;                          | Finds the file1 in / directory ignoring the case                                                                   |<br>| find . -type d -name &lt;dir1&gt;                    | Finds the dir1 in current directory                                                                                |<br>| find . -type f -name &lt;file1.txt&gt;               | Finds the file1.txt in current directory                                                                           |<br>| find . -type f -perm 777                       | Finds all the files whose permissions are 777 in the current directory                                             |<br>| find . -type f ! -perm 777                     | Finds all the files whose permissions are NOT 777 in the current directory                                         |<br>| find . -perm /u=r                              | Finds all Read-Only files in the current directory                                                                 |<br>| find . -perm /a=x                              | Finds all executables files in the current directory                                                               |<br>| find . -perm /a=w                              | Finds all writable files in the current directory                                                                  |<br>| find . -type f -perm 777 -exec ls -ltr {} \;   | Finds all the files whose permissions are 777 in the current directory and lists them                              |<br>| find / -type d -perm 777 -exec chmod 755 {} \; | Finds all the directories with 777 permissions in the current directory and changing it to 755 with chmod          |<br>| find . -type f -empty                          | Find all Empty Files in the current directory                                                                      |<br>| find . -type d -empty                          | Find all Empty directories in the current directory                                                                |<br>| find / -user &lt;username&gt; -name &lt;file1&gt;          | Finds the file1 with specific user owned in / directory                                                            |<br>| find / -user &lt;username&gt;                        | Finds all the files specific user owned in / directory                                                             |<br>| find / -group &lt;groupname&gt;                      | Finds all the files specific group owned in / directory                                                            |<br>| find / -mtime 100                              | Finds all the files which are modified 100 days back in / directory                                                |<br>| find / -atime 100                              | Finds all the files which are accessed100 days back in / directory                                                 |<br>| find / -mtime +50 –mtime -100                  | Finds all the files which are modified more than 50 days back and less than 100 days in / directory                |<br>| find / -cmin -60                               | Finds all the files which are changed in the last 1 hour in / directory                                            |<br>| find / -mmin -60                               | Finds all the files which are modified in the last 1 hour in / directory                                           |<br>| find / -amin -60                               | Finds all the files which are accessed in the last 1 hour in / directory                                           |<br>| find / -size 100M                              | Finds all 100MB files in / directory                                                                               |<br>| find / -size +50M -size -100M                  | Finds all the files which are greater than 50MB and less than 100MB in / directory                                 |<br>| find / -type f -size +100M -exec rm -f {} \;   | Finds all 100MB files in / directory and delete them using rm command                                              |<br>| grep &lt;pattern&gt; file1                           | Searches the pattern in file1 and prints the entire line containing the pattern                                    |<br>| grep &lt;pattern&gt; file1 file2 file3               | Searches the pattern in file1, file2, file3 and prints the entire line containing the pattern from all 3 files     |<br>| grep -l &quot;pattern&gt; file1 file2 file3            | Prints the filename which contains the pattern                                                                     |<br>| grep -n &lt;pattern&gt; &lt;file1&gt;                      | Prints the line number along with the line in which the pattern matches                                            |<br>| grep -v &lt;pattern&gt; &lt;file1&gt;                      | Prints all the lines from file1 where pattern don&#39;t matches                                                        |<br>| grep ^&lt;pattern&gt; &lt;file1&gt;                        | Prints all the lines from file1 where line starts with pattern                                                     |<br>| grep &lt;pattern&gt;$ &lt;file1&gt;                        | Prints all the lines from file1 where line ends with pattern                                                       |<br>| grep -r &lt;pattern&gt; /home                        | Searches the pattern in /home folder and subfolders                                                                |<br>| grep ^$ &lt;file1&gt;                                | Prints all the empty lines from file1                                                                              |<br>| grep -i &lt;pattern&gt; &lt;file1&gt;                      | Searches the pattern in file1 with case-insensitive and prints the entire line containing the pattern              |<br>| grep -e &lt;pattern1&gt;  -e &lt;pattern2&gt; &lt;file1&gt;      | To search multiple patterns in file1                                                                               |<br>| grep -f &lt;patten_file&gt; &lt;file1&gt;                  | To get the search pattern from pattern_file and perfrom the action on file1                                        |<br>| grep -c &lt;pattern&gt; &lt;file1&gt;                      | Counts the no of line which conatins the search pattern in file1                                                   |<br>| grep -A 5 &lt;pattern&gt; &lt;file1&gt;                    | Prints the 5 lines after matching the search pattern in file1                                                      |<br>| grep -B 5 &lt;pattern&gt; &lt;file1&gt;                    | Prints the 5 lines before matching the search pattern in file1                                                     |<br>| grep -C 5 &lt;pattern&gt; &lt;file1&gt;                    | Prints the 5 lines after and before matching the search pattern in file1                                           |<br>| grep -o &lt;pattern&gt; &lt;file1&gt;                      | Shows only the part of a line matching PATTERN                                                                     |<br>| grep -w &lt;pattern&gt; &lt;file1&gt;                      | Force pattern to match only whole words in file1                                                                   |<br>| grep -x &lt;pattern&gt; &lt;file1&gt;                      | Force pattern to match only whole lines in file1                                                                   |<br>+------------------------------------------------+--------------------------------------------------------------------------------------------------------------------+</pre><pre><br>+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+<br>| Commands                                                  | Description                                                                                                                |<br>+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+<br>| scp &lt;file1&gt; user@hostname:/tmp                            | To copy a file1 from the current directory in the local system to the remote host&#39;s /tmp directory                         |<br>| scp user@hostname:/tmp/file1 .                            | To copy a file1 from the remote host&#39;s /tmp directory to the current directory in the local system                         |<br>| scp &lt;file1&gt; &lt;file2&gt; user@hostname:/tmp                    | To copy multiple files from the current directory in the local system to the remote host&#39;s /tmp directory                  |<br>| scp -r &lt;dir1&gt; user@hostname:/tmp                          | To copy a dir1 from the current directory in the local system to the remote host&#39;s /tmp directory                          |<br>| scp -C -r &lt;dir1&gt; user@hostname:/tmp                       | To copy a dir1 with compression of files from the current directory in the local system to the remote host&#39;s /tmp directory|<br>| scp user@host1:/tmp/file1 user@host2:/tmp/file2           | To copy files between 2 remote servers                                                                                     |<br>| scp -3 user@host1:/tmp/file1 user@host2:/tmp/file2        | To route the transfer through your own system while copying files between 2 remote servers                                 |<br>| rsync -v /home/file1 /tmp                                 | To copy file1 locally with verbose output                                                                                  |<br>| rsync -v /home/file1 /home/file2 /tmp                     | To copy multiple files locally with verbose output                                                                         |<br>| rsync -av /home/dir1 /tmp                                 | Copy Files and Directories Recursively                                                                                     |<br>| rsync -av /home/dir1 user@hostname:/tmp                   | Copy a File or Directory from Local to Remote Machine                                                                      |<br>| rsync -av /home/dir1 /home/dir2 user@hostname:/tmp        | Copy Multiple Files or Directories from Local to Remote Machine                                                            |<br>| rsync -av user@host:/home/dir1 /tmp                       | To copy a File or Directory from a Remote to a Local Machine                                                               |<br>| rsync -av user@hostname:{/home/dir1,/home/dir21} /tmp     | Copy Multiple Files or Directories from Local to Remote Machine                                                            |<br>| rsync -av --progress /home/dir1 /tmp                      | To show rsync Progress During Data Transfer                                                                                |<br>| rsync -v --remove-source-files /home/file1 user@host:/tmp | Delete source files after transfer                                                                                         |<br>| rsync -av --dry-run --delete /home/dir1 user@host:/tmp    | Rsync dry run                                                                                                              |<br>| rsync -av --max-size=500k /home/dir1 user@host:/tmp       | Rsync set maximum file size for transfer                                                                                   |<br>| rsync -av --min-size=500k /home/dir1 user@host:/tmp       | Rsync set minimum file size for transfer                                                                                   |<br>| rsync -av -f&quot;+ */&quot; -f&quot;- *&quot;  /home/dir1 /tmp               | Rsync copy the directory structure but skip the files                                                                      |<br>| rsync -av /home/dir1 /tmp/dir1$(date +%Y-%m-%d)           | Rsync add the timestamp to directory name                                                                                  |<br>| rsync -avu /home/dir1 /tmp/dir2                           | Rsync do not copy the source file if the same destination file is modified                                                 |<br>| rsync -avi /home/dir1 /tmp/dir2                           | Rsync show the difference between the source and destination files                                                         |<br>| wc &lt;file1&gt;                                                | Prints the number of lines, number of words, and number of bytes of the file1                                              |<br>| wc -l &lt;file1&gt;                                             | Prints the number of lines in a file1                                                                                      |<br>| wc -w &lt;file1&gt;                                             | Prints the number of words in a file1                                                                                      |<br>| wc -c &lt;file1&gt;                                             | Prints the count of bytes in a file1                                                                                       |<br>| wc -m &lt;file1&gt;                                             | Prints the count of characters from a file1                                                                                |<br>| wc -L &lt;file1&gt;                                             | Prints only the length of the longest line in a file1                                                                      |<br>| sort &lt;file1&gt;                                              | Sorts the lines of text file1                                                                                              |<br>| sort -r &lt;file1&gt;                                           | Sorts the lines of the file1 in reverse order                                                                              |<br>| sort -n &lt;file1&gt;                                           | Sorts the lines of the file1 numerically                                                                                   |<br>| sort -o &lt;output_file&gt; &lt;file1&gt;                             | Sorts the lines of the file1 and pastes the output in output_file                                                          |<br>| sort -nr &lt;file1&gt;                                          | To sort a file with numeric data in reverse order                                                                          |<br>| sort -k 2n &lt;file1&gt;                                        | To sort a file on the basis of column number                                                                               |<br>| sort -c &lt;file1&gt;                                           | To check if the file is already sorted or not                                                                              |<br>| sort -u &lt;file1&gt;                                           | To sort and remove duplicates from file1                                                                                   |<br>| sort -M &lt;file1&gt;                                           | To sort a file on the basis of month                                                                                       |<br>| uniq &lt;file1&gt;                                              | Prints the uniq output by omitting the adjacent duplicate lines in file1                                                   |<br>| uniq -c &lt;file1&gt;                                           | Prints the number of times a line was repeated in file`1                                                                   |<br>| uniq -d &lt;file1&gt;                                           | Prints only the repeated lines from file1                                                                                  |<br>| uniq -D &lt;file1&gt;                                           | Prints only the duplicate lines from file1                                                                                 |<br>| uniq -u &lt;file1&gt;                                           | Prints only the uniq lines from file1                                                                                      |<br>| uniq -f 2 &lt;file1&gt;                                         | Prints by skipping the first 2 no of fields while comparing the uniqueness of the lines in file1                           |<br>| uniq -s 2 &lt;file1&gt;                                         | Prints by skipping the first 2 no of characters while comparing the uniqueness of the lines in file1                       |<br>| uniq -w 2 &lt;file1&gt;                                         | Prints by limiting the first 2 no of characters while comparing the uniqueness of the lines in file1                       |<br>| uniq -i &lt;file1&gt;                                           | Prints the uniq output by ignoring the case-sensitive                                                                      |<br>| uniq -z &lt;file1&gt;                                           | Prints the uniq output with end lines with 0 byte, not newline                                                             |<br>| kill &lt;PID&gt;                                                | Sends the kill signal to terminate the mentioned process id in linux                                                       |<br>| kill -9 &lt;PID&gt;                                             | Sends the kill signal to forcefully terminate the mentioned process id in linux                                            |<br>| crontab -e                                                | To edit the crontab file, or create one if it doesn’t already exist                                                        |<br>| crontab -l                                                | To list the cronjobs in crontab, displays crontab file contents                                                            |<br>| crontab -r                                                | To remove your crontab file                                                                                                |<br>| crontab -v                                                | Displays the last time you edited your crontab file                                                                        |<br>+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+<br><br></pre><pre><br><br><br>+-------------------------------------------+--------------------------------------------------------------------------------------------------------+<br>|                 Commands                  |                                              Description                                               |<br>+-------------------------------------------+--------------------------------------------------------------------------------------------------------+<br>| tar xvf test.tar                          | To extract an archive                                                                                  |<br>| tar cvf test.tar &lt;file1&gt; &lt;file2&gt; &lt;file3&gt;  | To create an archive with files or folder                                                              |<br>| tar cvzf test.tar &lt;file1&gt; &lt;file2&gt; &lt;file3&gt; | To create a compressed archives                                                                        |<br>| tar tvf test.tar                          | To show all files of an archive                                                                        |<br>| gzip file1                                | To create a compressed file as file1.gz                                                                |<br>| gunzip file1                              | To decompress a file                                                                                   |<br>| tar cvzf test.tar.gz &lt;file1&gt; &lt;file2&gt;      | To combine the files in a compressed archive                                                           |<br>| tar xvzf test.tar.gz                      | To decompress and extract an archive                                                                   |<br>| bzip2 &lt;file1&gt;                             | To create a compressed file as file.bz2                                                                |<br>| bunzip2 file1.bz2                         | To decompress a file                                                                                   |<br>| tar cvjf test.tar.bz2 &lt;file1&gt; &lt;file2&gt;     | To combine the files in a compressed archive as test.tar.bz2                                           |<br>| tar xvjf test.tar.bz2                     | To decompress and extract an archive                                                                   |<br>| zip test.zip &lt;file1&gt; &lt;file2&gt;              | To combine the individual files in a compressed archive                                                |<br>| zip -r test.zip &lt;dir1&gt; &lt;dir2&gt; &lt;dir3&gt;      | To combine the complete folders in a compressed archive                                                |<br>| unzip test.zip                            | To decompress and extract an archive                                                                   |<br>| unzip -l test.zip                         | To show all files of an archive                                                                        |<br>| chmod 777 &lt;file1&gt;                         | To modify the file permissions to read(4), write(2), and execute(1) for owner, group, and others       |<br>| chmod -R 755 &lt;dir1&gt;                       | To give read(4), write(2), and execute(1) permissions recursively on dir1 for owner, group, and others |<br>| chown swapnil:swapnil &lt;file1&gt;             | To change the user and group for file1 to swapnil                                                      |<br>| gpg -c &lt;file1&gt;                            | To encrypt the file1                                                                                   |<br>| gpg &lt;file1&gt;                               | To decrypt the file1                                                                                   |<br>| wget &lt;file1&gt;                              | The non-interactive network downloader which downloads the file1                                       |<br>| curl &lt;url&gt;                                | To transfer data from or to a server using the protocol                                                |<br>| curl -kv &lt;url&gt;                            | To transfer data from or to a server using the protocol and insecure connection with verbose           |<br>| zgrep &lt;grep_options&gt;  &quot;pattern&quot; test.gz   | To search out expressions from a given file even if it is compressed                                   |<br>| zcat test.gz                              | Displays the compressed file content                                                                   |<br>+-------------------------------------------+--------------------------------------------------------------------------------------------------------+<br><br></pre><p><strong>More Work In Progress….</strong></p><p><strong><em>Note:</em></strong><em> For any corrections/Feedback, please reach out to me via </em><a href="https://www.linkedin.com/in/swapnilingale31"><em>Linkedin</em></a><em> or at </em>swapnilingale31@gmail.com<em>.</em></p><blockquote><strong><em>Thanks for reading and Keep Learning!!</em></strong></blockquote><blockquote><strong><em>SWAPNIL :)</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cac3c70845e2" width="1" height="1" alt=""><hr><p><a href="https://blog.devops.dev/linux-commands-cheatsheet-cac3c70845e2">Linux Commands Cheatsheet — Ultimate</a> was originally published in <a href="https://blog.devops.dev/">DevOps.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basics of Linux, Architecture, Virtualization, and Hypervisor]]></title>
            <link>https://medium.com/@swapnilingale31/basics-of-linux-architecture-virtualization-and-hypervisor-d837ec13a46b?source=rss-28495f334b73------2</link>
            <guid isPermaLink="false">https://medium.com/p/d837ec13a46b</guid>
            <category><![CDATA[hypervisors]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[linux-architecture]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[virtualization]]></category>
            <dc:creator><![CDATA[Swapnil Ingale]]></dc:creator>
            <pubDate>Sun, 16 Oct 2022 09:25:49 GMT</pubDate>
            <atom:updated>2023-06-02T10:00:38.676Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong><em>What is Linux</em></strong></h3><p><em>In a nutshell, Linux is Open Source OS that most technology platforms/systems prefer to use. In fact, it is present mostly everywhere starting from desktops, laptops, servers, cars, Android mobiles, smart televisions, and medical devices to many more. It provides great security and options to revive older systems. The software can be easily updated in Linux and Customization options are also available as per need. It is lightweight and has large Linux Community support. It is free to use OS and does have different distributions/flavors available in the market.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*2uQBz8bhr8dIr7gBqAl9uw.jpeg" /><figcaption>Linux (<a href="http://www.extremetech.com/wp-content/uploads/2012/01/linux.jpg">Image Credit</a>)</figcaption></figure><h3><strong>Different Package Managers in Linux</strong></h3><p><em>A Package Manager is helpful to manage different configuration operations like installing, updating, deleting, upgrade of software packages in Linux systems. Different package managers are YUM (Yellow Dog Updates, Modified), RPM (Redhat Package Manager), and APT (Advance Package Tool).</em></p><p><em>Here is a quick view of the differences between YUM and RPM package managers.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*E9L9NUuQIYN7q-GiIKeKgw.jpeg" /></figure><h3>Different distributions/flavors of Linux</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*fFnA_mKXG7nKyy4H_YSIWA.jpeg" /><figcaption><strong>Linux Distros</strong> (<a href="https://tse4.mm.bing.net/th?id=OIP._CcMpA9uqnUx45sCtKUxwQFeCy&amp;pid=Api&amp;P=0">Image Credit</a>)</figcaption></figure><h3>Linux Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*BhR2FN_juBf8t4lpA3uJrw.png" /><figcaption><strong>Linux Architecture</strong> (<a href="https://1.bp.blogspot.com/-uEyAZO9daTU/WmBOUlVU8NI/AAAAAAAAHb0/MSkSX5g4SLw0mtty42c1iDY8iyJUMtdKACK4BGAYYCw/s1600/linux%2Barchitecture.PNG">Image Credit</a>)</figcaption></figure><p><em>The Linux Architecture mainly consists of Hardware, Kernel, System Libraries, Shell, and Applications.</em></p><h4><em>1. Hardware:</em></h4><p><em>This Layer consists of physical devices of the system such as CPU, Hard drive, RAM/ROM, printers, keyboard, and mouse.</em></p><h4><strong><em>2. Kernel:</em></strong></h4><p><em>It is the Central core program of the Linux operating system which helps with memory management, process management, device drivers, system calls, and security. It is the core interface between a computer’s hardware and its processes.</em></p><h4><em>3. Shell:</em></h4><p><em>Shell in Linux is a program that takes a user’s commands, processes them with the help of the kernel, and provides the output. It is the interphase between users and the kernel. There are different types of shells available in Linux such as Bourne shell(sh), GNU Bourne-Again shell(bash), C shell(csh), Korn shell(ksh), and Z shell(zsh).</em></p><h4><em>4. Applications:</em></h4><p><em>User applications, and software installed on the system.</em></p><h3><em>What is Virtualization</em></h3><p><em>Virtualization is a process in which computer hardware resources can be used to create multiple virtual machines. This process uses software to create an abstraction layer over computer hardware that allows the hardware components of the system like CPU, memory, storage, etc to be divided into multiple VMs. In this way, Each of the VM has its own separate OS. It gives the great advantage of efficient utilization of physical computer hardware and allows a greater return on an organization’s hardware investment.</em></p><h3><em>What is Hypervisor</em></h3><p><em>The hypervisor is that software piece, which helps with the virtualization of computer hardware. It is also known as a virtual machine monitor (VMM). It is a software process that creates and runs virtual machines (VMs) using the resources of physical hardware. The hypervisor abstracts and isolates the VMs and their programs from the underlying server hardware, enabling more efficient use of physical resources, simpler maintenance and operations, and reduced costs. The physical hardware, when used as a hypervisor, is called the host, while the many VMs that use its resources are guest machines. The hypervisor treats physical resources like CPU, memory, storage, etc as a pool that can be easily reallocated between existing guests or to new VMs.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*chyoyi94_PUAlNgskCDL3g.jpeg" /><figcaption><strong>Hypervisor </strong>(<a href="https://techsupportwhale.com/wp-content/uploads/2020/06/What-is-a-Hypervisor.jpg">Image Credit</a>)</figcaption></figure><h3><em>Types of Hypervisors</em></h3><p><em>There are two types of Hypervisors as given below</em></p><h4><em>1. Type-1: bare-metal or native hypervisors</em></h4><p><em>Type-1 hypervisor runs directly on the server hardware. Bare-metal hypervisors manage guest operating systems. There is no software or any operating system in between, hence the name bare-metal hypervisor. A Type-1 hypervisor provides excellent performance and stability since it does not have any operating system. Type-1 hypervisors are an OS themselves, a very basic one on top of which VMs can run. The physical machine the hypervisor is running on is for serves virtualization purposes only which cannot be used for anything else. Type-1 hypervisors are mainly used in enterprise environments.</em></p><p><em>Below are some examples of Type-1 hypervisors.<br></em><strong><em>Open-source Type-1 hypervisors:</em></strong><em> Proxmox Virtual Environment, Xen (Citrix XenServer), KVM (Kernel-Based Virtual Machine), Oracle VM, OpenStack<br></em><strong><em>Commercial Type-1 hypervisors:</em></strong><em> Red Hat Enterprise Virtualization (RHEV), Citrix XenServer, Microsoft Windows Server 2012 Hyper-V, and VMware vSphere/ESXi</em></p><h4><em>2. Type-2: hosted or client hypervisors</em></h4><p><em>Type-2 hypervisors run inside an OS on the physical host machine, thus it is also known as Hosted Hypervisors. It includes a software layer in between physical hardware and hypervisor. It requires the host operating system to perform its functions and the guest operating system runs as a process on the host while the hypervisor isolates the guest from the host. Multiple Type-2 hypervisors can be run on top of a single host operating system, and each hypervisor may itself have multiple operating systems. Thus these are simple to set up and easy access between applications running on the guest and host operating systems. Type-2 hypervisors are typically used in small infrastructure environments.</em></p><p><em>Below are some examples of Type-2 hypervisors.<br></em><strong><em>Open Source Type-2 hypervisors:</em></strong><em> Xvisor, Quick EMUlator, Oracle VM VirtualBox, Lguest, Linux-VServer, LinuX Containers (LXC)<br></em><strong><em>Commercial Type-2</em></strong><em> </em><strong><em>hypervisors:</em></strong><em> VMware Workstation Pro/VMware Fusion, Parallels Desktop, Windows Virtual PC</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*dGeIYLOeLuzfexohFB82QA.jpeg" /><figcaption><strong>Types of Hypervisor</strong> (<a href="https://www.mycloudwiki.com/wp-content/uploads/2020/01/Hypervisor-types.png">Image Credit</a>)</figcaption></figure><p><strong><em>Note:</em></strong><em> For any corrections/Feedback, please reach out to me via </em><a href="https://www.linkedin.com/in/swapnilingale31"><em>Linkedin</em></a><em> or at </em>swapnilingale31@gmail.com<em>.</em></p><blockquote><strong>Thanks for reading and Keep Learning!!</strong></blockquote><blockquote><strong>SWAPNIL :)</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d837ec13a46b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DevOps Overview]]></title>
            <link>https://medium.com/@swapnilingale31/devops-overview-6cdf7f00b097?source=rss-28495f334b73------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cdf7f00b097</guid>
            <category><![CDATA[devopsdays]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[devops-journey]]></category>
            <category><![CDATA[devops-practice]]></category>
            <category><![CDATA[devops-training]]></category>
            <dc:creator><![CDATA[Swapnil Ingale]]></dc:creator>
            <pubDate>Fri, 14 Oct 2022 13:00:41 GMT</pubDate>
            <atom:updated>2023-06-02T09:58:42.781Z</atom:updated>
            <content:encoded><![CDATA[<h3>DevOps Principles, Lifecycle, Implementation Ways, and Terminologies</h3><h3><strong><em>What is DevOps</em></strong></h3><p><em>DevOps is a cultural mindset in which we need to follow different methodologies to bridge the gap between Development and Operations teams to provide seamless working and delivery of software features.</em></p><p><em>Any software delivery involves collaborative efforts from the different teams, naming a few are, Development, Testing, Operations, and many more in between as per the organization&#39;s model. To adopt the DevOps model in any organization below are the points that need to be</em> <em>implemented in each team.</em></p><ol><li><em>Core Values</em></li><li><em>Core Ideas</em></li><li><em>Methods</em></li><li><em>Practices</em></li><li><em>Tools</em></li></ol><h3>Why DevOps</h3><p><em>Initially, all the software development cycles followed the Waterfall model which mainly states that all the client requirements will be gathered in one phase, and in the second phase Software/features will be delivered in one go to the client. This model was having the drawback of not having a feedback loop, issues for a large project to be managed in small chunks which were filled up by Agile methodology in which a feedback loop was involved in between after each small development piece of work and corrective/modification actions can be taken from feedback received and delivery of software/features will meet the actual requirements. Although Agile methodology was focused on the Software development cycle only and not covering the Production deployment part and exactly DevOps bridges the gap to make the end-to-end journey of software from Development to Production deployment smooth with faster software deployment, fewer failures, and better recovery time.</em></p><h3><em>DevOps Principles — CAMS Model</em></h3><p><em>CAMS refers to Culture, Automation, Measurement, and Sharing.</em></p><h4><em>Culture:</em></h4><p><strong><em>People &gt; Process &gt; Tools</em></strong><em><br>Culture defines the DevOps working environment within teams in a collaborative manner to achieve the goal of the organization which has the most important unit as “People” followed by “Process” and “Tools”.</em></p><h4><em>Automation:</em></h4><p><em>The actual importance of Automation implementation is to save time for repetitive tedious tasks and reduce human errors by limiting/eliminating human interventions.</em></p><p><strong>Measurement:</strong><br><em>Measure to Improve. Measurement is monitoring and keeping track of your Infrastructure servers, application services, and performance. But it does not limit to the Infrastructure part but also includes Business, client measurement, cycle time, and much more in the DevOps world.</em></p><h4>Sharing:</h4><p><em>It is one of the important pillars of DevOps principles. Sharing helps for the continuous improvement of processes whether it be knowledge, responsibilities, accountability, and feedback.</em></p><h3>DevOps Implementation ways</h3><p><em>There are main 3 ways for DevOps implementation.</em></p><p><strong><em>1. Flow/System Thinking</em></strong><em><br></em><strong>‣ </strong><em>One directional workflow</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*MWP1a7zFym64Df15Ip9jQw.png" /></figure><p><strong><em>2. Amplify feedback</em></strong><em><br></em><strong>‣</strong><em> Implementation of feedback loop<br></em><strong><em>‣</em></strong><em> shorten the feedback loop</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*hR35_uTGSyywn7apYFe4qw.png" /></figure><p><strong><em>3. Experiment and Learn<br></em>‣ </strong><em>Evolve through Experimentation culture</em><strong><br>‣ </strong><em>Take away from Failure/Success</em><strong><br>‣ </strong><em>Keep on continuous improvement</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*qhMySUFbakdzzQHRoOTGXw.png" /></figure><h3>DevOps Lifecycle</h3><ol><li><strong><em>Plan:</em></strong><em> Collection of the Business requirements to chart down a further roadmap</em></li><li><strong><em>Code:</em></strong><em> Actual code written in this development phase</em></li><li><strong><em>Build:</em></strong><em> Once the code development finishes building phase takes place</em></li><li><strong><em>Test:</em></strong><em> Once the build is ready it gets deployed to the Stage/Testing environment where User acceptance testing, Integration testing, Operational testing, and Performance testing stages are carried out.</em></li><li><strong><em>Release:</em></strong><em> After successful testing in the Stage/Testing environments, Release management takes care of the Production release schedule over multiple weekly, biweekly, monthly, and quarterly releases.</em></li><li><strong><em>Deploy:</em></strong><em> Production Code deployments</em></li><li><strong><em>Operate:</em></strong><em> Operational team takes care of supportive configuration management</em></li><li><strong><em>Monitor:</em></strong><em> In this phase, Production deployed live application metrics being monitored via monitoring tools for any performance issues</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*El7mSTqe_cH8bXPWE85Hvg.png" /><figcaption>DevOps Lifecycle (Image<a href="https://mundodevops.com/wp-content/uploads/2018/04/1_EBXc9eJ1YRFLtkNI_djaAw-300x154.png"> </a>Credit)</figcaption></figure><h3>DevOps Terminologies</h3><ol><li><strong><em>Provisioning:</em></strong><em> The server is ready with all requirements of OS, Software, and Networking</em></li><li><strong><em>Deployment: </em></strong><em>Adding/Installing, Updating the software on servers</em></li><li><strong><em>Orchestration:</em></strong><em> Co-ordinated operations on multiple systems</em></li><li><strong><em>Configuration Management:</em></strong><em> Server configuration management via files ram, space, binaries, software, dependencies</em></li><li><strong><em>Imperative(Procedural):</em></strong><em> Commands to produce the desired state</em></li><li><strong><em>Declarative(Procedural):</em></strong><em> Tools will help to achieve the defined desired state</em></li><li><strong><em>Idempotent:</em></strong><em> Repeat the execution but the outcome/result is the same</em></li><li><strong><em>Blue-Green Deployment:</em></strong><em> Identical deployment on servers through which traffic switch can be achieved</em></li><li><strong><em>Continuous Integration:</em></strong><em> Build and Unit testing at every check-in</em></li><li><strong><em>Continuous Delivery:</em></strong><em> Deploy on the Production environment at every check-in</em></li></ol><p><em>These are a few terminologies, there are many more in the DevOps world.</em></p><p><strong><em>Note:</em></strong><em> For any corrections/Feedback, please reach out to me via </em><a href="https://www.linkedin.com/in/swapnilingale31"><em>Linkedin</em></a><em> or at </em>swapnilingale31@gmail.com<em>.</em></p><blockquote><strong>Thanks for reading and Keep Learning!!</strong></blockquote><blockquote><strong>SWAPNIL :)</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cdf7f00b097" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>