Linux and macOS deployment
Instance layout, Python service startup and operational settings on Unix systems.
Directory layout and runtime identity
Code and instance directories have independent lifecycles. Core uses octaviius_core.py; Studio uses octaviius.py and index.html in the same directory. Python 3.9 or later is required. Assign data ownership to a dedicated service account and define a stable working directory. Backup, spare and log paths must be accessible to that identity.
Client application or local server?
A Linux application accessing a remote Core follows the Python client guide and does not install the server. This page covers local Core/Studio startup from sources obtained from the publisher. No complete Linux/macOS installer is published with this Windows release. Component redistribution rights and licenses still apply.
Prepare directories and server Python
Current source requires Python 3.9 or later; choose a maintained release and qualify it before deployment. Put octaviius_core.py in core and octaviius.py/index.html in studio, with data in a separate directory. Virtual environments isolate dependencies; absolute paths avoid accidentally creating new storage after changing the working directory.
python3 --version
python3 -m venv .venv
. .venv/bin/activate
python core/octaviius_core.py --data /srv/octaviius/data --host 127.0.0.1 --port 9090
# In a second terminal, using the same virtual environment:
python studio/octaviius.py --engine http://127.0.0.1:9090 --host 127.0.0.1 --port 9091Native library and operations
Windows .pyd wheels cannot run on Linux; compile the same C++ sources for the chosen OS, architecture and CPython minor version or obtain a compatible wheel. Without it, Python fallback remains available with different performance. Storage format remains compatible. Check NATIVE_STATUS at startup. Qualify macOS and each distribution; do not extrapolate Linux x86_64 timings to an ARM64 Mac.
Only one Core should own a data directory. Services need a dedicated account, stable working directory, explicit log paths and normal shutdown. Windows .bat launchers are not systemd units; this site installs no Linux service.