Install the red5 Service Startup Script
To install red5 on a Linux server, install JDK and ant first. For more information, see how to install JDK on a 64-bit Linux machine. , "How to install on a Linux Server
Apache ant?.
After successfully installing JDK and ant, follow these steps:
========================================================== ======================================
1. Download The red5 compressed file from red5.org:
wget http://trac.red5.org/downloads/0_9/red5-0.9.1.tar.gz
2. decompress:
tar -xvzf red5-0.9.1.tar.gz
3. copy to the specified directory:
cd red5-0.9.1mkdir /opt/red5cp -apr * /opt/red5
4. Add red5 users:
useradd red5
5. Authorize red5 users:
chown -R red5.red5 /opt/red5
6. Run red5:
Add attachment
Copy red5 to the/etc/init. d directory and run the following command:
service red5 start
7. test:
Open http: // server_ip: 5080 in the browser and check the red5 test page, which indicates that the server has been installed.
========================================================== ======================================
Note: The red5 multimedia service occupies port 5080, And the rtmp occupies port 1935. If you cannot access the port, check whether the firewall allows the two ports.