Git Product home page Git Product logo

ec2-cheat-sheet's Introduction

EC2 Cheatsheet

  • Contains ec2 cheatsheet for most common scenarios like installing Nodejs, NPM, Docker, Golang, Grafana, Internet speed test, etc...

Update applications

sudo apt update

Git

sudo apt update
sudo apt install git

Python v3

sudo apt install python3
python3 --version

Pip

sudo apt install python3-pip
pip

Make

sudo apt update
sudo apt install make
ls /usr/bin/make

Nodejs

sudo apt update
sudo apt install nodejs
node -v

NPM

sudo apt update
sudo apt install npm
npm -v

PM2

sudo npm install pm2 -g
pm2

Docker

sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker

Golang

sudo apt update
sudo apt install golang-go
golang version

Django

sudo apt-get update
sudo apt install python3-pip -y
pip install django

Grafana

sudo apt-get install -y apt-transport-https software-properties-common wget
sudo mkdir -p /etc/apt/keyrings/
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com beta main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
sudo apt-get update
sudo apt-get install grafana
sudo systemctl start grafana-server
sudo systemctl status grafana-server

Run .sh file

sudo sh <file_name.sh>

Install htop

sudo apt update
sudo apt install htop

Test internet speed

sudo apt update
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61
curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bash
apt update
apt install speedtest-cli
speedtest-cli

ec2-cheat-sheet's People

Contributors

swarajkumarsingh avatar

Stargazers

Swaraj Kumar Singh avatar  avatar Anish Kumar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.