
Install Flash Server on Linux ---- Install Red5 Server
Taking Fedora Linux as an example, there are five key steps to install:
1) Install Java 1.5JDK version or above
2) Install Apache Ant
3) Environment variable configuration
4) Install Red5 and compile
5) The system service configuration
More details as following:
1) Install Java developing environment
Download the latest JDK version of Linux from Sun official website. Here we use the
version 1.5.0.11 and its downloaded file name is jdk-1_5_0_11-linux-i586.bin.
Only super user has the permission to install the software. You can input su at the
terminal and then input password to switch your account to super user.
Add the executable permission to the file: chmod +x jdk-1_5_0_11-linux-i586.bin
Execute the following command to start installation:
./jdk-1_5_0_11-linux-i586.bin
According to the reference install information, it recommends the installation path:
/usr/java
2) Install Apache Ant
Download the latest version Ant from the official website:
http://ant.apache.org/bindownload.cgi
Unzip to the proper path, recommended unzip path: /usr/ant
3) Configuring environment variable
There are three methods:
Modify /etc/profile file
Modify the .bashrc file under the user directory
Modify directly under shell
Since we are going to set Red5 as the system service and configure the environment
variable later in the service script directly, we choose method 3 -- make modification
directly under shell.
Comentários a estes Manuais