Installation & Bootstrap
Install One-Click, understand the first-run dependency and module-cache flow, and work with its managed tmux session.
The recommended bootstrap downloads the public launcher to /tmp, runs the setup action, and removes the temporary copy after setup finishes.
curl -fsSL https://raw.githubusercontent.com/SiteHUB-NG/One-Click/main/one-click.sh -o /tmp/one-click.sh && \
bash /tmp/one-click.sh setup && \
rm -f /tmp/one-click.sh
What First Run Does
The launcher reads /etc/os-release, determines the available package manager, ensures /usr/local/bin is usable, creates One-Click state under /etc/one-click and prepares the module cache under /var/cache/one-click.
Required dependencies are installed only when the dependency marker has not already been created. The current shell supports Debian-family and RHEL-family package paths and installs module-specific tools as required.
Module Loading and Cache
Reusable modules are fetched through the loader into the local cache. Cached modules use a 24-hour freshness window. If the primary mirror is unavailable, One-Click can use its configured alternate mirror or an existing cached module rather than discarding a known local copy.
[INFO]: Cache missing or expired. Checking mirrors for module updates.
[SUCCESS]: Successfully fetched module from primary mirror.
Managed TMUX Session
Interactive operation is designed to survive ordinary SSH disconnects by running inside tmux.
tmux attach
# or
tmux attach -t one-clickDetach without stopping the running session with Ctrl+b d.
First Control Menu
1 System Utilities System tools, OCB, Cron, Logs
2 Security Rule Engine, IDS, Audit
3 Web & Applications DB Manager, WordPress, SSL, DNS
4 Fleet Infrastructure Hypervisors, Proxies, HA, Snapshots
5 Network Manager Sys-stat, network recovery
97 How To Use man one-click
98 Update One-Click one-click update
99 Uninstall One-Click one-click uninstall
0 Exit Menu
Running a remote bootstrap script as root is a privileged operation. Review the source, pin internal mirrors where required, and use the public repository as the reference for the exact release you intend to deploy.