dotfiles

πŸš€ πŸ’ͺ🏻Power of DevOps ♾️ Automation Tools ⚑

Stars
1

Created: 2024-08-03T07:07:27+05:30
Updated: 2024-08-08T08:06:38+05:30
Maintainer: Ibrar Ansari

πŸ“– 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.

πŸ“ Prerequisites

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

πŸ–₯️ Supported Systems

  • [x] Ubuntu.
  • [x] Debian.
  • [x] Deepin.
  • [x] Lubuntu.
  • [x] Xubuntu.
  • [x] Pop!_OS.
  • [x] Zorin OS.
  • [x] Linux Mint.
  • [x] Kali Linux.
  • [x] Ubuntu MATE.
  • [x] Elementary OS.
  • [x] Raspberry Pi OS.
  • [x] 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!