Installation
Getting started with FS PBX is a breeze.
Requirements
Before you begin, ensure you have met the following requirements:
- Debian 12 or 13
- 4GB of RAM (for production, more RAM is recommended)
- 30 GB Hard drive ( for production, an NVME hard drive with more space is recommended)
Installation
-
Download and run the installation script
wget -O- https://raw.githubusercontent.com/nemerald-voip/fspbx/main/install/install-fspbx.sh | bash
Required steps after installation
After the installer finishes, complete the following setup before putting FS PBX into service. Web URL settings and a Let's Encrypt web certificate are required for every installation. Scheduled-job owner selection is also required for redundant installations.
-
Configure the web URL and sessions to prevent URL-related 419 errors.
In
/var/www/fspbx/.env, setAPP_URLto the HTTPS address users will open, configureSANCTUM_STATEFUL_DOMAINSfor the hostnames used to sign in, and checkSESSION_DOMAIN. Refresh the configuration cache after saving. Follow Error 419 — Page Expired for the exact settings and verification steps. Review these values again whenever the web address changes. -
Set up a Let's Encrypt certificate for the web server.
Configure DNS for your web hostname and follow Let's Encrypt SSL certificate. Choose the guide's Single server or Redundant server pair setup as appropriate, then verify that the configured HTTPS addresses open with a trusted certificate. This step secures the FS PBX web interface.
-
Sign in to the portal.
Open your configured HTTPS web address and sign in with the Username and Password printed by the installer. Confirm that the dashboard opens. See Sign in for the first time for login and password-recovery guidance.
-
Select the scheduled-job owner on redundant installations.
Open Advanced → System Settings → Scheduled Jobs and follow Scheduled Job Server Setup. Discover and approve both servers, then explicitly select the server that will run shared jobs. Approval alone does not select an owner. Refresh both servers until they show the same Job owner, with one Active on this server and the other Standby. Single-server installations do not need an owner selection when the panel shows Single server.
Next steps
If this server is replacing an existing PBX, continue with Back up and restore FS PBX. For a new deployment, use the same guide to enable full backups and arrange an off-server copy.
Continue with First Login and Your First Account to update your administrator email and password and create the account for your business.
Before registering phones or connecting a carrier, follow Network Addresses and FreeSWITCH Variables to configure your server's local and advertised addresses. The guide covers direct public IPs, NAT, multiple interfaces, and two-server installations.