Difference between revisions of "Installing the VALT Software"
IVSWikiBlue (talk | contribs) (Created page with "==Install Ubuntu 16.0.4 LTS== The Valt software is currently only supported on Ubuntu 16.04 LTS. Internet access is required to complete the installation. After installation i...") |
(No difference)
|
Revision as of 10:26, 22 May 2020
Contents
Install Ubuntu 16.0.4 LTS
The Valt software is currently only supported on Ubuntu 16.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 16.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 terminal
- 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 in the following, and press Enter:
sudo apt-get install wget -y
- Type in the following, and press Enter:
wget --content-disposition https://ivs.box.com/shared/static/fuqipanms60q3vd98pcfewuexsbwugnm.gz -O ValtInstall.tar.gz
- Type in the following, and press Enter:
tar -xvf ValtInstall.tar.gz
Install Valt
- Connect to the server via SSH or log in to the teminal
- Type in the following, and press Enter:
cd ValtInstall
- Type in the following, and press Enter:
chmod +x ValtSetup
- Type in the following, and press Enter:
sudo ./ValtSetup
- If prompted enter the password for your user account.
- 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.
- Enter an administrator password for your LDAP directory when prompted.
- Although it will not be used, any password can be entered here, the default password for an IVS Valt Install for LDAP is admin51.
- Confirm the password.
- When prompted, select Yes to save the current IPv4 rules.
- When prompted, select Yes to save the current IPv6 rules.
- When prompted to configure phpMyAdmin, select apache2.
- Select Yes when prompted.
- 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.
- When prompted, Enter the MySQL root password defined earlier in the install.
- When prompted, Enter admin for the email, followed by admin for the password.
- Type in the following, and press Enter to restart the server and complete changes:
sudo reboot
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:
Type in the following, and press Enter:sudo ./Storage
The following steps should be completed only if you have a separate drive (physical or virtual) for storing the video files.
- Type in the following, and press Enter:
sudo lshw -C disk
- 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 in the following, and press Enter:
sudo parted /dev/sdb
- Replace /dev/sdb with the appropriate disk identified in step 2.
- You will now be taken to a GNU Parted prompt
- Type in the following, and press Enter:
mklabel gpt
- Type in the following, and press Enter:
mkpart pri 1 -1
- Type quit and press enter.
- Type in the following, and press Enter:
sudo mkfs -t ext4 /dev/sdb1
- Replace /dev/sdb1 with the appropriate disk identified in step 2.
- Type in the following, and press Enter:
sudo blkid
- This will display the UUIDs for each partition. Note the UUID for the partition you just formatted.
- Type in the following, and press Enter:
sudo nano /etc/fstab
- 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 in the following, and press Enter:
sudo mount -a
- Type in the following, and press Enter:
sudo lsblk
- The results should be similar to the above picture, where sdb1 is mounted under /usr/local/WowzaStreamingEngine-4.0.6/content
- Type in the following, and press Enter:
sudo ./Storage
- Type in the following, and press Enter:
sudo reboot
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.
- 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
- 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 are not prompted for a key:
- Click on the Server tab.
- Click the Edit button.
- 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.
- If you are not prompted for a key:
- Click Save.
- 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.
- 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.
- 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
- 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.