Skip to main content
A standalone installation places a single Red5 Pro server on one machine. This is the fastest way to get up and running for development, testing, or a single-origin production setup. Follow the instructions below for your operating system, then continue to the license key and upgrade sections as needed.

Prerequisites

  • Java 21 (Red5 Pro 14.0.0+) or Java 11 (Red5 Pro 9.0.0–13.x)
  • A valid Red5 Pro license key from account.red5.net
  • A 64-bit operating system
  • unzip available on the system path
Red5 Pro only supports 64-bit operating systems. Attempting to run it on a 32-bit system will fail.

Install Red5 Pro

Install dependencies

Ubuntu 22.04 is the recommended platform for production deployments. Install Java 21 and the required native libraries:
If you are hosting on AWS, choose the Ubuntu 22.04 AMI rather than the Amazon Linux AMI. Amazon Linux may be missing libraries that Red5 Pro depends on.
For CentOS 8 Stream, run the following instead:
Then edit red5pro/red5.sh and set JAVA_HOME="/usr/lib/jvm/jre-21".

Download and unzip

1

Download Red5 Pro

Log in to account.red5.net and download the server ZIP distribution.
2

Transfer to your server

Copy the ZIP to your server. A common approach is SFTP into the /tmp directory:
3

Create the installation directory

4

Unzip the distribution

5

Add your license key

Your LICENSE.KEY file is included in the root of the ZIP. It is automatically placed at /usr/local/red5pro/LICENSE.KEY. Verify it is present:
If you need to replace it, copy your key file to the same location and restart the server.
6

Start Red5 Pro

To keep the process running after you close your terminal:
7

Verify the server is running

Open a browser and navigate to http://localhost:5080. You should see the Red5 Pro landing page.

Run as a systemd service

Running Red5 Pro as a systemd service ensures it starts automatically on reboot. This requires jsvc, which was installed in the dependencies step above.
1

Copy the service file

The red5pro.service file is included in the root of the server distribution:
The service file uses these defaults:
If your JAVA_HOME or RED5_HOME paths differ from the defaults, edit the file before proceeding.
2

Set permissions and reload

3

Enable and start the service

4

Check status

Common service commands:
When running as a systemd service, console output is suppressed. Server logs are written to /usr/local/red5pro/log/red5.log. To tail logs after starting:

OpenSSL compatibility workaround

If you encounter OpenSSL or libcrypto compatibility errors at startup, open conf/network.properties and uncomment this line:
Then restart Red5 Pro for the change to take effect.

License key

Red5 Pro will not start without a valid license key. Your LICENSE.KEY file is bundled in the server ZIP and is automatically placed in the root of the installation directory. You can also view and download your key from the account overview page. If you replace the license key file, restart Red5 Pro for the new key to take effect.
In an autoscaling deployment, the LICENSE.KEY file must be baked into the AMI or image used for node provisioning. See the Stream Manager documentation for details.

Upgrade from a previous version

Do not unzip the new distribution into the same directory as the running server. Unzip it to a separate location first.
1

Copy the new distribution to your server

Upload the new ZIP to /tmp or another staging directory.
2

Unzip to a separate directory

3

Copy custom web applications

If you have custom apps in red5pro/webapps/, copy them from the old installation to the new one.
4

Re-apply configuration changes

Do not copy configuration files wholesale. Instead, open each modified config in the old installation and apply the same changes to the corresponding file in the new distribution. Common files to check:
  • conf/red5.properties — SSL settings, port overrides
  • conf/red5-common.xml — FLV-to-MP4 and S3 storage
  • conf/cluster.xml — clustering
  • conf/webrtc-plugin.properties — WebRTC settings
  • conf/simple-auth-plugin.properties and simple-auth-plugin.credentials
  • webapps/live/WEB-INF/red5-web.xml
  • webapps/api/WEB-INF/red5-web.properties
5

Stop the old server

6

Swap directories

7

Update Java if upgrading to v14+

If you are upgrading to v14.0.0 or later and were previously on v13.x, update JAVA_HOME in the service file to point to Java 21:
8

Start and verify

Open http://your-server-ip:5080 and confirm the new version number appears in the top-left corner.
Java version requirements by release:

Reduce server footprint by disabling unneeded OS services

After installing Red5 Pro on Ubuntu or Debian, you can disable background OS services that are not needed to improve performance and reduce attack surface. Verify each service against your organization’s requirements before disabling.
Disabling snapd will prevent Snap packages from running. If you installed certbot via Snap for SSL, leave snapd enabled or use an alternative certbot installation method.