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;).
- 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.123apt–get install python–software–propertiesadd–apt–repository ppa:webupd8team/javaapt–get update
3. Install Oracle JDK package1apt–get install oracle–java8–installer
4. Time to install wowza. Go to a tmp directory1cd /tmp
Download the latest version (in this case 4.7.1) you can replace it with the latest version (which you can find here: https://www.wowza.com/pricing/installer)1wget https://www.wowza.com/downloads/WowzaStreamingEngine-4-7-1/WowzaStreamingEngine-4.7.1-linux-x64-installer.run
Make the file executable:1chmod +x WowzaStreamingEngine–4.7.1–linux–x64–installer.run
Time to run the file and start the actual installation:1./WowzaStreamingEngine–4.7.1–linux–x64–installer.run
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 done1Setup 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.1browser: http://YOUR_SERVER_IP:8088/enginemanager/
Update sept 4, 2017:
Go on the commandline again an check the java version:1java –version
It will show something like this:123java version “1.8.0_144”Java(TM) SE Runtime Environment (build 1.8.0_144–b01)Java HotSpot(TM) 64–Bit Server VM (build 25.144–b01, 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_77So 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_144