MACROMEDIA FLASH MEDIA SERVER 2-INSTALLING FLASH MEDIA SERVER 2 Technical Information Seite 25

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 66
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 24
Input command directly through Terminal:
export ANT_HOME=/usr/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
4) Install Red5 and compile
Download the latest version for Linux from the official website, so far it is 0.6.3
Download file name: red5-0.6.3.tar.gz
To unzip the file, it's commended to unzip to the directory of /opt/red5.
Input command to enter red5 directory: cd /opt/red5
Input command to compile: ant
5) System service configuration
Save the following script as red5 (Download the script directly), which is used to start
Red5 service.
#!/bin/sh
#
# Startup script for Red5 flash streaming server
#
# chkconfig: 345 81 81
# description: RED5 by java
#
# processname: java (unfortunately)
# pidfile: /var/run/red5.pid
# config: /etc/red5.conf
# Source function library.
. /etc/rc.d/init.d/functions
PID_FILE=/var/run/red5.pid
PID=`ps ax |grep java|grep red5|awk '{print $1;}'`
RETVAL=0
start() {
echo -n $"Starting $DESCR: "
# daemon java $OPTIONS > /dev/null 2>&1 &
export ANT_HOME=/usr/ant
Seitenansicht 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 65 66

Kommentare zu diesen Handbüchern

Keine Kommentare