文書化された Shell 配布

helper.sh は本番運用向け Bash エントリポイントを配布する多言語シェル配布サイトです。

curl で使えるスクリプト、明快な使用説明、信頼できるランディングページ、そして自動化を公開するためのシンプルな場所を必要とする運用担当者向けです。

$ curl -fsSL helper.sh/hello.sh | bash
[helper.sh] Connection established.
$ curl -fsSL helper.sh/docker-data-move.sh | sudo bash
[INFO] Detecting Docker Root Dir...

人には静的ページ、端末には raw スクリプト。

helper.sh の設計方針

スクリプト配布と信頼性を中心に設計

helper.sh

覚えやすく安定した URL でスクリプトを直接配布

helper.sh

グローバル運用チーム向けの多言語ドキュメント

helper.sh

引き継ぎ、レビュー、公開に使いやすいランディングページ

スクリプト

公開中のスクリプト

初期プローブ

hello.sh

helper.sh の最初期スクリプトです。接続確認と shell-first な利用体験の起点として使います。

運用スクリプト

docker-data-move.sh

Docker data-root をより大きなディスクへ安全に移行するための対話型ヘルパーです。パス検査、バックアップ、検証を含みます。

Bootstrap installer

install_docker_ubuntu_2404.sh

A one-shot installer for Docker Engine and Docker Compose on Ubuntu 24.04.4 LTS, published through helper.sh.

Docker app installer

install_nginx_base_docker.sh

A one-shot Docker installer for Nginx 1.22.1 that prepares /data/nginx, mounts host directories, and starts a reusable web service.

Docker app installer

install_mysql57_base_docker.sh

A Docker-based one-shot installer for MySQL 5.7 that prepares /data/mysql5.7 and starts a host-mounted database container.

Docker app installer

install_redis705_base_docker.sh

A Docker-based one-shot installer for Redis 7.0.5 that prepares /data/redis7.0.5 and starts a host-mounted cache container.

Docker app installer

install_php72_base_docker.sh

A Docker-based one-shot installer for PHP 7.2 that prepares /data/php7.2 and starts a host-mounted PHP-FPM container.

Docker app installer

install_workerman3524_base_docker.sh

A Docker-based one-shot installer for Workerman 3.5.24 that prepares /data/workerman3.5.24 and starts a simple host-mounted HTTP worker service.

Network server installer

install_openvpn_server_centos.sh

A CentOS 7 OpenVPN server installer with username/password auth, CCD fixed-IP support, ovpn-check self-test, and built-in access to the 192.168.30.0/24 LAN behind the VPN server.

Network client installer

install_openvpn_client_ubuntu.sh

A helper.sh-hosted Ubuntu OpenVPN client installer that checks for local client.conf and login.txt, installs OpenVPN, optionally copies a local update-resolv-conf helper, and enables a systemd client service.

Network client installer

install_openvpn_client_centos7.sh

A helper.sh-hosted CentOS 7 OpenVPN client installer that imports the EPEL GPG key, installs OpenVPN, copies local client.conf and login.txt, deploys a DNS helper, and enables openvpn-client@client.

System maintenance

switch-centos7-repo.sh

A CentOS 7 repository switch helper for replacing outdated or unreachable yum mirrors with usable sources.

System maintenance

optimize_centos7_ssh.sh

A one-shot CentOS 7 SSH tuning script that disables reverse DNS lookup, turns off GSSAPI auth, pins IPv4, validates sshd_config, and restarts sshd safely.

Security hardening

centos_disable_password_ssh.sh

A CentOS SSH hardening script that verifies an existing authorized_keys file, disables password login, keeps public key auth enabled, validates sshd_config, and reloads sshd safely.

Docker router lab

install_bleachwrt_docker_centos7.sh

Install a BleachWrt/OpenWrt-compatible Docker container on CentOS 7 with macvlan networking and a host shim for lawful LAN use.

Developer utility

tree-to-file.sh

A helper.sh-hosted directory tree exporter that writes the current project structure into tree.txt and falls back cleanly when tree is unavailable.

Platforms

Start from system and host role

Platforms

Ubuntu 24.04 scripts

Helper pages and install scripts for bringing a fresh Ubuntu 24.04 host into a stable operations baseline.

Platforms

CentOS 7 scripts

Recovery-oriented scripts for legacy CentOS 7 hosts that still need package installs, storage cleanup, and controlled maintenance.

Platforms

Docker host setup

Scripts that prepare the host layer before service containers are installed, including Docker engine setup and Docker data layout maintenance.

Platforms

Docker service stack scripts

A grouped view of the helper.sh service installers for Nginx, MySQL, Redis, PHP, and Workerman running on top of Docker.

Topics

Browse by deployment scenario

Topics

CentOS 7 maintenance and recovery

Keep legacy CentOS 7 hosts installable and maintainable when yum repositories fail, mirrors expire, or Docker data needs to be moved off a crowded disk.

Topics

Ubuntu 24.04 deployment basics

Install Docker, bootstrap common runtime services, and keep fresh Ubuntu 24.04 hosts ready for application rollout.

Topics

Docker base services for application hosts

Use helper.sh scripts to standardize containerized Nginx, MySQL, Redis, PHP, and Workerman services on long-lived hosts.

Topics

OpenVPN client access and DNS handling

Set up OpenVPN client access on Ubuntu and CentOS 7 hosts, keep login files in the expected place, and handle DNS switching safely when private domains depend on the tunnel.

Topics

Legacy runtime services on Docker

Maintain older application stacks such as PHP 7.2 and Workerman on Docker while keeping deployment steps standardized enough for handoff and recovery.

Problem pages

Jump straight to common questions

Problem pages

When should I use hello.sh first

Use hello.sh as a low-risk connectivity and shell-delivery check before handing a host to larger installation scripts.

Problem pages

How to fix CentOS 7 yum 404 errors

Restore package installation on old CentOS 7 hosts when the default repositories no longer work.

Problem pages

How to move Docker data-root on CentOS 7

Move Docker data away from a crowded root or home filesystem before the host runs out of disk.

Problem pages

Why is CentOS 7 SSH login so slow

The usual causes are reverse DNS lookup, GSSAPI auth negotiation, and sometimes IPv6 fallback. Disable those waits before doing deeper SSH troubleshooting.

Problem pages

Why can I not connect after disabling SSH password login on CentOS

The usual cause is disabling PasswordAuthentication before confirming that the target account already has a working authorized_keys file and a successful key-based login test.

Problem pages

How to install Docker on Ubuntu 24.04

Use a one-shot install flow that handles package cleanup, official repositories, and Docker Hub reachability checks.

推奨ワークフロー

安全に利用するための流れ

  1. まずスクリプトページとコマンド例を確認します。
  2. 対象ホストが重要なら、ブラウザで raw スクリプトを先に確認します。
  3. その後ワンライナーを実行するか、ローカルに保存して変更管理に乗せます。