Red5 installation
Red5 installation
Some time you may get the problem of JAVA_HOME enviroment variable not available or not locate properly to java in the server .... So this article may help you out :)
Login to your account and open .bash_profile file
$ vi ~/.bash_profile
set the following enviroment variable in .bash_profile
export ANT_HOME=/opt/ant
export JAVA_HOME=/usr/java
export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
Save and close the file. Just logout and login back to see new changes:
$ echo $ANT_HOME
$ echo $JAVA_HOME
$ echo $PATH
$ echo $CLASSPATH
Tip: Use the following command to find out exact path to which java executable under UNIX / Linux:
$ which java
You have to use nohup to keep you red5 process active when you lose your
terminal.
Try this command :
nohup sh red5.sh &
Some time you may get the problem of JAVA_HOME enviroment variable not available or not locate properly to java in the server .... So this article may help you out :)
Login to your account and open .bash_profile file
$ vi ~/.bash_profile
set the following enviroment variable in .bash_profile
export ANT_HOME=/opt/ant
export JAVA_HOME=/usr/java
export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
Save and close the file. Just logout and login back to see new changes:
$ echo $ANT_HOME
$ echo $JAVA_HOME
$ echo $PATH
$ echo $CLASSPATH
Tip: Use the following command to find out exact path to which java executable under UNIX / Linux:
$ which java
You have to use nohup to keep you red5 process active when you lose your
terminal.
Try this command :
nohup sh red5.sh &
Leave a Comment