Installing FunnelFlux on a VPS from DigitalOcean
These steps use the install scripts to put FunnelFlux on a DigitalOcean VPS.
Open DigitalOcean and log in, or register an account.
That referral link includes $100 in credit for new accounts.
Step 1: Start creating a droplet
Section titled “Step 1: Start creating a droplet”After you create a DigitalOcean account, click Create, then Droplets.
Step 2: Pick your distribution
Section titled “Step 2: Pick your distribution”Select Ubuntu 24.04 (LTS) x64 as your OS image. The installer scripts only support Ubuntu 24.04. The screenshots below show an older image. Pick Ubuntu 24.04 in the same list.

Step 3: Pick server size
Section titled “Step 3: Pick server size”Use a basic shared CPU droplet with at least 2 vCPU and 4 GB of RAM. The installer tunes its services for that size.
The screenshot is an older plan list and has a 2 GB plan selected. Pick a plan with at least 2 vCPU and 4 GB of RAM, not the smaller plan shown as selected.

RAM mainly affects the databases and how large a report they can process. If you plan to do significant API work, watch RAM usage when you run queries and upgrade if needed.
For more traffic, pick a larger droplet and run optimize-server.sh after installing.
See What server specifications do I need to handle X clicks per day?.
Then pick a region near your traffic. If your traffic is global, a Western Europe region such as Amsterdam or Frankfurt is a reasonable default.
Give the server a name, for example flux-tracker, then click Create.
Step 4: Dealing with DNS configuration
Section titled “Step 4: Dealing with DNS configuration”While your server is being created, point your domain name to it.
Go back to your dashboard and open the new droplet. Its page shows the server IP:

Wait for the IP to become available, then copy it. Use the IP, not the private or floating IP.
Add a proxied A record for your tracker domain in Cloudflare with this IP, and set the SSL/TLS mode, as described in step 1 of Installing FunnelFlux. New to Cloudflare? Using Cloudflare DNS for your tracker covers moving a domain into it.
Step 5: Getting SSH access to your server
Section titled “Step 5: Getting SSH access to your server”On the server page, the console button opens the SSH console for this server.
Use a local SSH client instead, for example:
Create a connection to your server IP. Use SSH, username root, and the SSH key or root password you chose when you created the droplet.
If you do not want a local client, use View Console.
This opens a shell window:

You can then log in.
Use the root username and password. This virtual console does not support copy and paste, so you have to type the password. It is also slow. A local SSH client avoids both problems.
In a Linux terminal, password entry does not show keystrokes. Seeing nothing as you type is normal.
In an external SSH client such as PuTTY, enter the username and password in the client before you connect, and skip the console login. From a command line, connect with:
ssh root@YOUR-SERVER-IP-ADDRESSStep 6: Run the installer
Section titled “Step 6: Run the installer”From here the steps are the same on every provider.
Wait at least 5 minutes after the droplet is created so its own first-boot setup can finish, then follow Installing FunnelFlux from 2. Run system setup (ff1.sh) onward.
In short, you run ff1.sh, ff2.sh and ff3.sh, complete https://DOMAIN/install.php in the browser, then run ff4.sh and install the V2 UI.
If you don’t use Cloudflare, ff1.sh points you to Managing your own SSL certificates for after the install.
Do not run ff4.sh until the browser installer has finished.
It deletes the installer files, so running it early cuts the browser installer off partway through.
The scripts tune the server for 2 vCPU / 4 GB of RAM.
On a bigger droplet, run optimize-server.sh afterwards, as described at the end of the install guide.

