Install QBCore on Linux with txAdmin
Use a supported Linux distribution, a dedicated service account, a current FiveM artifact, and the QBCore txAdmin recipeΒ . Distribution package names and FiveM artifact requirements change, so verify them at deployment time.
Create a dedicated account
Run FXServer without root privileges. Give the service account write access only to its server and backup directories.
Install a current server artifact
Download the Linux artifact from the Cfx.re artifacts serviceΒ , extract it into the service accountβs directory, and launch FXServer to initialize txAdmin.
Prepare an isolated database
Create an empty MySQL or MariaDB database and a least-privilege user scoped to it. Bind the database to a private interface or localhost when it runs on the same host.
Deploy through txAdmin
Select the QBCore recipe and verify its repository is qbcore-framework/txAdminRecipe. Let the recipe install oxmysql, import qbcore.sql, and download declared resources.
Verify and supervise
Complete the first-boot checklist. After verification, configure your operating systemβs service manager with an explicit working directory, service user, restart policy, and log destination.
Linux checks
- Expose only required game and administration ports.
- Keep txAdmin behind an access-controlled network path where possible.
- Store database credentials outside Git.
- Test database and file restore commands on staging.
- Monitor disk space, resource logs, and restart loops.
Paths, users, and startup commands vary by artifact and host. Generate the unit from your verified manual start command and test stop/restart behavior before enabling it at boot.