Thursday, June 17, 2010

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 lenny main
i.e. the line should look like
deb lenny main non-free

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

Download Wowza Media Server using wget
#wget -c

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

Run the installer
(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
#cd /usr/local/WowzaMediaServer/bin/ && ./
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

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


  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 lenny main contrib non-free
    deb-src lenny main contrib non-free

    deb lenny/updates main contrib non-free
    deb-src lenny/updates main contrib non-free

    then :
    aptitude update
    aptitude install sun-java6-jre

    and here it is ....

  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.

    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?

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


Comments are moderated. No spam please.