XyNginC Installation

XyNginC is designed exclusively for XyPriss projects running in production on Linux. It relies on system-level components like Nginx and Certbot that are native to Linux environments.

System Requirements

OS
Ubuntu 20.04+, Debian 11+
Arch
x64, arm64, ia32
Access
Root or sudo privileges
Manager
XFPM installed

Step 0: Install XFPM

Ensure XFPM is installed, as it is required for the recommended installation method:

bash
curl -sL https://xypriss.nehonix.com/install.js | node

Installation Methods

Option 1: XFPM (Recommended)

Most streamlined approach for XyPriss projects. The post-install script automatically handles binary acquisition.

bash
xfpm install xynginc

Option 2: Manual Binary

For standalone usage or environments without XFPM.

bash
curl -L -o xynginc https://github.com/Nehonix-Team/xynginc/releases/latest/download/xynginc
chmod +x xynginc
sudo mv xynginc /usr/local/bin/

System Dependencies (Optional)

XyNginC is designed to automatically detect and install missing requirements (Nginx, Certbot) during its first execution. Manual installation is usually not required, but you can verify them on your Ubuntu/Debian server if needed:

bash
# Manual installation (Optional)
sudo apt update
sudo apt install nginx certbot python3-certbot-nginx
Run sudo xynginc check after installation to verify that all system dependencies and permissions are correctly configured.
Build from Source

Need to run XyNginC on a custom architecture? Learn how to build it from source.