Red5 Install/Office Work
Red5Install/OfficeWork ¶* install
red5 files 0.9.1-4 ¶* /etc/red5
<Loader loaderClass="org.red5.server.tomcat.WebappClassLoader" useSystemClassLoaderAsParent="false" />
The main configuration file that wires together the context tree. It takes care of loading "red5-common.xml" and "red5-core.xml" and sets up the rest of the server. This is the first file to be loaded by Red5. The J2EE container is selected in this configuration file by configuring one of the following bean elements.
Default web.xml file used by Tomcat. The settings from this file are applied to a web application before it's own WEB_INF/web.xml file. * /etc/init.d/red5-server
tcheun@debian:/usr/share/red5$ ls -lR .: ÇÕ°è 1032 -rw-r--r-- 1 root root 15710 2010-10-02 22:35 boot.jar lrwxrwxrwx 1 root root 9 2011-04-07 14:14 conf -> /etc/red5 drwxr-xr-x 2 root root 4096 2011-04-07 14:14 lib lrwxrwxrwx 1 root root 13 2011-04-07 14:14 log -> /var/log/red5 -rwxr-xr-x 1 root root 220 2010-02-22 04:31 red5-debug.sh -rwxr-xr-x 1 root root 515 2010-02-22 04:31 red5-highperf.sh -rw-r--r-- 1 root root 25124 2010-10-02 22:35 red5-remoting.jar -rwxr-xr-x 1 root root 344 2010-10-02 22:35 red5-shutdown.sh -rw-r--r-- 1 root root 984410 2010-10-02 22:35 red5.jar -rwxr-xr-x 1 root root 1297 2010-02-22 04:31 red5.sh lrwxrwxrwx 1 root root 21 2011-04-07 14:14 webapps -> /var/lib/red5/webapps lrwxrwxrwx 1 root root 15 2011-04-07 14:14 work -> /var/cache/red5 * /usr/share/red5/webapps
tcheun@debian:/usr/share/red5/webapps$ ls -lR .: ÇÕ°è 8 -rw-r--r-- 1 root root 1884 2010-02-22 04:31 red5-default.xml drwxr-xr-x 3 root root 4096 2011-04-07 14:14 root ./root: ÇÕ°è 40 drwxr-xr-x 2 root root 4096 2011-04-07 14:14 WEB-INF -rw-r--r-- 1 root root 7336 2010-02-22 04:31 biglogo.png -rw-r--r-- 1 root root 248 2010-02-22 04:31 crossdomain.xml -rw-r--r-- 1 root root 894 2010-02-22 04:31 favicon.ico -rw-r--r-- 1 root root 733 2010-02-22 04:31 favicon.png -rw-r--r-- 1 root root 4335 2010-10-02 22:35 index.html -rw-r--r-- 1 root root 5128 2010-02-22 04:31 logo.png ./root/WEB-INF: ÇÕ°è 12 -rw-r--r-- 1 root root 49 2010-02-22 04:31 red5-web.properties -rw-r--r-- 1 root root 1219 2010-02-22 04:31 red5-web.xml -rw-r--r-- 1 root root 2304 2010-02-22 04:31 web.xml * /usr/share/red5/webapps/root/
Serving HTTP directly from your Red5 Server Normally, you will be hosting your html files on a webhosting server, which is a separate physical server than your Red5 server. However, your Red5 server have a built-in webserver that can be used for testing purposes. To do so, put your html files in Red5 server's folder /opt/red5/webapps/root/. Here's a real example of HTTP mapping using your Red5 server: The physical file /opt/red5/webapps/root/demos/ofla_demo.html maps to HTTP URL http://RED5_SERVER_IP:5080/demos/ofla_demo.html The only disadvantage of using Red5's own HTTP server is: You will have to always append ":5080" with your URL IP, and you will not be able to use your domain name to browse your http content. run demo ¶* /usr/share/red5/webapps/root/WEB-INFO
Debian "red5-server" package doesn't contains /demos or /installer webapps. Please note that /installer and /demos webapps are for demonstration purpose only and should never be installed on a public red5 server (no security at all in those applications). As root, you can install /demos (SWF files) and /installer webapp, by issuing :
|
The wise shepherd never trusts his flock to a smiling wolf. |