Skip to content
htepplPublic

About

My shell scripts

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

sh

This repository contains a set of shell scripts for quick installation and setup of common services. These scripts are designed to be fast, minimal, and ready to use in production or development environments.

📦 Available Install Scripts

Each script can be executed directly from the terminal using bash and curl.

📝 Swapfile

bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/swapfile.sh)
bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/swapfile.sh) --enable
bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/swapfile.sh) --enable --size 2048
bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/swapfile.sh) --disable

🔧 Prometheus

bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/prometheus_install.sh)

🔔 Alertmanager

bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/alertmanager_install.sh)

📊 Node Exporter

bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/node_install.sh)
bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/node_install.sh) --ufw-allow-ip ip_addr

📦 Blackbox Exporter

bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/blackbox_install.sh)

⚙️ fail2ban

bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/fail2ban.sh)

⚙️ BBR

bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/bbr_install.sh)

⚙️ IPv6

bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/ipv6.sh)
bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/ipv6.sh) on
bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/ipv6.sh) off

🏃 GitHub Actions Runners

Get a registration token in the repository or organization's Settings → Actions → Runners → New self-hosted runner.

bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/gh_runners.sh) -n 3 -u https://github.com/org/repo -t TOKEN
bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/gh_runners.sh) -n 3 -u https://github.com/org -t TOKEN -p build -l docker,heavy -g default
RUNNER_TOKEN=TOKEN bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/gh_runners.sh) -n 2 -u https://github.com/org/repo

Runners for browser tests (Debian/Ubuntu): installs the libraries and fonts Playwright's Chromium needs, so jobs run npx playwright install chromium without --with-deps. Pin the version from the project's package.json:

bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/gh_runners.sh) -n 3 -u https://github.com/org/repo -t TOKEN -l web,playwright --playwright --playwright-version 1.63.0
bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/gh_runners.sh) --remove -u https://github.com/org/repo -t TOKEN
bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/gh_runners.sh) --help

🌊 SQL Exporter Remnawave

bash <(curl -fsSL raw.githubusercontent.com/hteppl/sh/master/grafana/sql_exporter/sql_install.sh)

📄 License

This project is licensed under the MIT License. You are free to use, modify, and distribute the scripts with proper attribution.

About

My shell scripts

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages