Difference between revisions of "Installing the Valt Software"
IVSWikiBlue (talk | contribs) (→Install Valt) |
IVSWikiBlue (talk | contribs) m (→Install Valt) |
||
Line 152: | Line 152: | ||
#: [[File:Install69.png]] | #: [[File:Install69.png]] | ||
# When prompted to remove test database and access to it, type '''y''' and press enter | # When prompted to remove test database and access to it, type '''y''' and press enter | ||
− | #: [[File: | + | #: [[File:Install70.png]] |
# When prompted to reload privilege tables, type '''y''' and press enter | # When prompted to reload privilege tables, type '''y''' and press enter | ||
#: [[File:Install41.png]] | #: [[File:Install41.png]] |
Revision as of 11:32, 2 December 2016
Contents
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.
- Boot the machine from an Ubuntu Server 14.04 installation CD.
- When prompted select your language from the menu and press enter.
- Press F4
- 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
- Press enter to begin installing Ubuntu Server
- When prompted select your language from the menu and press enter.
- When prompted select your location from the menu and press enter.
- Select No when prompted to detect keyboard layout.
- Select the country of origin for your keyboard from the menu and press enter.
- Most likely English (US)
- Select your keyboard layout from the menu and press enter.
- Most likely English (US)
- Select a primary network interface
- Enter a name for the appliance when prompted. (This can be changed later.)
- Enter a full name for the new user when prompted.
- The default name for installations of Valt by IVS is IVS Admin
- Enter a username for the new user when prompted.
- The default name for installations of Valt by IVS is ivsadmin
- Enter a password for the new user when prompted.
- Reenter the password for the new user when prompted.
- When prompted to encrypt the home directory, select No.
- Verify the timezone detected is correct, then select yes.
- When prompted to partition the disks, select Guided – use entire disk
- Select the proper disk to partition.
- Select Yes to write the changes to the disk.
- Wait while the installer completes
- If you need to enter http proxy information, enter it now.
- Wait while apt is configured.
- Select Install Security updates automatically.
- When prompted for software selection, choose OpenSSH server
- Select Continue
- Select Yes when prompted to install the GRUB boot loader
- 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.
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
- 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
- If prompted enter the password for your user account.
- Type sudo apt-get install wget -y and press enter.
- Type wget --content-disposition https://ivs.box.com/shared/static/c2887aq93236cnvsgc3twmuo12zwggux.gz -O ValtInstall.tar.gz and press enter.
- Type tar -xvf ValtInstall.tar.gz and press enter.
Install Valt
- Connect to the server via SSH or log in to the teminal
- Type cd ValtInstall and press enter.
- Type chmod +x ValtSetup and press enter.
- Type sudo ./ValtSetup and press enter.
- If prompted enter the password for your user account.
- When prompted, select Yes to save current IPv4 rules.
- When prompted, select Yes to save current IPv6 rules.
- When prompted by the Wowza EULA, press Q to skip to the bottom of the agreement.
- Type yes and press enter.
- When prompted for a username enter one.
- The default username for an IVS Valt install for Wowza is root
- When prompted for a password enter one.
- The default password for an IVS Valt install for Wowza is admin51
- When prompted confirm the password.
- 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.
- When prompted to start the streaming service on reboot, type yes and press enter.
- Enter a password for the MySQL root user.
- The default password for an IVS Valt install for MYSQL is admin51
- Repeat the password when prompted.
- When prompted to configure phpmyadmin, select apache2
- Select Yes when prompted
- Enter the MySQL root password defined previously.
- 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
- Confirm the password when prompted.
- When prompted, press enter to select the default for all options.
- Press enter to continue
- 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
- Confirm the password.
- When prompted enter the MYSQL root password defined earlier.
- When prompted to change the root password, type n and press enter.
- When prompted to remove the anonymous users, type y and press enter
- When prompted to disallow root login remotely, type y and press enter
- When prompted to remove test database and access to it, type y and press enter
- When prompted to reload privilege tables, type y and press enter
- When prompted enter admin for the email.
- 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.
- Type sudo lshw -C disk and press enter.
- 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
- Type sudo parted /dev/sdb and press enter.
- Replace /dev/sdb with the appropriate disk identified in step 2.
- You will now be taken to a GNU Parted prompt
- Type mklabel gpt and press enter.
- Type mkpart pri 1 -1 and press enter.
- Type quit and press enter.
- Type sudo mkfs -t ext4 /dev/sdb1 and press enter.
- Replace /dev/sdb1 with the appropriate disk identified in step 2.
- Type sudo blkid and press enter.
- This will display the UUIDs for each partition. Note the UUID for the partition you just formatted.
- Type sudo nano /etc/fstab and press enter.
- Add a line for the partition you just created. It should read similar to the following:
- Press CTRL-X
- Enter Y to save.
- Do not change the file name and press enter
- Type sudo mount /dev/sdb1 /usr/local/WowzaStreamingEngine/content and press enter.
- Replace /dev/sdb1 with the appropriate disk identified in step 2.
- Type sudo lsblk and press enter.
- The results should be similar to the above picture where sdb1 is mounted under /usr/local/WowzaStreamingEngine-4.0.6/content
- Type sudo ./Storage and press enter.
- 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.
- Access the Valt Server Command Line Menu.
- Enter Option 1 for Network Configuration
- Enter Option 2 for Set IPs
- Select your interface from the options listed.
- Select Static or DHCP.
- For this example we will select DHCP
- Type Y when to configure this interface for client access.
- 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
- Open a web browser and navigate to http://IPAddress:8088
- Click Skip Intro.
- Sign in using the username and password defined earlier for Wowza.
- 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.
- You will be returned to the sign in page.
- Sign back in to the Wowza web console.
- Click on Performance Tuning > Java Settings
- Click Edit
- Select Production Level
- Click Save
- You will be prompted to restart, click Restart Now
Install the Valt Camera License
- Access the Valt Server Command Line Menu.
- Enter Option 3 for Valt Configuration
- Enter Option 1 for Install License
- Enter your license provided by IVS and press enter.
- You will be returned to the menu.