Wowza StreamingEngine 4.x Installation

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.

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

    3. Extract the package

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

     5. Set the java as default

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

    7. Run the file you just created

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

    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)

    Make the file executable:

    Time to run the file and start the actual installation:

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

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

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

    Do you want to start wowza automaticly after a reboot?

    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).

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

    After this the setup is done

    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.

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

    It will show something like this:

    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:

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

    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...

24 Responses

  1. Ira says:

    How can I uninstall it completely?

    • maca says:

      Hi Ira,
      Easiest way (if possible), do a complete reinstall of your server.
      Otherwise can you be a bit more specific about what you want to delete (including java? or just wowza)

      To just delete Wowza you can use this command:
      sudo dpkg –-purge WowzaStreamingEngine-4.5.0
      Depending on which version you are running, so you might have to replace 4.5.0 for the version you are running

  2. Zed says:

    do you have linux version?(centos)

  3. sirine says:

    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

  4. test says:

    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.

    • maca says:

      Hi,
      im using wordpress though as a blog site. WordPress itself is pretty safe. I added a security plugin, changed some other settings. There are many ways to secure your wordpress site. The problem with wordpress sites being hacked is because of a lot of buggy plugins. As long as you dont install every plugin you see you should be fine. Just always check if the plugin is safe. Check the reviews, search the plugin in google and see if you find any security issues. WP has a list somewhere of blacklisted plugins. I have been working with joomla for many years, but it got to complicated just for simple blogging. If you need more info let me know. then i will get in contact by email.

      I make my own dashboards/websites in php, but for blogging or making tutorials i just use wordpress for it.

  5. Dialtone says:

    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.

    • maca says:

      Hi,
      thx for the feedback. Will see if i can make it a bit more clear about the ssh file. I think your response was supposed to be placed on the enecsys topic instead of the wowza topic. But it doesn’t matter. Im happy with the feedback.

  6. Carlo Di Cuffa says:

    license invalid

  7. Timur says:

    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.

    • maca says:

      Hi Timur,
      are you running it as root or as a sudo user? If you are running it as as sudo, make sure that user has access to write/create in the /usr/local directory. Otherwise switch to root and try it again

  8. Alin says:

    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

  9. Alin says:

    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#

    • maca says:

      Hi Alin,
      The problem you had was at step 4. You should have got an error there that the directory couldn’t be created.
      i updated step 4. The problem there was i assumed the jvm directory would exist, but it doesn’t at default.
      Give this a try (retry step 4) and then try step 5 again

  10. Alin says:

    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

    • maca says:

      Did you follow the steps after the wowza installation? Because you have to add the new java to your wowza installation
      Have you tried restarting wowza to see if you get any errors? Sometimes the page doesn’t show so restart the enginemanager or both of them.
      service WowzaStreamingEngine restart
      service WowzaStreamingEngineManager restart

      check in your browser: http://ipadress:1935
      it should give the license info. if that page is also not working, then wowza isn’t running then please check your server logs.

      What do the server logs say?
      Do you have a firewall running? if so, you have to open TCP port 8088, 1935

      A lot can be wrong, so you might have to do some debugging on it. The installation is pretty straight forward, but for example if your wowza (developer) license is not valid, wowza doesn’t start

  11. Alin says:

    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

  12. Alin says:

    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.

Leave a Reply

Your email address will not be published. Required fields are marked *