Installation
Requirements
- Linux with
dpkgfor the packaged build, or Windows / macOS for the platform builds. - About 1 GB for the app plus space for each runtime and database you install.
- No Docker, no external control panel and no account.
One command (Debian / Ubuntu)
curl -fsSL https://raw.githubusercontent.com/kangpcode/phoenixserv/phoenixserv/scripts/install.sh | sudo bash
The script resolves the newest GitHub release, verifies the package architecture,
installs it with dpkg, resolves missing dependencies and refreshes the
desktop database. Pin a version with:
curl -fsSL https://raw.githubusercontent.com/kangpcode/phoenixserv/phoenixserv/scripts/install.sh \
| sudo bash -s -- --version 2.3.7 From a checkout
# newest build in release/
sudo ./scripts/install.sh
# a specific package
sudo ./scripts/install.sh release/PhoeniXServ-2.3.7-x64.deb
The script verifies the package architecture, installs it with dpkg, resolves
missing dependencies and refreshes the desktop database. It installs to
/opt/PhoeniXServ and registers the phoenixserv command, desktop
entry and icon set.
Plain dpkg / apt
sudo apt install ./PhoeniXServ-2.3.7-x64.deb
phoenixserv Inspect before installing
./scripts/install.sh --dry-run Upgrade
sudo ./scripts/install.sh release/PhoeniXServ-<newer>.deb User data and installed runtimes stay in place across upgrades.
Uninstall
# remove the app, keep data
sudo ./scripts/install.sh --uninstall
# remove the app and ~/.config/PhoenixServ
sudo ./scripts/install.sh --purge Data directory
PhoeniXServ stores configuration, runtimes, and service data natively per user:
| Platform | Path |
|---|---|
| Linux | ~/.config/PhoenixServ |
| macOS | ~/Library/Application Support/PhoenixServ |
| Windows | %APPDATA%\PhoenixServ |
Runtimes and service data live under app/ and server/ inside this
directory and persist cleanly across upgrades.
Privileged helper
A small helper is installed on first launch and allows the app to edit the hosts file, bind
privileged ports and adjust system environment variables. On Linux this is the
flyenv-helper binary launched through a polkit/sudo prompt. It is the only
elevated component.
If the helper is missing, the app still runs; hosts editing and low ports are unavailable until it is installed. Use Settings → Helper → Fix to retry.
Build from source
corepack yarn install --frozen-lockfile
cd src/helper-go && bash build-os.sh && cd ../..
NODE_OPTIONS=--max-old-space-size=8192 corepack yarn build Artifacts land in release/: the .deb and an unpacked build directory.
Troubleshooting
The window does not appear on a headless display
Electron needs a display server. On a headless session (Xvfb) start the app with
--no-sandbox --ozone-platform=x11 --disable-gpu, or use a real desktop session.
Services fail to start
Check that the port is free (ss -ltnp) and that the data directory is writable.
Logs for each service are under ~/.config/PhoenixServ/logs.
Certificate not trusted
Open MkCert and trust the local root CA again. The name of the CA is unchanged from upstream for compatibility.