Server Upgrade Instructions
The process for upgrading your Red5 Pro server is pretty straight forward.
Assuming that you set up your server per installing Red5 Pro server on linux, there are just a few basic steps needed to update your server.
- Copy the new Red5 Pro Server Distribution to your server. If you are using FTP, you will probably need to copy this up to the /tmp/ directory.
- Move the zip file to the same directory as your current installation (for example, /usr/local/), and unzip it. Important: DO NOT unzip the new distribution into the same directory that the original server is running in.
- Copy your web applications from your current Red5 Pro directory to the new one. If you have modified any configuration files, then make the same edits in the new distribution's configuration files; DO NOT copy the files from your old distribution to the new one.
The following files are the most likely candidates to have been modified:
- for SSL,
- for FLV conversion to MP4 and/or S3 file storage,
- for server API,
- for Simple Auth Plugin,
- For Round-Trip Authentication,
- for Clustering,
- for HLS modification,
- for WebRTC modification,
- for Restreaming,
- for Autoscale nodes,
- for Social Media Push Plugin,
- for SSL,
- Stop the red5pro service (
sudo systemctl stop red5pro- or
sudo ./red5-shutdown.shif you are not running Red5 Pro as a service). Note: it can take up to 30 seconds for the server to fully shut down.
- Rename (or delete) the old server directory.
- Rename the new server directory to the original folder name (e.g., red5pro).
- Start the red5pro service (
sudo systemctl start red5prostart or
sudo ./red5.sh &if you are not running Red5 Pro as a service).
- Verify your server is running by navitaging to
http://< your server ip >:5080. You can verify you are running the new release by the version number listed in the top-left corner of the screen.
If you are running Red5 Pro on Windows, it's essentially the same process as above. Move the zip file to the same directory as your current installation (for example, C:\Program Files), and unzip it. Copy any custom web applications, and modify any configuration files in the new server distribution that you modified in the original one. Important: DO NOT unzip the new distribution into the same directory that the original server is running in.