feat(install): first-class Ubuntu Server support (#116) - #143
Draft
Jovonni wants to merge 1 commit into
Draft
Conversation
Linux servers couldn't run 'make reset-dev' cleanly: start-dev.sh launched port-forwards via macOS-only 'open -a Terminal.app'. Guard that behind an OS check and background the port-forwards on Linux (logged to port-forward.log). Add an official installer (scripts/install-ubuntu.sh) and an Ubuntu Server guide (docs/INSTALL_UBUNTU.md), adapted from the community writeup in #116, and link both from the README and docs/INSTALL.md. Align the README Python prerequisite with CI (3.9+). Closes #116
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Makes OpenUBA install cleanly on a headless Ubuntu Server, which is the single most common friction point in our issues.
scripts/start-dev.shlaunched port-forwards with the macOS-onlyopen -a Terminal.app, which brokemake reset-devon Linux. It now detects the OS and, on Linux, runs the port-forwards in the background (logged toport-forward.log). macOS behavior is unchanged.scripts/install-ubuntu.sh— installs Docker/kubectl/Kind/Node, brings the cluster up, discovers service names, and wires reboot-safe systemd port-forwards (+ optional nginx proxy). Idempotent; configurable via env vars.docs/INSTALL_UBUNTU.md— architecture, remote access (SSH tunnel), default creds, and a known-issues table. Linked from the README anddocs/INSTALL.md.3.10+→3.9+) with the CI matrix anddocs/INSTALL.md.Credit
Adapted from the detailed community writeup in #116 by @rock0ne — the installer folds their script into the repo, and the guide preserves their known-issue/fix notes. It also resolves their #1 maintainer ask (guard the macOS-only terminal launch) at the source rather than patching it at install time.
Testing
bash -nclean on both scripts. The installer runs against a real server (not exercised in CI, which has no Kind-in-Docker host); thestart-dev.shOS guard is a pure branch with unchanged macOS behavior.Closes #116