alcapone1933 / shell-scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shell-Scripts

Bash Script to Automate installation and Bash TOOLS

 

Automate installation with Whiptail

Tested working on:

  • ✅ Debian 11, Debian 12, Ubuntu 22

 

Installing Whiptail

sudo apt install whiptail -y

Run the script and click through the Menu

wget -O /tmp/install.sh https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install.sh && sudo bash /tmp/install.sh

rm /tmp/install.sh

Automate installation

Docker or Compose install

 

Tested working on:

  • ✅ Debian 11, Debian 12, Ubuntu 22

 

Docker and Compose install on DEBIAN

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/docker-and-compose-debian-install.sh | sudo bash

Docker and Compose install on UBUNTU

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/docker-and-compose-ubuntu-install.sh | sudo bash

Docker install on DEBIAN

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/docker-debian-install.sh | sudo bash

Docker install on UBUNTU

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/docker-ubuntu-install.sh | sudo bash

Docker Compose install and update

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/docker-compose-install.sh | sudo bash
Shoutrrr cli install

 

Tested working on:

  • ✅ Debian 11, Debian 12, Ubuntu 22
  • Supported platforms for the Script:
    • linux/386
    • linux/amd64
    • linux/arm
    • linux/arm64

 

Shoutrrr cli install

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/shoutrrr-cli-install.sh | sudo bash -s -- --install

Shoutrrr cli update

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/shoutrrr-cli-install.sh | sudo bash -s -- --update

Shoutrrr cli remove

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/shoutrrr-cli-install.sh | sudo bash -s -- --remove

Shoutrrr cli manuel download

wget -q -O shoutrrr-cli-install.sh \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/shoutrrr-cli-install.sh

chmod +x shoutrrr-cli-install.sh

./shoutrrr-cli-install.sh
Drone cli install

 

Tested working on:

  • ✅ Debian 11, Debian 12, Ubuntu 22
  • Supported platforms for the Script:
    • linux/amd64
    • linux/arm
    • linux/arm64
    • linux/ppc64le

 

Drone cli install

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/drone-cli-install.sh | sudo bash -s -- --install

Drone cli update

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/drone-cli-install.sh | sudo bash -s -- --update

Drone cli remove

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/drone-cli-install.sh | sudo bash -s -- --remove

Drone cli manuel download

wget -q -O drone-cli-install.sh \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/drone-cli-install.sh

chmod +x drone-cli-install.sh

./drone-cli-install.sh
carapace-bin install

 

Tested working on:

  • ✅ Debian 11, Debian 12, Ubuntu 22
  • Supported platforms for the Script:
    • linux/386
    • linux/amd64
    • linux/arm64

 

carapace-bin install

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/carapace-bin-install.sh | sudo bash -s -- --install

carapace-bin update

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/carapace-bin-install.sh | sudo bash -s -- --update

carapace-bin remove

wget -q -O - \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/carapace-bin-install.sh | sudo bash -s -- --remove

carapace-bin manuel download

wget -q -O carapace-bin-install.sh \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/install/carapace-bin-install.sh

chmod +x carapace-bin-install.sh

./carapace-bin-install.sh

 

Bash TOOLS

SSH Connect with Selection Menu from the SSH config

SSH CONFIG DEMO

# ~/.ssh/config
# /home/user/.ssh/config
# /home/foo/.ssh/config
# /root/.ssh/config
Host demo-1
  HostName domain.com
  User foo
  Port 1111
  IdentityFile ~/.ssh/id_ed25519
Host demo-2
  HostName 10.10.10.10
  User root
  Port 22
  IdentityFile ~/.ssh/id_ed25519
Host demo-3
  HostName 1.1.1.1
  User foo
  Port 22
  IdentityFile ~/.ssh/id_ed25519

Download

curl -sSL \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/tools/ssh-host-connect.sh \
> ~/ssh-host-connect.sh && chmod +x ~/ssh-host-connect.sh

Or with Wiptail

curl -sSL \
https://raw.githubusercontent.com/alcapone1933/shell-scripts/master/tools/ssh-host-connect-whiptail.sh \
> ~/ssh-host-connect-whiptail.sh && chmod +x ~/ssh-host-connect-whiptail.sh

Usage

$ ./ssh-host-connect.sh

[ 1 ] - demo-1
[ 2 ] - demo-2
[ 3 ] - demo-3

Select a SSH HOST: _1_

$ ssh demo-1

 

About

License:MIT License


Languages

Language:Shell 100.0%