Installing the Valt Software

From IVS Wiki
Revision as of 11:47, 2 December 2016 by IVSWikiBlue (talk | contribs)
Jump to: navigation, search

Install Ubuntu 14.0.4 LTS

The valt software is currently only supported on Ubuntu 14.04 LTS. Internet access is required to complete the installation. After installation is complete, the server can be disconnected from the internet and run without issue.

  1. Boot the machine from an Ubuntu Server 14.04 installation CD.
    Install1.png
  2. When prompted select your language from the menu and press enter.
    Install2.png
  3. Press F4
    Install3.png
    • If you are installing on a virtual machine select Install Minimal Virtual Machine
    • If you are installing on a physical machine select Install Minimal System
    Install2.png
  4. Press enter to begin installing Ubuntu Server
    Install4.png
  5. When prompted select your language from the menu and press enter.
    Install5.png
  6. When prompted select your location from the menu and press enter.
    Install6.png
  7. Select No when prompted to detect keyboard layout.
    Install7.png
  8. Select the country of origin for your keyboard from the menu and press enter.
    • Most likely English (US)
    Install8.png
  9. Select your keyboard layout from the menu and press enter.
    • Most likely English (US)
    Install62.png
  10. Select a primary network interface
    You will only be prompted if your system has more than one NIC
    Install9.png
  11. Enter a name for the appliance when prompted. (This can be changed later.)
    Install10.png
  12. Enter a full name for the new user when prompted.
    • The default name for installations of Valt by IVS is IVS Admin
    Install11.png
  13. Enter a username for the new user when prompted.
    • The default name for installations of Valt by IVS is ivsadmin
    Install12.png
  14. Enter a password for the new user when prompted.
    Install13.png
  15. Reenter the password for the new user when prompted.
    Install14.png
  16. When prompted to encrypt the home directory, select No.
    Install15.png
  17. Verify the timezone detected is correct, then select yes.
    Install16.png
  18. When prompted to partition the disks, select Guided – use entire disk
    Install17.png
  19. Select the proper disk to partition.
    In most cases this will be the smaller of the available disks/array. The larger disks/array should be allocated for video storage and will be configured later.
    Install18.png
  20. Select Yes to write the changes to the disk.
    Install19.png
  21. Wait while the installer completes
    Install20.png
  22. If you need to enter http proxy information, enter it now.
    In most cases this will not be required, you can just select continue.
    Install21.png
  23. Wait while apt is configured.
    Install22.png
  24. Select Install Security updates automatically.
    Install23.png
  25. When prompted for software selection, choose OpenSSH server
  26. Select Continue
    Install24.png
  27. Select Yes when prompted to install the GRUB boot loader
    Install25.png
  28. Installation is now complete. Select continue to reboot the appliance.

Obtain an IP Address

If you specified a static ip address during installation, this section can be skipped. If you opted to use DHCP to configure the network interface you will need to determine the IP address of the server before proceeding.

To obtain the IP log in to the console and run the following command:

ifconfig

Network configuration will be displayed similar to the below screenshot.

Install26.png

The active network adapter should have an ip address displayed. In this case it is eth0 and the address is 192.168.0.159.

The server should be configured with a static address. If you want to use DHCP, you should set up a DHCP reservation for the server so the IP address does not change.

Download Installation Package

  1. Connect to the server via SSH or log in to the teminal
    It is highly recommended that you connect via ssh so you can copy and paste the commands below
  2. If prompted enter the password for your user account.
  3. Type sudo apt-get install wget -y and press enter.
  4. Type wget --content-disposition https://ivs.box.com/shared/static/c2887aq93236cnvsgc3twmuo12zwggux.gz -O ValtInstall.tar.gz and press enter.
  5. Type tar -xvf ValtInstall.tar.gz and press enter.

Install Valt

  1. Connect to the server via SSH or log in to the teminal
  2. Type cd ValtInstall and press enter.
  3. Type chmod +x ValtSetup and press enter.
  4. Type sudo ./ValtSetup and press enter.
  5. If prompted enter the password for your user account.
    Install63.png
  6. When prompted, select Yes to save current IPv4 rules.
    Install64.png
  7. When prompted, select Yes to save current IPv6 rules.
    Install27.png
  8. When prompted by the Wowza EULA, press Q to skip to the bottom of the agreement.
    Install28.png
  9. Type yes and press enter.
    Install29.png
  10. When prompted for a username enter one.
    • The default username for an IVS Valt install for Wowza is root
  11. When prompted for a password enter one.
    • The default password for an IVS Valt install for Wowza is admin51
  12. When prompted confirm the password.
    Install30.png
  13. When prompted for a Wowza license key enter: ET2A4-6vG9p-c4txQ-ucAWD-KybPJ-uwKbM-8GGQEAyZQwrm
    • The purpose of this key is just to complete the Wowza Streaming Engine installation. This key will be replaced later on in the installation process.
    Install31.png
  14. When prompted to start the streaming service on reboot, type yes and press enter.
    Install32.png
  15. Enter a password for the MySQL root user.
    • The default password for an IVS Valt install for MYSQL is admin51
    Install33.png
  16. Repeat the password when prompted.
    Install34.png
  17. When prompted to configure phpmyadmin, select apache2
    Install35.png
  18. Select Yes when prompted
    Install36.png
  19. Enter the MySQL root password defined previously.
    Install37.png
  20. When prompted enter a password for phpmyadmin to communicate with MySQL
    • The default password for an IVS Valt install for phpmyadmin to communicate with MYSQL is admin51
  21. Confirm the password when prompted.
    Install38.png
  22. When prompted, press enter to select the default for all options.
    Install39.png
  23. Press enter to continue
    Install40.png
  24. Enter an administrator password for your ldap directory when prompted.
    • This will not be used, so any password can be entered here.
    • The default password for an IVS Valt install for ldap is admin51
  25. Confirm the password.
    Install65.png
  26. When prompted enter the MYSQL root password defined earlier.
    Install66.png
  27. When prompted to change the root password, type n and press enter.
    Install67.png
  28. When prompted to remove the anonymous users, type y and press enter
    Install68.png
  29. When prompted to disallow root login remotely, type y and press enter
    Install69.png
  30. When prompted to remove test database and access to it, type y and press enter
    Install70.png
  31. When prompted to reload privilege tables, type y and press enter
    File:Install71.png
  32. When prompted enter admin for the email.
  33. When prompted enter admin for the password.

Configure Storage

If video files will be stored on the same drive as the OS, only the following command needs to be run from the terminal:

sudo ./Storage

The following steps should be completed only if you have a separate drive (physical or virtual) for storing the video files.

  1. Type sudo lshw -C disk and press enter.
    Install42.png
  2. You should now see a list of the available disks on the machine. Locate the disk you want to provision for storage in the list. In this case it is /dev/sdb
  3. Type sudo parted /dev/sdb and press enter.
    • Replace /dev/sdb with the appropriate disk identified in step 2.
    Install43.png
  4. You will now be taken to a GNU Parted prompt
  5. Type mklabel gpt and press enter.
  6. Type mkpart pri 1 -1 and press enter.
  7. Type quit and press enter.
  8. Type sudo mkfs -t ext4 /dev/sdb1 and press enter.
    • Replace /dev/sdb1 with the appropriate disk identified in step 2.
  9. Type sudo blkid and press enter.
  10. This will display the UUIDs for each partition. Note the UUID for the partition you just formatted.
  11. Type sudo nano /etc/fstab and press enter.
    Install44.png
  12. Add a line for the partition you just created. It should read similar to the following:
    UUID=cd07f82a-307c-46e9-8b80-a7859335c3a9 /usr/local/WowzaStreamingEngine/content ext4 defaults 0 2
    Install45.png
  13. Press CTRL-X
  14. Enter Y to save.
  15. Do not change the file name and press enter
  16. Type sudo mount /dev/sdb1 /usr/local/WowzaStreamingEngine/content and press enter.
    • Replace /dev/sdb1 with the appropriate disk identified in step 2.
  17. Type sudo lsblk and press enter.
    Install46.png
  18. The results should be similar to the above picture where sdb1 is mounted under /usr/local/WowzaStreamingEngine-4.0.6/content
  19. Type sudo ./Storage and press enter.
  20. Type sudo reboot and press enter.

Configure IP Address

You must complete these steps even if you have already specified an IP address for the server or want to use DHCP. This will configure the Valt software with the correct IPs

For more in depth information on network configuration options, see the Valt Command Line Menu page.

  1. Access the Valt Server Command Line Menu.
    This menu is presented automatically at the Valt server terminal. It can also be accessed via ssh by running the following command from the prompt:
    sudo /usr/local/valt/bin/Menu
    Install54.png
  2. Enter Option 1 for Network Configuration
    Install57.png
  3. Enter Option 2 for Set IPs
    Install58.png
  4. Select your interface from the options listed.
    Install59.png
  5. Select Static or DHCP.
    For this example we will select DHCP
  6. Install60.png
  7. Type Y when to configure this interface for client access.
  8. Install61.png
  9. Enter the IP Address of the interface when prompted.

IP Address changes will not take effect until the server has been rebooted.

Install the Wowza Streaming Engine License

  1. Open a web browser and navigate to http://IPAddress:8088
    Replace IPAddress with the IP Address of the server.
    Install47.png
  2. Click Skip Intro.
    Install48.png
  3. Sign in using the username and password defined earlier for Wowza.
    Install49.png
  4. Copy and paste the Wowza License Key into the box provided.
    If you are not prompted for a key:
    1. Click on the Server tab
    2. Click the Edit button.
    3. Copy and paste the Wowza License Key into the box provided.
    If you were provided with a USB key by IVS, the USB key must already be inserted into the appliance.
  5. Click Save
  6. You will be returned to the sign in page.
    If you are not returned to the sign in page, click Sign Out in the upper right corner of the page.
  7. Sign back in to the Wowza web console.
    If you are returned to the license page, the license was not accepted.
    • Check to make sure the USB key is inserted.
    • Check to make sure there are no typos or leading or trailing spaces.
    • Reboot the server
    Install50.png
  8. Click on Performance Tuning > Java Settings
    Install51.png
  9. Click Edit
    Install52.png
  10. Select Production Level
  11. Click Save
    Install53.png
  12. You will be prompted to restart, click Restart Now

Install the Valt Camera License

  1. Access the Valt Server Command Line Menu.
    This menu is presented automatically at the Valt server terminal. It can also be accessed via ssh by running the following command from the prompt:
    sudo /usr/local/valt/bin/Menu
    Install54.png
  2. Enter Option 3 for Valt Configuration
    Install55.png
  3. Enter Option 1 for Install License
    Install56.png
  4. Enter your license provided by IVS and press enter.
  5. You will be returned to the menu.

Accessing the Valt Server

  1. Open a web browser and navigate to http://IPAddress:8088
    Replace IPAddress with the IP Address of the server.
    Install72.png
  2. Log in using the following credentials:
    Username: admin
    Password: admin