Installation & Bootstrap

Install One-Click, understand the first-run dependency and module-cache flow, and work with its managed tmux session.

One-Click documentation · Step-by-step guide

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

Your First Configuration Checklist

After installation, take these steps in sequence. Only the virtualisation steps are optional; the security baseline is recommended for any One-Click-managed server. Older IDS builds can offer unattended repair when configuring the hourly schedule: initialise the baseline early, but do not enable that legacy schedule without reviewing its safety.

1. Establish accessConfirm SSH access, sudo/root permissions, updates, and an independent rescue or console route.
2. Initialise IDSCapture a reviewed baseline while the host is known-good, then run a first scan.
3. Configure backupChoose a recovery destination, perform a first backup and verify a restore in a safe environment.
4. Initialise Fleet (when needed)Set up the controller, add peer nodes and verify SSH/Ansible reachability.
5. Enable and initialise VPS (optional)Review /usr/local/bin/one-click, plan storage and bridges, then follow the first guest creation workflow.
6. Validate servicesInspect the logs and inventory; only publish workloads to the network after confirming isolation and firewall rules.
one-click engine 'audit scan --init'
one-click engine 'audit scan'
one-click backup
# On a Fleet controller, if you plan to manage other hosts:
one-click fleet init
one-click fleet list
one-click fleet verify
# On a prepared virtualisation host, when you choose to enable KVM:

The IDS baseline is an integrity reference, not a guarantee that a host has never been compromised. Update the baseline only after reviewing authorised system changes. Read Security and IDS and the VPS setup flow for the full process.

Older IDS versions: baseline initialisation may offer hourly automation using unattended remediation. Do not accept that schedule until its behaviour has been reviewed or the updated scan-only IDS module has been deployed.

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-click

Detach without stopping the running session with Ctrl+b d.

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
Review before execution

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.