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
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;).
Always check for the latest JDK: You might have to update the url of the java download
- Make sure your ubuntu server is up to date. Run the 2 commands.
12apt-get updateapt-get upgrade
2. Wowza is depending on Java, so we have to install it manually (update april 17, 2018)
123cd /tmp#run command below on a single linewget http://vanmarion.nl/software/java/jdk-8u172-linux-x64.tar.gz
3. Extract the package
1tar -xzvf jdk-8u172-linux-x64.tar.gz
4. remove old installer (if you have run into issues when installing Java)
123456cd /tmprm -R /usr/lib/jvm/java-8-oraclemkdir -p /usr/lib/jvm/java-8-oraclemv jdk1.8.0_172/* /usr/lib/jvm/java-8-oraclechown -R root:root /usr/lib/jvm/java-8-oracle
5. Set the java as default
12sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-8-oracle/jre/bin/java 1091sudo 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
12345678vi /etc/profile.d/jdk.sh# add these lines to it, and save the fileexport J2SDKDIR=/usr/lib/jvm/java-8-oracleexport J2REDIR=/usr/lib/jvm/java-8-oracle/jreexport PATH=$PATH:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/binexport JAVA_HOME=/usr/lib/jvm/java-8-oracleexport DERBY_HOME=/usr/lib/jvm/java-8-oracle/db
7. Run the file you just created
8. So now when you check you should see the java version
123456java -version# resultjava 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.
- 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:
1chmod +x WowzaStreamingEngine-4.7.5-linux-x64-installer.run
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.
12press several times on ENTER to confirm the agreementDo you accept this agreement? [y/n]: Y
Get your license key on standby. You need it here:
123456Time 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 KeyPlease 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.
123456Fill in a admin user (fill in what you want)Enter a user name and password that will be used to manage Wowza StreamingEngine.User Name: : YOUR_DESIRED_USERNAMEPassword: : YOUR_DESIRED_PASSWORDConfirm Password: : YOUR_DESIRED_PASSWORD_AGAIN
Do you want to start wowza automaticly after a reboot?
12345Note: User Name and Password are case-sensitive.----------------------------------------------------------------------------Startup ConfigurationStart 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).
123Setup 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)
12345Please wait while Setup installs Wowza Streaming Engine on your computer.Installing0% ______________ 50% ______________ 100%#########################################
After this the setup is done
1Setup 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.
Update sept 4, 2017:
Go on the commandline again an check the java version:
It will show something like this:
123java 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:12rm -rf /usr/local/WowzaStreamingEngine/javaln -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.12service WowzaStreamingEngine restartservice 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