Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleUpgrade Red5
# 1. Stop Red5
$ service red5 stop
 
# 2. Switch to red5 directory
$ cd /usr/local/red5
 
# 3. Install updated avalon webapp
$ cd webapps/avalon
$ wget --no-check-certificate https://raw.githubusercontent.com/avalonmediasystem/avalon-red5/master/webapps/avalon/WEB-INF/lib/red5-avalon.jar -O WEB-INF/lib/red5-avalon.jar
$ wget --no-check-certificate https://raw.githubusercontent.com/avalonmediasystem/avalon-red5/master/webapps/avalon/WEB-INF/red5-web.properties -O WEB-INF/red5-web.properties
$ wget --no-check-certificate https://raw.githubusercontent.com/avalonmediasystem/avalon-red5/master/webapps/avalon/WEB-INF/red5-web.xml -O WEB-INF/red5-web.xml
$ wget --no-check-certificate https://raw.githubusercontent.com/avalonmediasystem/avalon-red5/master/webapps/avalon/META-INF/MANIFEST.MF -O META-INF/MANIFEST.MF
$ chmod -R a+x META-INF WEB-INF

# 4.Configure serverUrl to point to localhost
$ perl -pi -e 's/#avalon\.serverUrl=http:\/\/www\.example\.edu\/avalon\//avalon\.serverUrl=http:\/\/localhost/' WEB-INF/red5-web.properties

# 5. Restart Red5
$ service red5 start

If you are using Adobe Media Server for your streaming server, see Upgrading AMS for Avalon 4.0.

If you didn't load the sample content before, try it out to test your avalon 4.0 upgrade.