Monday, 3 February 2014

Wowza Media Server Installation in Linux


Wowza Media Server is a high-performance streaming media server.

Download the Latest version from the official website of wowza or use wget to download the software.
http://www.wowza.com/pricing/installer 

[root@localhost src]# wget http://www.wowza.com/downloads/WowzaMediaServer-3-6-2/WowzaMediaServer-3.6.2.rpm.bin
--2014-02-03 05:58:27--  http://www.wowza.com/downloads/WowzaMediaServer-3-6-2/WowzaMediaServer-3.6.2.rpm.bin
Resolving www.wowza.com... 96.30.11.104
Connecting to www.wowza.com|96.30.11.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 77650236 (74M) [application/octet-stream]
Saving to: `WowzaMediaServer-3.6.2.rpm.bin'

100%[===================================================================================>] 77,650,236  78.9K/s   in 16m 51s

2014-02-03 06:15:20 (75.0 KB/s) - `WowzaMediaServer-3.6.2.rpm.bin' saved [77650236/77650236]

[root@localhost src]# ll
total 75916
-rw-r--r-- 1 root root 77650236 Jun  9  2013 WowzaMediaServer-3.6.2.rpm.bin

Then, grant execute permission to the file.

[root@localhost src]# chmod +x  WowzaMediaServer-3.6.2.rpm.bin

Then start to install and accept the  license tems.

[root@localhost src]# ./WowzaMediaServer-3.6.2.rpm.bin
WOWZA MEDIA SOFTWARE
END USER LICENSE AGREEMENT ("EULA") VERSION 3.6

NOTICE: BY DOWNLOADING, INSTALLING, COPYING OR

Do you agree to the above license terms? [yes or no]
yes
Preparing...                ########################################### [100%]
   1:WowzaMediaServer       ########################################### [100%]

Install Location:
  /usr/local/WowzaMediaServer

To enter license key:
  cd /usr/local/WowzaMediaServer/bin
  ./startup.sh

[root@localhost src]#

This will install wowza in the location /usr/local/WowzaMediaServer. 

Start Wowza by running ./startup from

# cd /usr/local/WowzaMediaServer/bin

If you are starting Wowza for first time this will prompt for license key, So you can put the license key here. If you don’t have the license key you can get a 30 day license key from wowza.com.

Add the service in chkconfig  to start wowza in start up.

# chkconfig -add WowzaMediaServer
# chkconfig WowzaMediaServer on


Startup scripts are located in /etc/init.d/WowzaMediaServer, You can start/stop the service using the command service WowzaMediaServer start/stop/restart.

Once we started the wowza, RTMP will start to listen in the TCP port 1935.


No comments:

Post a Comment