-
-
Notifications
You must be signed in to change notification settings - Fork 982
Installation on MacOS
엉클배(배기도) edited this page Oct 20, 2018
·
5 revisions
Linux 32-bit installation instructions
Linux 64-bit installation instructions
sudo mkdir -p ~/Documents/tools/red5-server
cd ~/
vi .bash_profile
export JAVA_HOME=`/usr/libexec/java_home` <-- ` is not a Apostrophe. It's a Grave.
export RED5_HOME=~/Documents/tools/red5-server
PATH=$JAVA_HOME:$RED5_HOME:$PATH
source .bash_profile
- Browse to Red5 Server Releases
- Scroll to "Latest Release"
- Download the tar.gz
- Copy to RED5_HOME
- Expand the tarball
red5-server v1.0.9-RELEASE tar
red5-server v1.0.9-RELEASE zip
./red5.sh start
./red5.sh stop
./red5.sh restart
If you meet an error message like this.
~Documents/tools/red5-server/red5: line 75: /usr/bin/jsvc: No such file or directory
You must install jsvc
brew install jsvc
If you don't have Homebrew yet. Please visit Homebrew site and install Homebrew.
and then fix jsvc path in red5 file
vi red5
Comment and add new command like this.
# The path to Jsvc
#EXEC="/usr/bin/jsvc"
EXEC="$which jsvc"
Fix java home path in red5 file.
vi red5
Comment JAVA_HOME in red5 file, because you already define in your .bash_profile .
# The path to the folder containing the java runtime
# JAVA_HOME="/usr/lib/jvm/default-java"
If you can read this page it means that the Red5 server installed at this site is working properly.
Please enjoy RED5.