<?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 Tsedaye Holley on Medium]]></title>
        <description><![CDATA[Stories by Tsedaye Holley on Medium]]></description>
        <link>https://medium.com/@tsedaye.holley23?source=rss-57b36331133b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*g9LQfviK6vhuN6hH</url>
            <title>Stories by Tsedaye Holley on Medium</title>
            <link>https://medium.com/@tsedaye.holley23?source=rss-57b36331133b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 12:53:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tsedaye.holley23/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[Creating autoscaling group with a VPC]]></title>
            <link>https://medium.com/@tsedaye.holley23/creating-autoscaling-group-with-a-vpc-9817c2f6316?source=rss-57b36331133b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9817c2f6316</guid>
            <dc:creator><![CDATA[Tsedaye Holley]]></dc:creator>
            <pubDate>Mon, 11 Apr 2022 16:51:33 GMT</pubDate>
            <atom:updated>2022-04-11T16:54:08.066Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*HStFuUe83m5qkAZsL-escg.png" /></figure><p>Objective :</p><p>Create a VPC with cidr 10.10.0.0/16 with an autoscaling group using t2.micro instances. All instances should have apache installed on each instance with the ability to check any random IP address and be able to produce a test page.</p><p>The instance min and max should be 2 and 5 and should have a scaling policy with cloudwatch to scale after cpu utilization is above 80%</p><p>After the autoscaling group has been created, find a stress tool to be able to stress an instance above 80% to see if your scaling policy works</p><p><strong>Step 1: Create a VPC</strong></p><p>Go to your AWS Console and launch VPC Wizard</p><p>You want to changed your VPC CIDR to 10.10.0.0/16 and leave everything else as default.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CokRAdhCZV9_9t4__ziiYA.png" /></figure><p>You should receive a success once you completed it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BxQXQBcuzz4Y5igxiNO8Rw.png" /></figure><p><strong>Step 2: Create a launch template in EC2</strong></p><p>Click on create launch templete</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rAQ1dVB5XWzDF4XhjXoToA.png" /></figure><ul><li>Make sure you select provide guidance to help me set up a template that i can use with EC2 Auto Scaling</li><li>Under instance type select T2.micro</li><li>Under key pair, I created a new key pair</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*drtazIqUFj8Bjkj1r4Cvzw.png" /></figure><p>Next we will create security groups. I added 2 rules both ssh and http. because we want access through both port 22 and 80. I made sure to allow all traffic to be able to enter by chossing 0.0.0.0/0 as my source.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T5dpDl1SJAcIdP32hdDuaA.png" /></figure><p>Next: Go To advance network configuration</p><ul><li>We are going to enable auto assign public ip</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lpFRhSYFeJRMOA_CaYMeKw.png" /></figure><p>Next go to advanced detiles and enter this script under user data</p><pre>#!/bin/bash<br>yum update -y<br>yum install httpd -y<br>systemctl start httpd<br>systemctl enable httpd<br>amazon-linux-extras install epel -y<br>yum install stress -y</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gSEK6Ac1UZgy-wqedK77vA.png" /></figure><p>The create launch template and move on to the next step</p><p><strong>Step 3: Create Auto Scaling Group</strong></p><ul><li>Create your auto scaling group name</li><li>Leave the rest as they are in default</li><li>Now you will do the network part and you want to make sure that all VPC that you made are up there.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bc-BwFGHqBh5J2nGafOshw.png" /></figure><ul><li>On the next screen, you will see Additional settings</li><li>Select enable group metrics collection within cloudwatch</li><li>Create a group size with a min of 2 and max of 5</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*xxskRyfyLJAnj23-8QW8JQ.png" /></figure><p>Now, your auto scaling group is complete</p><p>Step 4: Verify instance</p><ul><li>Go to EC2 and make sure your instance are up and running</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SSgjvGy71rbXZ9HTQa71lw.png" /></figure><ul><li>Click on one of your instance and check see if your public ip address will load your apache test page. Make sure you put http://&lt;insertipaddress&gt;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fUk8V8o_xMahZ1kpxSEYDA.png" /></figure><p>Step 5: Check Stress</p><ul><li>Launch CLI instance and log in with you key</li><li>Input this code and allow it to run</li></ul><pre>$ sudo stress --cpu 1 --timeout 400</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l9xicugCRwc3bvzTZkug7w.png" /></figure><p>Step 6: Go to cloud watch</p><ul><li>You should see the alarm triggered</li><li>Go to your EC2 instance and should see a 3rd instance added</li></ul><p>Now You Are All Done Thanks FOR READING</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9817c2f6316" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating A DynamoDB table & Giving it EC2 Read access]]></title>
            <link>https://medium.com/@tsedaye.holley23/creating-a-dynamodb-table-giving-it-ec2-read-access-41e98cac6f18?source=rss-57b36331133b------2</link>
            <guid isPermaLink="false">https://medium.com/p/41e98cac6f18</guid>
            <dc:creator><![CDATA[Tsedaye Holley]]></dc:creator>
            <pubDate>Sun, 03 Apr 2022 15:45:08 GMT</pubDate>
            <atom:updated>2022-04-03T15:45:08.820Z</atom:updated>
            <content:encoded><![CDATA[<p>Creating A DynamoDB table &amp; Giving it EC2 Read access</p><p>Objective: Create a DynamoDB table for something of your choosing (e.g. movies, food, games)<br>2. Add 10 or more items to the table<br>3. Create a t.2micro Ec2 instance<br>4. Using an IAM role and the principle of least privilege, grant the EC2 instance read access to DynamoDB.<br>5. Use the AWS CLI in the EC2 instance to scan the DynamoDB table<br>6. Use the AWS CLI in the EC2 instance to validate you cannot write an item to the DynamoDB table</p><p><strong>Step 1: Create A Table In DynamoDB with at least 10 Items</strong></p><ul><li>Go to the AWS Console and go to DynamoDB</li><li>Select Tables</li><li>Select Create Table</li><li>Create A Table Name, Enter a Partition Key &amp; Create Table</li><li>Go Explore Items &amp; Then to create item</li><li>Type in the content for your table by clicking create item</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m4G5yx5g5iYKQlTtFmWy_A.png" /></figure><p><strong>Step 2: Create EC2 Instance</strong></p><ul><li>Go to EC2 and select Launch Instance</li><li>Launch a t2. micro instance</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxhXtX0LSFUqC2vKXWkCXw.png" /></figure><p><strong>Step 3: Create IAM Role</strong></p><ul><li>Go to IAM Role</li><li>Create Role</li><li>Leave trusted entity type to AWS service</li><li>Use Case EC2</li><li>Then allow for DynamoDBReadonlyAccess</li><li>Create a role name and create the role</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DaPAI0oePICbTAU8nLtk3w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l0zaW6bAMuEur9FScmFZGw.png" /></figure><p><strong>Step 4: Go to EC2 Instance &amp; Modify IAM role</strong></p><ul><li>Select you running EC2 Instance</li><li>Go to actions, Security, Modify IAM role</li><li>Select your IAM role and then save</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zm1Yxicd5KW9SkSiBs0bwg.png" /></figure><p>Step 5: Use the AWS CLI to scan your DynamoDBtable</p><ul><li>Click on your instance</li><li>Press Connect and connect to the AWS CLI</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D7ZjXWfxrlIVT-LjJTdXfA.png" /></figure><ul><li>Once in the instance enter the following command to scan your table from DynamoDB</li></ul><pre>aws dynamodb scan --table-name &lt;inserttablename&gt; --us-east-1</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LSSrD79yCrFIOI6rDsdJ1w.png" /></figure><ul><li>The content from you table should appear</li></ul><p><strong>Step 5: Make sure its read only access</strong></p><ul><li>Enter the following command</li></ul><pre>aws dynamodb put-item <br>--table-name Foods<br>--item &#39;{&quot;Name&quot;:{&quot;S&quot;:&quot;Oxtail&quot;}, &quot;Foodtype&quot;:{&quot;S&quot;:&quot;Jamacian&quot;}}&#39;<br>--return-consumed-capacity TOTAL</pre><p>The command should not be found and not allow you to add anything to this table</p><p>CONGRATS YOUR DONE!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41e98cac6f18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating A EC2 Instances With An Apache Webserver]]></title>
            <link>https://medium.com/@tsedaye.holley23/creating-a-ec2-instances-with-an-apache-webserver-55ee2362df81?source=rss-57b36331133b------2</link>
            <guid isPermaLink="false">https://medium.com/p/55ee2362df81</guid>
            <dc:creator><![CDATA[Tsedaye Holley]]></dc:creator>
            <pubDate>Sun, 27 Mar 2022 16:06:38 GMT</pubDate>
            <atom:updated>2022-03-27T16:06:38.781Z</atom:updated>
            <content:encoded><![CDATA[<p>Objectives: Using the AWS CLI, to create an Ec2 instance with an apache webserver!</p><ul><li>Create a t2.nano Ec2 instance</li><li>Use a script that updates all packages, installs apache, and starts the service</li><li>Verify that the instance has the apache webserver downloaded and installed through the public IP</li></ul><p>Prerequisites</p><ul><li>Install latest version of AWS CLI</li><li>Have a aws account with IAM user established</li></ul><p>Lets Get Started</p><p><strong>Step 1: Generate Key Pair</strong></p><pre><strong><em>aws ec2 create-key-pair — key-name &lt;KeyPairName&gt; — query ‘KeyMaterial’ — output text &gt; &lt;KeyPairName&gt;.pem</em></strong></pre><p>You will inserts your key pair name where the code says to. Make sure you take out the &lt;&gt;. So it should look like this</p><pre><strong><em>aws ec2 create-key-pair — key-name mykeypair1— query ‘KeyMaterial’ — output text &gt; mykeypair1.pem</em></strong></pre><p>You can make sure you key pair was created by logging into your EC2 dashboard and clicking key pairs and you should see the one you just created.</p><p><strong>Step 2: Create Security Group</strong></p><pre><strong><em>aws ec2 describe-vpcs</em></strong></pre><p>Once you put this code in you will see your VPCID. Make sure you copy and paste this code because you will need this to create your security group. I made a file with all the codes because there will be alot of codes you will need to grab and use while doing this project</p><pre><strong><em>aws ec2 create-security-group — group-name &lt;SecurityGroupName&gt; — description “My security group” — vpc-id &lt;vpcid&gt;</em></strong></pre><p>Once, this is created it will say GROUPID and have your security group id after it. Make sure you put that somewhere safe, you will be needing it.</p><p><strong>Step 3: Add Rules to allow SSH and HTTP access</strong></p><pre>: <strong><em>aws ec2 authorize-security-group-ingress — group-id &lt;SecurityGroupID&gt; — protocol tcp — port 22 — cidr 0.0.0.0/32</em></strong></pre><p>Insert your group ID from the previous step where it says &lt;SecurityGroupid&gt;</p><p>Then, insert this code</p><pre><strong><em>aws ec2 authorize-security-group-ingress — group-id &lt;SecurityGroupID&gt; — protocol tcp — port 80 — cidr 0.0.0.0/0</em></strong></pre><p><strong>Step 4: Launch EC2 Instance</strong></p><p>We arent launching the instance out of the console we are getting the AMI ID image so, make sure you grab the ami id which can be found on step 1 when you are launching a ec2 instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*2HgLkAn90-OInybJ3tmc0w.png" /></figure><p><strong>Step 5: Get Subnet ID</strong></p><pre><strong><em>aws ec2 describe-subnets</em></strong></pre><p>Make sure you copy the subnet id and save it because you will need this</p><p><strong>Step 6: Vim into a script</strong></p><pre>echo apache.txt<br>vim apache.txt</pre><p><strong>Put I and insert this into the apache.txt file</strong></p><pre>#!/bin/bash<br>sudo yum update -y<br>sudo yum install -y httpd<br>sudo systemctl start httpd<br>sudo systemctl enable httpd</pre><p><strong>Step 7: Launch EC2 Instances</strong></p><pre><strong><em>aws ec2 run-instances — image-id &lt;AMIImageID&gt; — count 1 — instance-type t3.nano — key-name &lt;KeyPairName&gt; — security-group-ids &lt;SecurityGroupID&gt; — subnet-id &lt;SubnetID&gt; — user-data file://userscript.sh</em></strong></pre><p>Make sure you have your keypairname, ami image id, security group id and subnet id ready to go.</p><p>You should get a long code and can head back to you AWS console to double check if your EC2 instances is up. You should see your instance and be able to open your public IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yVmuBq9O6nEq93HB437P5g.png" /></figure><p>And We Are ALL DONE.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55ee2362df81" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating S3 bucket, hosting a static website and serving it to CloudFront]]></title>
            <link>https://medium.com/@tsedaye.holley23/creating-s3-bucket-hosting-a-static-website-and-serving-it-to-cloudfront-adfad626e0a9?source=rss-57b36331133b------2</link>
            <guid isPermaLink="false">https://medium.com/p/adfad626e0a9</guid>
            <dc:creator><![CDATA[Tsedaye Holley]]></dc:creator>
            <pubDate>Sun, 20 Mar 2022 17:29:14 GMT</pubDate>
            <atom:updated>2022-03-20T17:29:14.038Z</atom:updated>
            <content:encoded><![CDATA[<p>Creating S3 bucket, hosting a static website and serving it to CloudFront</p><p><strong>Objective:</strong></p><p><strong>1. Create an S3 bucket to host a static website</strong></p><p><strong>2. Create an index.html document to upload to serve your end-users</strong></p><p><strong>3. Serve your end-users through a Cloudfront endpoint.</strong></p><p>So for this project we have a few task. We will be hosting a static website through S3 bucket and then serving it through a cloudfront endpoint. Now, you may be wondering why we use S3 to serve a static site. On a <em>static</em> website, individual webpages include static content. Static content is any file that is stored in a server and is the same everytime. Amazon S3 is used to store and retrieve any amount of data at any time form anywhere which helps when we serve a static site. CloudFront is a webservice that speeds up distribution of your static and dynamic content. CloudFront has different factors that will help with cost-optimization. The different price classes provided allow the options to lower the prices you pay to deliver your content. When serving your end-user through cloudfront to make sure your content is secure you should have a multi-factor authentication with each account.</p><p>Now, Lets GET STARTED</p><p><strong>Step 1: Setting Up A S3 Bucket</strong></p><p>First you will login to your account and type in S3 in the search bar.</p><p><strong>Key things to do while setting up your bucket</strong></p><ul><li>Make sure you create a unique name if you use a name that is already being used you will have to keep trying until your name is unique</li><li>Uncheck Block all public access</li><li>Acknowledge that you are making it public</li></ul><p>Click on create bucket and you will see the name of the bucket you create</p><p><strong>Step 2: Create a index.html document</strong></p><p>I have a MacBook so i went to my TextEdit app and created a new file. I imported this code and then saved the file as index.html</p><pre>&lt;html&gt;</pre><pre>&lt;h1&gt; This is an index.html &lt;/h1&gt;</pre><pre>&lt;/html&gt;</pre><p><strong>Step 3: Upload Index.html document into your S3 bucket</strong></p><p>Click on your bucket.</p><p>Go to <strong>objects </strong>and you will see an orange tab that says upload.</p><p>Upload your index.html file that is saved to your bucket</p><p><strong>Step 4: Create a static website in your S3 buckets</strong></p><p>Make sure you are still in your bucket</p><p>Go to <strong>properties</strong> and scroll all the way to the bottom and enable your static website hosting</p><p>Make sure you put index.html where it says index document</p><p>Click save changes and complete creating your static website</p><p>Now, you will not be able to actually load your static website just yet we have to do one more step.</p><p><strong>Step 5: Edit Bucket Policy</strong></p><p>Go To<strong> Permissions</strong></p><p>Go to bucket policy and select edit and insert this policy.</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Sid&quot;: &quot;PublicReadGetObject&quot;,<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Principal&quot;: &quot;*&quot;,<br>            &quot;Action&quot;: &quot;s3:GetObject&quot;,<br>            &quot;Resource&quot;: &quot;&lt;Bucket ARN&gt;/*&quot;<br>        }<br>    ]<br>}</pre><p>Make sure you put your bucket arn where it says resource &lt;Bucket arn&gt;. It should look like this now</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Sid&quot;: &quot;PublicReadGetObject&quot;,<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Principal&quot;: &quot;*&quot;,<br>            &quot;Action&quot;: &quot;s3:GetObject&quot;,<br>            &quot;Resource&quot;: &quot;arn:aws:s3:::tsedayesbucket1/*&quot;<br>        }<br>    ]<br>}</pre><p>Save changes and lets continue</p><p><strong>Step 6: Serve you end-user through cloud front</strong></p><p>Search CloudFront in AWS and open it up</p><p>Select Create Distribution</p><p>Under origin domain you will be giving your domain to select.</p><p>It should match your S3 bucket website</p><p><strong>Go To Bottom and Create Distribution</strong></p><p>You are all done and should be able to paste your distribution domain name and see your website</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adfad626e0a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a S3 bucket]]></title>
            <link>https://medium.com/@tsedaye.holley23/creating-a-s3-bucket-b02684d1ecb3?source=rss-57b36331133b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b02684d1ecb3</guid>
            <dc:creator><![CDATA[Tsedaye Holley]]></dc:creator>
            <pubDate>Fri, 11 Mar 2022 13:32:43 GMT</pubDate>
            <atom:updated>2022-03-11T13:32:43.070Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*IQXKQuuiBB-kvKYDCUSuiQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*A7GcM90o8FgAsqZtv3XsEQ.png" /></figure><p><strong>Objective</strong>: Create a new user name test-user and create a S3 bucket under the test-user account</p><p><strong>Step 1: Create A Root Account &amp; Login</strong></p><p>In order to create a new user you must already have a root account with aws. If you don’t have this already make sure that you do this first before following any other steps. Ones you set up your root account, log in to that account.</p><p><strong>Step 2: Create A User Called “Test-User”</strong></p><p>Once you are logged in create a new user under your <strong>IAM console</strong>. Type in IAM in the search bar if it doesnt show up on your recent searches already. Once you are in IAM go to user and add user named “Test-User”</p><p><strong>Key things to do while setting up your Test-User Account</strong></p><ul><li>Make sure you create a custom password for your Test-User Account</li><li>Set permissions</li><li>Click On Attach Existing Policies Directly</li><li>Type In S3</li><li>Give Amazon S3 Full Access</li><li>Set up multi-user authentication</li></ul><p><strong>Step 3: Log Into Your IAM test-user account</strong></p><p>Log out of root user but make sure you get your account id. Log into your IAM test-user account</p><p><strong>Step 4: Create A S3 Bucket</strong></p><p>Type S3 in the search bar and click on create bucket</p><p><strong>Key things to do while setting up your bucket</strong></p><ul><li>Make sure you create a unique name if you use a name that is already being used you will have to keep trying until your name is unique</li><li>Block all public access</li></ul><p>Click on create bucket and you will see the name of the bucket you create</p><p>YOUR ALL DONE</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b02684d1ecb3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Fork A Repository & Edit Code]]></title>
            <link>https://medium.com/@tsedaye.holley23/how-to-fork-a-repository-edit-code-210931442703?source=rss-57b36331133b------2</link>
            <guid isPermaLink="false">https://medium.com/p/210931442703</guid>
            <dc:creator><![CDATA[Tsedaye Holley]]></dc:creator>
            <pubDate>Sat, 05 Mar 2022 23:54:26 GMT</pubDate>
            <atom:updated>2022-03-05T23:54:26.946Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*iXJmI8TvkQ0cPEDBYZGPHA.jpeg" /></figure><p><strong>What is Github?</strong></p><p>GitHub is <strong>hosting platform that allows you to collab and host your code for version control. </strong>It lets you and others work together on projects no matter where you are. You can use Git on its own without being on Github.com but it makes it harder to collab or share code with others.</p><p><strong>What is the objective?</strong> You will be provided step by step instructions on <strong>how to install git, set up git configurations, how to fork a repository on GitHub.com, how to connect and vim a file and push it back to master.</strong></p><p><strong>LETS GET STARTED</strong></p><p><strong>Step 1: Install Git On Your Terminal</strong></p><p>We will be installing Git while on a CentOS7 terminal.</p><p>To do so follow this command</p><pre>sudo yum install git </pre><p>now this may take a minute, since you have never installed git. When its almost finish it is going to ask you and y/n question to accept the download size. Enter “y” to accept the download size.</p><p><strong>Step 2: Set Up Git Configurations</strong></p><p>Now, in this step we will be configuring our command line interface with your github accounts username and email address.</p><p>We will be doing that by following these commands.</p><pre>git config --global user.name &quot;Insert Your Name&quot;</pre><pre>git config --global user.email &quot;Insert Your Email Address&quot;</pre><p><strong>Step 3: Created A Repository &amp; Change into the directory</strong></p><p>Now, if I am being honest I do not think this was a neccessary step but it is one of the steps I took. Nonetheless it can be helpful. Follow these commands</p><pre>pwd<br>mkdir (insert you repository here)<br>cd (insert file name) <br>ll -a<br>git init <br>git status </pre><p><strong>Step 4: Fork The Repository</strong></p><p>Go to the project page for the repository that you need to for on GitHub.</p><p>Click the fork icon that is in the upper right-hand corner</p><p><strong>Step 5: Clone The Repository</strong></p><p>You will do this by copying the permalink and putting in this code</p><pre>git clone https://github.com/&lt;your-username&gt;/&lt;project-name&gt;.git</pre><p><strong>Step 6: Add Your Edit</strong></p><pre>vim &lt;insert filename&gt;</pre><p>Make whatever changes you need to while in vim by pressing <strong>I</strong> and when you are finish press<strong> esc and :wq! </strong>to exit out of vim</p><p><strong>Step 7: Commit the file</strong></p><p>Once the changes to the file and made and saved its time to commit the file by using this command</p><pre>git commit -a -m &quot;insert your comment&quot;</pre><p><strong>Step 8: Generate the token on Github</strong></p><p>On Github — Go to settings — Developer settings — Personal Access Token</p><p>Press generate new token and you will see some boxes to check click Repo and Admin.org</p><p>Then Generate the token and save the password given to you somewhere</p><p><strong>Step 9: Push file</strong></p><p>Now you will push the file and will be asked for your username and password. Use the username from your github account and use the password that you got when generating your token.</p><pre>git push -u origin master </pre><p>At this point I kept getting a error so i had to pull and push the file again</p><pre>[cloud_user@e169a5583d1c LevelUpTeam]$ git pull --rebase</pre><pre>Current branch main is up to date.</pre><pre>[cloud_user@e169a5583d1c LevelUpTeam]$ git push</pre><pre>warning: push.default is unset; its implicit value is changing in</pre><pre>Git 2.0 from &#39;matching&#39; to &#39;simple&#39;. To squelch this message</pre><pre>and maintain the current behavior after the default changes, use:</pre><pre>git config --global push.default matching</pre><pre>To squelch this message and adopt the new behavior now, use:</pre><pre>git config --global push.default simple</pre><pre>See &#39;git help config&#39; and search for &#39;push.default&#39; for further information.</pre><pre>(the &#39;simple&#39; mode was introduced in Git 1.7.11. Use the similar mode</pre><pre>&#39;current&#39; instead of &#39;simple&#39; if you sometimes use older versions of Git)</pre><pre>Username for &#39;https://github.com&#39;: tsedaye</pre><pre>Password for &#39;https://tsedaye@github.com&#39;:</pre><pre>Everything up-to-date</pre><p><strong>Step 8: Send a Pull Request to Merge</strong></p><p>You will see on GitHub website you can click New Pull Requests which is under the tab that says Pull Request</p><p>Enter what you said on the contributions that you made while in vim. Then press “create pull request”</p><p>NOW, You Are Done.</p><p>Thanks for following along. Hopefully this can help you if you ever need to fork and pull a repository.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=210931442703" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Install Apache HTTP Server on CentOS 7]]></title>
            <link>https://medium.com/@tsedaye.holley23/how-to-install-apache-http-server-on-centos-7-b0ada0196c43?source=rss-57b36331133b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0ada0196c43</guid>
            <dc:creator><![CDATA[Tsedaye Holley]]></dc:creator>
            <pubDate>Fri, 18 Feb 2022 03:21:07 GMT</pubDate>
            <atom:updated>2022-02-18T03:21:07.339Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qlHt3JM-EpnzQI9tM3_lJA.png" /></figure><p>Objective: This step by step guide will walk you through the different steps it takes to <strong>Install</strong> an Apache HTTP Web Server, <strong>Run </strong>the Apache Web Server and<strong> Verify </strong>an Apache web server on CentOS server.</p><p><strong>Step 1:</strong> Update all the packages on the server</p><p>To run this update on the CentOS servers, follow this command. It will make sure that all software is up to date. It may take a few minutes.</p><pre>$ sudo yum update </pre><p>A password will be required to grant premission.</p><p><strong>Step 2: Install a basic firewall</strong></p><p>To install the firewall enter the command below.</p><pre>$ sudo yum install firewalld</pre><p>Press enter and input your password.</p><p>After this installation is done you will run this command to enable the firewall.</p><pre>$ sudo systemctl enable firewalld</pre><p>Once you enable it, run this command to start it.</p><pre>$ sudo systemctl start firewalld</pre><p>To make sure that the firewall is running correctly, you will now check the status by running this command</p><pre>$ sudo systemctl status firewalld</pre><p>It should read <strong>active (running)</strong>, and now your ready for step 3</p><p><strong>Step 3: Install Apache</strong></p><p>Enter the following command to install Apache</p><pre>$ sudo yum install httpd</pre><p><strong>Step 4: Configure firewall</strong></p><p>Now, you will configure the default to run through the firewall by running these commands</p><pre>$ sudo firewall-cmd --permanent --add-service=http<br>$ sudo firewall-cmd --permanent --add-service=https</pre><p>Once this is completed successfully, reload the firewall to apply the changes with this command</p><pre>sudo firewall-cmd --reload</pre><p><strong>Step 5: Make Sure Apache is Running</strong></p><p>You should receive a “success” after you reloaded the firewall. Now, we will make sure Apache is running by using these commands</p><pre>$ sudo systemctl start httpd<br>$ sudo systemctl status httpd</pre><p><strong>Step 6: Verify A Successful installation</strong></p><p>To make sure that Apache server is working correctly, we will locate the users pubic ip address by using the following command</p><pre>$ sudo curl ifconfig.me</pre><p>The output should show you the pubic IP address on the next line.</p><p>You Should Be Able To Copy The Ip Address And Test It By Entering It as <a href="https://your_server.public/">https://your_server.public</a>_ip in your search bar and should get a test page like this. If you did then the install was a success! Great job!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yBYMozn8JlW9abc-TntxXA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0ada0196c43" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>