You install the engine once on your main server. The installer sets up everything on its own and, at the end, gives you the address of your panel. Then you either start from zero or import the data of your old panel.
System requirements
Main server (required: dedicated server)
- Operating system: Ubuntu 18.04, 20.04, 22.04 or 24.04 (a fresh install is recommended). Ubuntu 24.10 is also accepted.
- Root access: full root access over SSH.
- Connection: at least 1 Gbps.
- RAM: at least 32 GB.
- Disk: at least 250 GB SSD.
- CPU: a high-performance multi-core processor.
The main server must be a dedicated server, not a VPS. A VPS can limit performance and network stability.
Use a clean server, with no other software installed. If the installer finds an existing MySQL or MariaDB on the main server, it asks before removing it, and all of its databases are deleted. Back them up first if you need them.
Load balancer servers (optional)
To serve more viewers you can add one or more load balancers later. They can be dedicated servers or high-performance VPS servers. Minimum:
- Connection: at least 1 Gbps.
- RAM: at least 32 GB.
- Disk: at least 500 GB SSD.
- CPU: a multi-core processor.
These numbers are a starting point. With many live channels you may need more RAM, more bandwidth and more CPU.
See Add a Load Balancer Server.
Step 1: Get the install command
- Buy a license on https://xtreamai.net/#pricing.
- Open your client area: https://xtreamai.net/client-area/products/.
- Open the license you bought.
- In Command to Install, click Copy.
If you are moving from another panel, make a backup of its SQL database before you run the installer, and keep a copy on your computer.
Step 2: Run the installer
- Connect to your main server over SSH as root.
- Paste the command and press Enter.
- Confirm that you want to proceed with the installation.
- When the installer asks for the role of the server, choose This is a main server (this is the right option for the first server you install).
- Wait. A progress indicator shows each step.
When the installer finishes, it shows Installation completed successfully and the URL of your panel. Save this URL: you use it to log in as admin, and your resellers use it too.
If the installer stops with an error, it tells you at which step. You can run it again. If the problem continues, contact support and send the installation log file the installer names on screen.
Your license has only one main server. If the license already has a main server on another IP that is still online, the installer does not let you install a second main. If the old main is offline and you pick the main role, the old main is revoked and its panel data is deleted. To add more servers, choose the load balancer or reverse proxy role instead.
Step 3: First setup
The first time you open the panel URL, you choose how to start.
Fresh setup, from zero
Choose this if you are not moving from another panel.
- Click Fresh setup, from zero.
- Enter Username for Admin and Password for Admin. Save them in a safe place.
- Set a 4-digit PIN code. After you log in with your username and password, the panel asks for this PIN as a second step. After three wrong PINs the session closes and the account is banned; you need your license key to unban it.
- Click SAVE & FINISH.
Import from your old panel
Choose this if you are moving from Xtream Codes, Xtream UI, XUI One, 1-Stream or Xtream Masters.
- Upload the .sql backup of your old panel to your main server, into the folder
/home/xtreamai/. Use the plain.sqlfile, not a compressed one. - Click Import (Vods/Users) from my old IPTV System.
- In Database Path, click the folder button and pick your
.sqlfile. - Choose whether to Migrate Logs. With logs on, the reseller and credit logs of your old panel are imported too, and the import takes longer.
- Click IMPORT DATA.
A large database (for example, more than 200 MB) on a slower server can take more than one hour to import. The progress can stay at a low number for a long time and then jump to the end. This is normal.
What to do next
- Update the engine when a new version comes out.
- Add a Load Balancer Server to serve more viewers.
- Check the General settings and turn on Database backups.
Common problems
- "This installer requires Ubuntu 18.04, 20.04, 22.04, 24.04 or 24.10." Reinstall the server with one of these versions.
- The installer asks to remove an existing MySQL. The main server needs its own database. Answer yes only after you back up anything you need.
- The installer says the main server is locked. Your license already has a main server online on another IP. Stop that server, wait for the time the installer shows, and run the installer again. Or install this server as a load balancer.
- The import does not start or stays at the start. Check that the
.sqlfile is inside/home/xtreamai/and is not compressed.