0% found this document useful (0 votes)
6 views4 pages

Devops Notes All

The document outlines the steps for setting up an AWS account and utilizing various DevOps tools, including Git, Maven, and Jenkins. It provides an overview of Amazon EC2 instances, their benefits, and instructions for launching instances and connecting via SSH. Additionally, it lists essential Linux commands categorized by usage for file management, user management, and networking tasks.

Uploaded by

alakutlaprasad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

Devops Notes All

The document outlines the steps for setting up an AWS account and utilizing various DevOps tools, including Git, Maven, and Jenkins. It provides an overview of Amazon EC2 instances, their benefits, and instructions for launching instances and connecting via SSH. Additionally, it lists essential Linux commands categorized by usage for file management, user management, and networking tasks.

Uploaded by

alakutlaprasad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

step 1 AWS ACCOUNT

*DEVOPS TOOLS

# PLAN (&)CODE #BUILD #test


GIT MAVEN
JUNIT
subversion apacheant se
jira gradle

integration

#deploy (and )operate #monitor


puppet new relic
chef sensu
ansible nagios
saltstack

Server
a server is a computer program or device that provide a service to another computer
program

#EC2(Elastic compute cloud)


An Amazon EC2 instance is a virtual server in Amazon's Elastic Compute Cloud (EC2)
for running applications on the Amazon Web Services (AWS) infrastructure.
Amazon provides various types of instances with different configurations of CPU,
memory, storage and networking resources to suit user needs.
Each type is available in various sizes to address specific workload requirements.

Benefits of Ec2
>Flexible
>Realible
>Scaling
>Secure
>Inexpensive

AMI(amazon machine image)


Instances are created from Amazon Machine Images (AMI).
They are configured with an operating system (OS)
and other software, which determine the user's operating environment

aws account sign in


> open Ec2
> launch new instances
-name
-instance type (t2.micro)
-key pair name create
-configure storage (8)(gib(gp2))
>launch instance button 🔳
>connect instances ssh server

DOWNLOAD MOBAXTERM APPLICATION

>open files 📂
>select desktop and ceeate new folder 📂
>folder name (pemfiles)

Here are essential Linux commands categorized by usage:


---

File and Directory Commands

pwd: Show current directory

ls: List files and directories

cd [directory]: Change directory

mkdir [dirname]: Create a directory

rmdir [dirname]: Remove empty directory

rm -r [dirname]: Delete directory with content

---

File Operations

touch [filename]: Create an empty file

cp [source] [destination]: Copy files

mv [source] [destination]: Move or rename files

rm [filename]: Delete file

---

Viewing File Content

cat [file]: Show file content

less [file]: View content page by page

head [file]: View first 10 lines

tail [file]: View last 10 lines

---

Permissions and Ownership

chmod [permissions] [file]: Change permissions

chown [user:group] [file]: Change ownership

---
User Management

whoami: Display current user

sudo [command]: Run as superuser

passwd: Change password

---

Process Management

ps: Show active processes

top: Display real-time processes

kill [PID]: Terminate process

---

Disk and System Info

df -h: Show disk space usage

du -h [directory]: Show directory size

free -h: Display memory usage

uname -a: Display system information

---

Networking Commands

ping [host]: Test network connectivity

ifconfig: Display network interfaces

curl [URL]: Fetch data from a URL

wget [URL]: Download a file

---

Search Commands

find [path] -name [filename]: Search files

grep [pattern] [file]: Search text in files


commands to connect with servers

>(cd ~/)
>(cd ~/desktop)
>(cd ~/desktop/pemfiles)
aws account login than open instance to copy for instance link

login to rootuser using command (sudo -i)

GIT INSTALLING

>install git using command (yum install git -y)

You might also like