Install Wowza Media Streaming Server In Debian Lenny

Login to your Debian Lenny box

Edit your sources.list file to install java
#vi /etc/apt/sources.list
Add non-free to the end of the line deb http://ftp.se.debian.org/debian/ lenny main
i.e. the line should look like
deb http://ftp.se.debian.org/debian/ lenny main non-free

Install Java
#apt-get update && apt-get install sun-java6-jre

Download Wowza Media Server using wget
#wget -c http://www.wowzamedia.com/downloads/WowzaMediaServer-2-1-1/WowzaMediaServer-2.1.1.deb.bin

Add execute permission
#chmod +x WowzaMediaServer-2.1.1.deb.bin

Run the installer
#./WowzaMediaServer-2.1.1.deb.bin
(Press Space to read next page of the agreement)
(Type Yes at the end of the agreement)
(The setup will be finished)

Now go to your installed location and run startup.sh
#cd /usr/local/WowzaMediaServer/bin/ && ./startup.sh
paste your license key
Press CTRL+C to stop the server if it is still running and you can't get a prompt.

Now copy your flv video video.flv
#cp /root/video.flv /usr/local/WowzaMediaServer/content/

Goto applications folder and make directory video
#cd /usr/local/WowzaMediaServer/applications && mkdir video

Start the streaming server
#/etc/init.d/WowzaMediaServer start

Now,
In Flash Insert a Flv Playback Component
In its source give the url rtmp://server_ip/video/_definst_/video.flv
Press CTRL+Enter and you are done

Comments

  1. Package sun-java6-jre is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package sun-java6-jre has no installation candidate
    ______
    better do the following :

    vi /etc/apt/sources.list
    deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
    deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free

    deb http://security.debian.org/ lenny/updates main contrib non-free
    deb-src http://security.debian.org/ lenny/updates main contrib non-free

    then :
    aptitude update
    aptitude install sun-java6-jre

    and here it is ....

    ReplyDelete
  2. Hola Compa:

    Cuando intento hacer esto de reproducir un video no me lo reproduce que podra ser, ademas cuando trato de administrarlo por el puerto 8086 me pide un user y un pass, los cuales no se cuales son y en la instalacion nunca nombran esto.

    Gracias por tu ayuda.

    ReplyDelete
    Replies
    1. hola, yo tengo una duda, cuando intento crear una radio me da centovacast por default el puerto, lo elige al azar pero este puerto 8086 corresponde a wowza.. es decir la IP de mi radio tiene la misma IP que wowza asi que cuando creo una radio es http://MiIPradio:8086 pero para wowza es igual http://MiIPradio:8086, y esto causa conflicto al grado de que el panel de contro no abra, tengo que reiniciar mi servidor COMPLETAMENTE esto significa que el servidor se va a caer cda que lo reinicie, algo para evitar que centovacast no me de ese puerto por default?... y no te ha pasado algo similar?

      Delete
    2. Why don't you try to run either on one in different port?

      Delete

Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Perm Root HTC Desire Gingerbread 2.3.3

Increase Free Space On HTC Desire Android Phones

Logging Handler With Buffering And Uses Amazon SES For Python