NPM Installation
The Sync-in server can be installed via NPM and managed using a Command Line Interface (CLI).
It is designed to run in Linux-based environments (Debian, Ubuntu, AlmaLinux, Rocky Linux, etc.) as well as in BSD-based
environments (FreeBSD, macOS, etc.).
β οΈ Windows environments are not officially supported.
π Prerequisitesβ
Before installing Sync-in, make sure your environment meets the following requirements:
π’ Node.jsβ
Required version: 22 or higher β Install Node.js: nodejs.org/download
β Check the installed version:
node -v
π’οΈ MariaDBβ
Required version: 11 or higher β Install MariaDB: mariadb.org/download
β Check the installed version:
mariadb --version
The binary may vary depending on your system: use mysql or mariadb as appropriate.
Make sure that:
- The MariaDB service is running
- Port 3306 is open if the database is remote
- A database has been manually created before launching the server
Create a local database with a dedicated user
Connect to MariaDB as administrator (or root):
mariadb -u root -p
Then execute the following commands:
CREATE DATABASE sync_in CHARACTER SET utf8mb4 COLLATE utf8mb4_uca1400_ai_ci;
CREATE USER 'sync_in_user'@'localhost' IDENTIFIED BY 'strongpassword';
GRANT ALL PRIVILEGES ON sync_in.* TO 'sync_in_user'@'localhost';
FLUSH PRIVILEGES;
Important reminder about localhost in MariaDB
-
'sync_in_user'@'localhost'