# Prepare a host for QBCore

This section prepares Windows or Linux infrastructure: FiveM artifacts, txAdmin, database access,
networking, backups, and deployment boundaries. When the host is ready, the
[quickstart](/quickstart) performs the recipe deployment.

If you have not started the included txAdmin panel yet, the [independent txAdmin installation walkthrough](https://txadmin.org/docs/getting-started/installation) covers launching FXServer and opening the setup interface before deploying QBCore.

Still choosing your server stack? [Compare FiveM frameworks](/tutorials/fivem-frameworks-comparison)
before committing to a core, inventory and resource ecosystem. If you would rather not assemble a
server at all, the download page lists a
[pre-configured server template](/download#pre-configured-server-template-commercial) as the
commercial alternative.

> **Never deploy over production**
> Create a new txAdmin profile and an empty database. Back up and test restore procedures before moving existing data or custom resources.

###

### Windows host
Prepare FXServer, txAdmin, database access, firewall, and backups on Windows.

### Linux host
Prepare a dedicated service account, database access, firewall, and backups on Linux.

### Docker Compose
Run FXServer with txAdmin and a private MariaDB container, with persistent volumes and backups.

### Hosting choices
Evaluate managed hosting, VPS, or dedicated hardware without vendor-specific claims.

![QBCore installation stages and first-boot tests](/diagrams/txadmin.svg)

*Conceptual diagram; verify the behavior against your installed resource version.*

## Deployment boundaries

1. **Host:** install a current FiveM artifact and open txAdmin.
2. **Database:** create an empty development database and least-privilege application account.
3. **Recipe:** verify the owner is `qbcore-fivem/txAdminRecipe` and deploy its `main` branch.
4. **First boot:** require a clean console, character persistence, and basic resource smoke tests.
5. **Customization:** create a Git baseline before editing files or adding third-party resources.

## Manual source installation

Manual installation is an advanced maintenance workflow, not the quick path. If you choose it, inspect the current recipe first: it defines the required repositories, refs, dependency order, `oxmysql` package, and SQL import. Do not substitute an old blog post or an arbitrary server pack for that dependency graph.

## Required evidence before production

- Exact commit SHAs for every customized repository
- Restorable file and database backups
- A staging smoke-test record
- A documented resource start order
- A rollback owner and maintenance window

Continue with the [quickstart](/quickstart) for deployment or [getting started](/docs/getting-started) for first-boot verification.
