Skip to main content

Wowza StreamingEngine 4.x Installation

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 https://creativedreamz.in/soft/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

Comments

Popular posts from this blog

50 Free Plugins for Final Cut Pro X - The ultimate FREE Plugin list for FCPX

Hi guys, Charlie from LightLeakLove here! Just quickly, before you get to the article, I wanted to let you know about our new tool for FCPX called FiltrCutPro - learn more about it  here ! In this article we are going to share over 50 FREE Final Cut Pro X plugins that we reckon are pretty darn awesome! One of the areas where Final Cut Pro trumps its competition is the plugin universe it nurtured around FCPX. The amount of talented plugin creators that are out there making plugins, effects, templates and transitions for Apples industry leading editing platform is pretty epic. With so many fantastic companies and individuals making such brilliant plugins, the video editing landscape has never looked healthier or more creative. Things that used to take hours and had to be built up over layers and layers (and layers) are now as simple as drag…and…drop. Many of these plugins are released as freebies from companies (giving a sample of their full plugins) or from other FCPX edit

MySQL fails to start when a Plesk server lacks disk space: SQLSTATE[HY000] No space left on device 500 Plesk\Exception\Database

  Symptoms When opening Plesk or exporting/importing a database in Plesk, the operation fails with one of the following error messages: ERROR: Plesk\Exception\Database DB query failed: SQLSTATE[HY000]: General error: 1021  Disk full  (/var/tmp/#sql_3b95_1);  waiting for someone to free some space ..., <...> Server Error 500 Plesk\Exception\Database DB query failed: SQLSTATE[HY000]: General error: 1  Can't create/write to file  '/var/tmp/#sql_9d1_0.MAI' (Errcode: 28), <...> Websites with MySQL databases are not accessible with the following error message in a web-browser: Error establishing a database connection The MySQL service fails to start with the "No space left on device" error in its status: #  systemctl status mariadb.service ... systemd[1]: Starting MariaDB database server... systemd[1]:  mariadb.service failed to run 'start-pre' task: No space left on device systemd[1]: Failed to start MariaDB database server. systemd[1]: mariadb.serv

Final Cut Pro X: Create and break apart compound clips

You can create a  compound clip  from existing clips in the  Timeline  or the  Browser , or you can create a new, empty compound clip in the Browser and add clips to it in the Timeline. You can also break a compound clip into its component parts in the Timeline, so that the items are no longer grouped. Create a compound clip from existing clips Select  one or more  clips  in the Timeline or the Browser. The selected clips can be any combination of contiguous or noncontiguous clips, compound clips,  primary storyline  clips, or  connected clips . Do one of the following: Choose File > New Compound Clip (or press Option-G). Control-click the selection and choose New Compound Clip from the shortcut menu. Note:    When you add a compound clip to the Timeline or create a compound clip from existing clips in the Timeline, you create a direct and active relationship between a parent compound clip in the Browser and the child compound clip in the Timeline. If the