Scripts

Script catalog

Browse raw Bash scripts and command-first documentation published on helper.sh.

Choose by task and system

Matching covers reviewed candidates only. A missing match does not prove incompatibility. Linux migration candidates still require checking the actual tools, service manager and storage mode on the host; no system tests are implied.

Choose both a system and a task to see a match. This selector does not inspect remote hosts.

No listed script matches both choices. Select another task or system; this does not inspect a remote host.

Read selection validation and limits

Local log triage: Docker data move

Paste a short excerpt from docker-data-move.sh output. Matching happens in this browser tab only: the text is not uploaded or saved by this tool. Remove credentials, tokens, IPs, and private paths before pasting. This is a candidate explanation, not a definitive diagnosis.

Read the verification record (four languages, text)

Controlled examples replace the input; they are not real-host transcripts. Load one, then check it. No commands run.

Review the script-specific failure and recovery limits · Read log-triage verification and limits

Starter probe

hello.sh

The source runs uname -a and echo. Its “ready” message is unconditional: it does not test dependencies, privileges, disk space or readiness for another installer.

curl -fL 'https://www.helper.sh/hello.sh' -o './hello.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Operations helper

docker-data-move.sh

Bundled from the tool-tl/docker-data-move.sh project and republished through helper.sh for direct execution, operational handoff, and multilingual documentation.

curl -fL 'https://www.helper.sh/docker-data-move.sh' -o './docker-data-move.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Bootstrap installer

install_docker_ubuntu_2404.sh

A helper.sh-hosted installation script for Ubuntu 24.04.4 LTS that removes legacy Docker packages, installs Docker Engine from the official repository, enables the service, and verifies both Docker and Docker Compose.

curl -fL 'https://www.helper.sh/install_docker_ubuntu_2404.sh' -o './install_docker_ubuntu_2404.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Docker app installer

install_nginx_base_docker.sh

The bundled script creates /data/nginx, writes default files only when absent, pulls nginx:1.22.1, and recreates a same-name container. It maps 443 but does not configure TLS.

curl -fL 'https://www.helper.sh/install_nginx_base_docker.sh' -o './install_nginx_base_docker.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Docker app installer

install_mysql57_base_docker.sh

A helper.sh-hosted script that creates the /data/mysql5.7 layout, writes a baseline MySQL 5.7 config, pulls mysql:5.7.44, and runs a restartable container with mounted data, config, and init directories.

curl -fL 'https://www.helper.sh/install_mysql57_base_docker.sh' -o './install_mysql57_base_docker.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Docker app installer

install_redis705_base_docker.sh

Creates /data/redis7.0.5, writes redis.conf only if absent, pulls redis:7.0.5 and replaces a same-name container. Existing config and data are reused; a new password input does not update an existing requirepass.

curl -fL 'https://www.helper.sh/install_redis705_base_docker.sh' -o './install_redis705_base_docker.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Docker app installer

install_php72_base_docker.sh

A helper.sh-hosted script that creates the /data/php7.2 layout, writes a baseline php.ini, pulls php:7.2-fpm, and runs a restartable container with mounted application code, config, and logs.

curl -fL 'https://www.helper.sh/install_php72_base_docker.sh' -o './install_php72_base_docker.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Docker app installer

install_workerman3524_base_docker.sh

Creates app and logs directories, writes sample app/composer files only if absent, and overwrites Dockerfile on every run. Builds from mutable PHP 7.2/Composer tags before force-replacing the named container; only logs is mounted.

curl -fL 'https://www.helper.sh/install_workerman3524_base_docker.sh' -o './install_workerman3524_base_docker.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Network server installer

install_openvpn_server_centos.sh

Targets LAN 192.168.30.0/24 via gateway 192.168.30.1 and expects source IP 192.168.30.110, but only warns if that IP differs. It overwrites server configuration and authentication helpers; do not treat it as a portable VPN installer.

curl -fL 'https://www.helper.sh/install_openvpn_server_centos.sh' -o './install_openvpn_server_centos.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Network client installer

install_openvpn_client_ubuntu.sh

Designed for Ubuntu 20.04, 22.04, and 24.04 LTS hosts that use username/password OpenVPN client authentication and need a repeatable way to install, copy client files, and start the service.

curl -fL 'https://www.helper.sh/install_openvpn_client_ubuntu.sh' -o './install_openvpn_client_ubuntu.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Network client installer

install_openvpn_client_centos7.sh

Uses yum, EPEL and systemd. Without a complete config/login pair it prepares the directory and exits before configuring the service. With files present it copies or reuses them, normalizes CRLF, sets mode 600 and restarts the selected client instance.

curl -fL 'https://www.helper.sh/install_openvpn_client_centos7.sh' -o './install_openvpn_client_centos7.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Network client installer

install_openvpn_client_anolis8.sh

Uses dnf, EPEL and systemd. Without a complete config/login pair it prepares the directory and exits before configuring the service. With files present it copies or reuses them, normalizes CRLF, sets mode 600 and restarts the selected client instance.

curl -fL 'https://www.helper.sh/install_openvpn_client_anolis8.sh' -o './install_openvpn_client_anolis8.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

OpenVPN client maintenance

disable_openvpn_client_dns.sh

For an existing CentOS 7-style OpenVPN client where the tunnel should remain but its DNS hooks should stop running. It backs up the selected client config and comments matching hooks. With --set-dns it may change the active NetworkManager profile or overwrite /etc/resolv.conf, depending on the host; it does not provide automatic rollback.

curl -fL 'https://www.helper.sh/disable_openvpn_client_dns.sh' -o './disable_openvpn_client_dns.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

System maintenance

switch-centos7-repo.sh

A bundled copy of the upstream LinuxMirrors script for repository recovery. On CentOS 7 it rewrites yum repo definitions and refreshes metadata; it can also disable firewalld and SELinux if accepted at a prompt. CentOS 7 remains end-of-life.

curl -fL 'https://www.helper.sh/switch-centos7-repo.sh' -o './switch-centos7-repo.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

System maintenance

optimize_centos7_ssh.sh

Designed for legacy CentOS 7 hosts where SSH login is slow because the daemon waits on reverse DNS lookup, GSSAPI negotiation, or IPv6 fallback. The script backs up sshd_config, enforces the recommended settings, validates the syntax, and then restarts sshd.

curl -fL 'https://www.helper.sh/optimize_centos7_ssh.sh' -o './optimize_centos7_ssh.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Security hardening

centos_disable_password_ssh.sh

Built for CentOS and similar OpenSSH hosts that should move from password-based login to key-only access. The script refuses to proceed unless the target user has a non-empty authorized_keys file, then updates sshd_config and validates the result before reloading the daemon. A non-empty file does not prove that the operator has the matching private key.

curl -fL 'https://www.helper.sh/centos_disable_password_ssh.sh' -o './centos_disable_password_ssh.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Docker router lab

install_bleachwrt_docker_centos7.sh

Overwrites the saved network/env and systemd unit, enables IPv4 forwarding and promiscuous mode, restarts Docker, and replaces the named container/network on service start. This is not a general production router recommendation.

curl -fL 'https://www.helper.sh/install_bleachwrt_docker_centos7.sh' -o './install_bleachwrt_docker_centos7.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.

Developer utility

tree-to-file.sh

A helper.sh-hosted shell script for Linux, macOS, and common Unix environments that exports a filtered directory tree into a text file. It prefers the system tree command, attempts installation through the available package manager when tree is missing, and attempts a built-in find plus awk fallback. Output can still fail because of permissions or filesystem errors.

curl -fL 'https://www.helper.sh/tree-to-file.sh' -o './tree-to-file.sh'

Download only: inspect the saved file in a text editor, verify its source/version, and decide separately whether to run it.