Skip to content

๐Ÿš€ ๐Ÿ’ช๐ŸปPower of DevOps โ™พ๏ธ Automation Tools โšก

Notifications You must be signed in to change notification settings

meibraransari/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Created Updated Maintainer
2024-08-03 07:07:27 +0530
2024-08-08 08:06:38 +0530
Ibrar Ansari

๐Ÿ“Œ Ibrar's Dotfiles For DevOps ๐Ÿ“

๐Ÿ“– Overview

This is my small repository to manage DevOps tools such as Docker, Kubernetes, Ansible, Linux Git and many more...

After using it you can realize the real๐Ÿ’ช๐Ÿฝ Power of DevOps ๐Ÿš€ Automation Tools and you will save a lot of time to manage Infrastructure.

Latest Version

Banner Image

๐Ÿ“ Prerequisites

๐Ÿง  Brain is not poisoned with beer, because you have enough brain cells is required to read this manual.

๐Ÿ–ฅ๏ธ Supported Systems

  • Ubuntu.
  • Debian.
  • Deepin.
  • Lubuntu.
  • Xubuntu.
  • Pop!_OS.
  • Zorin OS.
  • Linux Mint.
  • Kali Linux.
  • Ubuntu MATE.
  • Elementary OS.
  • Raspberry Pi OS.
  • Windows (WSL must be installed with any of above distro.)
  • Mac (Implementation is pending)

๐Ÿ“ฅ Installation

Using wget:

bash <(wget -qO- https://raw.githubusercontent.com/meibraransari/dotfiles/main/installer)

Or using curl:

bash <(curl -s https://raw.githubusercontent.com/meibraransari/dotfiles/main/installer)

๐Ÿณ Try it in Docker

You can safely install additional software and make any changes to the file system. Once you exit container the image is deleted.

docker pull ibraransaridocker/dotfiles
docker run -itd --name=c-dotfiles ibraransaridocker/dotfiles /bin/bash
docker exec -it c-dotfiles /bin/bash

๐Ÿ”„ Update to latest release.

update_dotfiles

๐Ÿ—‘๏ธ Uninstall Command.

uninstall_dotfiles

๐Ÿ› ๏ธInstall DevOps Package Usage

install_<Press Tab to select app to install>

๐Ÿ”„Upgrade DevOps Package Usage

upgrade_<Press Tab to select app to install>

โ“Help DevOps Package Usage

help_<Press Tab to select app to install>

๐Ÿ“A Nice System Info ๐Ÿ˜Š

system_info

๐Ÿ—‘๏ธTrash

trash <Files_or_folder>

๐Ÿš€ DevOps Tools Installer Included

  • Docker
  • Docker Compose
  • Kubernetes (kubectl)
  • Ansible
  • Terraform
  • Jenkins
  • AWS CLI
  • Azure CLI
  • Google Cloud SDK
  • Helm
  • Prometheus
  • Grafana
  • GitLab Runner
  • HashiCorp Vault
  • HashiCorp Consul
  • Basic CLI App
  • GRC
  • Nginx
  • Certbot

๐Ÿ“Œ Dotfiles usage in short (Trailer) ๐Ÿ˜Š

โœจ For more details click on below link to understand it's full functionality.

๐Ÿ”„ Git: โœ”

gitv='git --version'
gitpl='git pull'
gitrv='git remote -v'
gitp='git push'
gits='git status'
gitc='git checkout'
gitb='git branch'
gitf='git fetch'
gitr='git rebase'
gitm='git merge'
gitcl='git clone'
gitst='git stash'
gitstl='git stash list'
gita='git add . && git status'
gitcom='git commit -am'
gitacom='git add . && git commit -m'
gitc='git checkout'
gitcm='git checkout master'
gitm='git merge'
gitmd='git merge development'

And many more... to see the all commands and its usage, use "help_git" command.

๐Ÿง Linux: โœ”

c='clear'
p="pwd"
h="history"
hc='history -c'
home='clear && cd ~ && pwd'
html='/var/www/html/'
cll="clear; ls -lAh --color=auto"
..='cd ../'                           # Go back 1  level
.2='cd ../../'                        # Go back 2  levels
.3='cd ../../../'                     # Go back 3  levels
.4='cd ../../../../'                  # Go back 4  levels
.5='cd ../../../../../'               # Go back 5  levels
.6='cd ../../../../../../'            # Go back 6  levels
ts='tail -f /var/log/syslog'

And many more... to see the all commands and its usage, use "help_linux" command.

๐Ÿณ Docker: โœ”

dpl = docker pull
dis = docker images
dps = docker ps -a
dpi = Formatted by Ibrar
dpp = Formatted ports
dsp = docker stop
dspa = docker stop All
dst = docker start
drt = docker restart
dre = docker rename
dec = docker exec -it
dls = docker logs
drm = docker rm -f
dri = docker rmi -f
dit = docker inspect
dvl = docker volume ls
dss = docker stats

And many more... to see the all commands and its usage, use "help_docker" command.

โ˜ธ๏ธ Kubernetes: โœ”

k       ='kubectl'
kc      ='kubectl'
kcg     ='kubectl get'
kcd     ='kubectl describe'
kcl     ='kubectl logs'
kcci    ='kubectl cluster-info'
kcgn    ='kubectl get node -o wide'
kcgs    ='kubectl get service -o wide'
kcgr    ='kubectl get rs -o wide | more'
kcgd    ='kubectl get deployment -o wide'
kcgp    ='kubectl get pod -o wide'
kcga    ='kubectl get all -o wide | more'
kcgaa   ='kubectl get all --all-namespaces -o wide | more'
kcgns   ='kubectl get namespaces  -o wide | more'
kcsec   ='kubectl get secrets'
kcgcm   ='kubectl get configmaps'
kcgev   ='kubectl get events --all-namespaces'
kcdp    ='kubectl describe pod'
kcds    ='kubectl describe service'
kcdd    ='kubectl describe deployment'
kcdr    ='kubectl describe rs | more'
kcaf    ='kubectl apply -f'
kcdf    ='kubectl delete -f'
kclf    ='kubectl logs --tail=200  -f'

And many more... to see the all commands and its usage, use "help_k8s" command.

๐Ÿค– Ansible: โœ”

a='ansible'
ap='ansible-playbook '
al='ansible-pull'
api='ansible-playbook -i inventory '
avc='ansible-vault create'
ave='ansible-vault edit'
avr='ansible-vault rekey'
avenc='ansible-vault encrypt'
avdec='ansible-vault decrypt'
avv='ansible-vault view'
aga='ansible-galaxy'
agad='ansible-galaxy delete'
agai='ansible-galaxy install'
agaim='ansible-galaxy import'
againf='ansible-galaxy info'
agal='ansible-galaxy list'
agalog='ansible-galaxy login'
agar='ansible-galaxy remove'
agas='ansible-galaxy search'
vault='ansible-vault edit vars/aws_vault.yml' 

And many more... to see the all commands and its usage, use "help_ansible" command.

โšก๏ธ Power of DevOps ๐Ÿ’ช๐ŸฝTools


๐Ÿ“ข๐Ÿ“ข๐Ÿ“ข I am continuously updating this repository so feel free to fork this repository for future updates!


๐Ÿ’ผ Connect with me ๐Ÿ‘‡๐Ÿ‘‡ ๐Ÿ˜Š

Hit the Star! โญ

If you are planning to use this repo for learning, please hit the star. Thanks!