Wowza StreamingEngine 4.x Installation

Update July 1st, 2020

I created Complete installers for Wowza Installations. I maintain them on my github page: https://github.com/nlmaca/Wowza_Installers

Update april 26, 2018

The java url isnt a permanent url, it probably will get overdue. So for the installation of Java 1.8.0_172 i added the file to my own site. So this should solve the download problem

Update april 17, 2018

It is no longer possible to install Java 8 on the ppa repository, because it has been archived. It is best to install java manually. I have this article updated for the installtion of java 1.8.0_172

Update sept 4, 2017: Added the java update within the installation of Wowza StreamingEngine. When installing java 8 and wowza it doesnt update the Java version automatic, so you have to symlink the correct java version. This counts for new installations, but also if you want to upgrade Java. Also upgraded the installation to ubuntu 16.04 LTS and Wowza version 4.7.1 (video is still old version, but it was meant as a guide)

I have made a blog post before about the upgrade process of Wowza, but never a first install of it. I reminded myself to do it this time. I choose Ubuntu Server 14.04 64Bit as my OS.

This post will be updated with the manual, and im currently working with video tutorials, which i also publish on youtube, just to get a bit of bigger audience, but also that people can search on different media

Youtube movie:

Textual installation:
I will be very straight forward about the installation. I assume you already have a fresh installed clean ubuntu server. If you don’t run on root, use sudo as prefix on the commands given in this tutorial

To make sure you will get through this installation first get a developer license first. You need it during the installation of wowza. You can get as many and as often one. The license is valid for 180 days and you can use it for 1 upload stream and 10 viewers. For developing purposes this should be enough. When the 180 days are over, just replace it with a new one;).
https://www.wowza.com/media-server/developers/license

Always check for the latest JDK: You might have to update the url of the java download
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

  1. Make sure your ubuntu server is up to date. Run the 2 commands.
    apt-get update
    apt-get upgrade

    2. Wowza is depending on Java, so we have to install it manually (update april 17, 2018)

    cd /tmp
    #run command below on a single line
    wget http://vanmarion.nl/software/java/jdk-8u172-linux-x64.tar.gz

    3. Extract the package

    tar -xzvf jdk-8u172-linux-x64.tar.gz

    4. remove old installer (if you have run into issues when installing Java)

    cd /tmp
    
    rm -R /usr/lib/jvm/java-8-oracle 
    mkdir -p /usr/lib/jvm/java-8-oracle
    mv jdk1.8.0_172/* /usr/lib/jvm/java-8-oracle
    chown -R root:root /usr/lib/jvm/java-8-oracle

     5. Set the java as default

    sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-8-oracle/jre/bin/java 1091
    sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-8-oracle/bin/javac 1091

    6. Go to /etc/profile.d/ and create a file and add the contents to it

    vi /etc/profile.d/jdk.sh
    
    # add these lines to it, and save the file
    export J2SDKDIR=/usr/lib/jvm/java-8-oracle
    export J2REDIR=/usr/lib/jvm/java-8-oracle/jre
    export PATH=$PATH:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
    export JAVA_HOME=/usr/lib/jvm/java-8-oracle
    export DERBY_HOME=/usr/lib/jvm/java-8-oracle/db

    7. Run the file you just created

    source /etc/profile.d/jdk.sh

    8. So now when you check you should see the java version

    java -version
    
    # result
    java version "1.8.0_172"
    Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)

    The java installation is now done. The upgrade process for the version to show in Wowza hasn’t changed. 

  2. Download the latest version (in this case 4.7.3) you can replace it with the latest version (which you can find here: https://www.wowza.com/pricing/installer)
    wget https://www.wowza.com/downloads/WowzaStreamingEngine-4-7-5/WowzaStreamingEngine-4.7.5-linux-x64-installer.run

    Make the file executable:

    chmod +x WowzaStreamingEngine-4.7.5-linux-x64-installer.run

    Time to run the file and start the actual installation:

    ./WowzaStreamingEngine-4.7.5-linux-x64-installer.run

    5. Some questions will be asked. they all can be answered with Enter or yes.

    press several times on ENTER to confirm the agreement
    Do you accept this agreement? [y/n]: Y

    Get your license key on standby. You need it here:

    Time to fill in the license key (check your email for the developer license, or fill in the actual license you have purchased from wowza)
    Enter License Key
    Please enter your Wowza Streaming Engine License Key.
                Format: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX[-XXXXXXXXXXXX]
    
    License Key: []:

    After this you have to create a username and password to your choice (words in capitals you should fill in yourself.

    Fill in a admin user (fill in what you want)
    Enter a user name and password that will be used to manage Wowza Streaming
    Engine.
    User Name: []: YOUR_DESIRED_USERNAME
    Password: : YOUR_DESIRED_PASSWORD
    Confirm Password: : YOUR_DESIRED_PASSWORD_AGAIN

    Do you want to start wowza automaticly after a reboot?

    Note: User Name and Password are case-sensitive.
    ----------------------------------------------------------------------------
    Startup Configuration
    
    Start Wowza Streaming Engine automatically [Y/n]: Y

    Setup is ready. Continue to install wowza with the settings you gave in above questions. Not sure? (type N to start from step 4 again).

    Setup is now ready to begin installing Wowza Streaming Engine on your computer.
    
    Do you want to continue? [Y/n]: Y

    Time to get some coffee (it will take about a minute or 2)

    Please wait while Setup installs Wowza Streaming Engine on your computer.
    
     Installing
     0% ______________ 50% ______________ 100%
     #########################################

    After this the setup is done

    Setup has finished installing Wowza Streaming Engine on your computer.

    You can now access your wowza streamingEngine Manager in your browser by typing your ipadress instead of the YOUR_SERVER_IP in the example below.

    browser: http://YOUR_SERVER_IP:8088/enginemanager/

    Update sept 4, 2017:
    Go on the commandline again an check the java version:

    java -version

    It will show something like this:

    java version "1.8.0_172"
    Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)

    When you go into the Enginemanager and to server > About
    You will most likely see a different (older) version. In my case it was: 1.8.0_144

    So Wowza is not using my latest java version on the server. Here is a fix for that:
    Go on the commandline again:

    rm -rf /usr/local/WowzaStreamingEngine/java
    ln -sf /usr/lib/jvm/java-8-oracle/ /usr/local/WowzaStreamingEngine/java

    This will remove the current java version and create a symlink to the latest version. After this restart the streamingengine and enginemanager. 

    service WowzaStreamingEngine restart
    service WowzaStreamingEngineManager restart

    Now login again in the Enginemanager and check the java version again. It should give you the same version as you have on the server. In my case: 1.8.0_172

 

You may also like...

0 0 votes
Article Rating
Subscribe
Notify of
guest
26 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Ira
Ira
5 years ago

How can I uninstall it completely?

Zed
Zed
5 years ago

do you have linux version?(centos)

sirine
sirine
5 years ago

Bonjour, j’ai appliqué toutes les étapes que vous avez mentionné mais il m’affiche qu’il ne peut pas s’installer lors de lancement de l’installation.j’ai pas pu trouver le problème exactement pouvez vous me conseiller!? merci d’avance

test
4 years ago

Howdy! I know this is somewhat off topic but I
was wondering which blog platform are you using for this website?
I’m getting fed up of WordPress because I’ve had problems
with hackers and I’m looking at options for another platform.
I would be awesome if you could point me in the direction of a good platform.

Dialtone
Dialtone
4 years ago

Hello from the USA.
I want to thank you for all your efforts on the Enecsys_Dashboard project. I had previously found the original e2pv.php script and made a bare bones test run on my Linux Mint system. Later, I found your dashboard project and thought to give it a try on a Pi-3. Your Instruction PDF was most helpful. The ONLY issue I found on it was in the section about the disk placement of the empty ssh file. The wording says to place it in the “root” partition, but your screen shot clearly shows the “boot” partition. A quick Google search confirmed boot was the correct place. Other than this, the instructions were perfect.
Thanks Again for a job well done.

Carlo Di Cuffa
Carlo Di Cuffa
3 years ago

license invalid

Timur
Timur
3 years ago

Hi, I have a problem. There is show error could not create folder /usr/local after this entry: ./WowzaStreamingEngine-4.7.3-linux-x64-installer.run. But i did all as you. Whats could be problem? Please help.

Alin
Alin
3 years ago

Hi!

I have a great problem installing wowza streaming engine 4.7.5 I follow all the steps in the tutorial and it does not work. I can not correctly install Java 8, update this tutorial, or need more information

Alin
Alin
Reply to  Alin
3 years ago

installing is done on a server that runs ubuntu server 14.04, is there a way to install java 8 automatically?

Alin
Alin
3 years ago

Hi !

Thank you for your help. On a freshly installed ubuntu server 14.04 LTS now works ok points 1,2,3 but unfortunately at juncture 5 there is a problem (java does not exist)

root@instance-1:/tmp# sudo update-alternatives –install /usr/bin/java java /usr/lib/jvm/java-8-oracle/jre/bin/java 1091
update-alternatives: error: alternative path /usr/lib/jvm/java-8-oracle/jre/bin/java doesn’t exist
root@instance-1:/tmp#

root@instance-1:/tmp# sudo update-alternatives –install /usr/bin/javac javac /usr/lib/jvm/java-8-oracle/bin/javac 1091
update-alternatives: error: alternative path /usr/lib/jvm/java-8-oracle/bin/javac doesn’t exist
root@instance-1:/tmp#

Alin
Alin
3 years ago

Hello !

I installed Java successfully and I made all the commands at all points, then I installed the latest wowza version and still does not work. Now I do not know where the problem is because everything was done as a tutorial.

Please wait while Setup installs Wowza Streaming Engine on your computer.

Installing
0% ______________ 50% ______________ 100%
#########################################

—————————————————————————-
Setup has finished installing Wowza Streaming Engine on your computer.

root@wowza:/tmp#

root@wowza:/tmp# java -version
java version “1.8.0_172”
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)
root@wowza:/tmp#

I went to the address (http://myIP:8088/enginemanager)

where would be the problem that I can not find a solution for 10 days? could you please make a video tutorial when you have time.

Thank you

Alin
Alin
3 years ago

Hello !

I did everything you suggested and the result is the same. I just do not understand where the problem is or do not do well, in the past when java installed itself, I reinstalled the wowza streming engine very often and always worked first, on this server and without any change. When I access http: // ipaddress: 8088 or 1935, nothing happens. I can not even know if the license is good because the wowza interface does not open. Later I will try once again installing because it is already annoying me now. I can not give up again

Alin
Alin
3 years ago

Hi Maca !

Thank you for your help and the time spent on this tutorial. I found the problem and was from my server (something is blocked and I can not figure out what) yesterday I installed Wowza Streaming Engine on a fresh server installed with the Ubuntu 14.04 TLS operating system, I followed all the steps in your tutorial and it all worked out of the first as by charm. Following your suggestions, I learned how to manually install Java. I’m glad there are people like you and still and you have all the respect for me

Thank you for all.

sankar
1 year ago

Hi Maca !
can you please help me
i am successfully installed and running wowza streaming engine with your tutorial
i need small dashboard for my clients can restream to youtube and facebook using stream targets (like restream.io )
please help me
Thnak you