Axis Ubuntu Getting Started

Video hosting system

Advertisement

Quick Links

Getting Started – Ubuntu
AXIS Video Hosting System

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Ubuntu and is the answer not in the manual?

Questions and answers

Summary of Contents for Axis Ubuntu

  • Page 1 Getting Started – Ubuntu AXIS Video Hosting System...
  • Page 2 Liability Every care has been taken in the preparation of this document. Please inform your local Axis office of any inaccuracies or omissions. Axis Communications AB cannot be held responsible for any technical or typographical errors and reserves the right to make changes to the product and manuals without prior notice.
  • Page 3: Table Of Contents

    6.2 Troubleshooting FAQ ......... . 6.3 Resetting to factory default — Axis products ..... .
  • Page 4: Introduction

    This document, intended for video hosting providers, describes how to install, configure and get started with AXIS Video Hosting System (AVHS). This document is intended for AVHS installation on 64-bit Ubuntu server 14.04 LTS. For installation on Red Hat Enterprise Linux, refer to the document Getting Started — Red Hat.
  • Page 5: Software Requirements And Recommendations

    1.3 Software requirements and recommendations The AVHS portal and this guide is intended for use on a Ubuntu server 14.04 LTS operating system with 64-bit support. Axis has tested the Ubuntu Linux distribution and Red Hat Enterprise Linux, which are all known to work well with the AVHS application.
  • Page 6: Ports

    Getting Started – Ubuntu 1 Introduction 1.4 Ports The table below lists all the ports used by various applications in the AVHS system and can be used to set IP filters in the system. Note that, the ports shown here are example values only.
  • Page 7: Network Setup

    Server reports from the admin GUI. • Two way audio. • PTZ joystick from the new GUI. • Motion detection preview image in the classic GUI. • Image preview for AXIS Camera Application Platform (ACAP) configuration in the classic GUI.
  • Page 8: System Setup

    This chapter provides instructions for installation and configuration of the applications required by the AVHS portal. The process described below is for installation on Ubuntu Server 14.04 LTS. This installation was performed on a "clean" x86_64 machine, that is the installation was started by installing the Ubuntu operating system, which is available from www.ubuntu.com 2.1 Preparations...
  • Page 9: Configure Log Rotation

    The instructions provided here rely on the installation of specific versions of various applications and systems; MySQL, Apache2, PHP5, etc. Following these instructions will ensure the correct versions are installed. The instructions provided below apply to Ubuntu. 2.5.1 Install MySQL Install the required MySQL components and set the password.
  • Page 10 Getting Started – Ubuntu 2 System setup First edit the file /var/lib/locales/supported.d/local to include the needed locales. A complete list of supported locales can be found in the file /usr/share/i18n/SUPPORTED. Default language for AVHS is US English; the installation package also includes a Swedish translation. Include these two locales, i.e.
  • Page 11: Install And Build Gstreamer

    Getting Started – Ubuntu 2 System setup % mv server.* /home/sts/etc/ssl/ % exit 2.6 Install and build GStreamer GStreamer is needed to convert media files between different formats in the AVHS system. Note • Download of build dependencies requires approximately 600 MB on system disks (var).
  • Page 12 Getting Started – Ubuntu 2 System setup <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 </Location> </IfModule> Important It is recommended to consider the directives ServerTokens and ServerSignature and set values suitable for your setup.
  • Page 13: Set Up The Avhs Portal

    Getting Started – Ubuntu 3 Set up the AVHS portal 3 Set up the AVHS portal Having installed and configured all required applications (see 2 System setup on page 8 ), it is now time to set up the AVHS portal.
  • Page 14: System Startup

    Getting Started – Ubuntu 3 Set up the AVHS portal Important • The database setup script setup_db.php finishes by displaying the password for the MASTERADMIN account. Don’t forget to make a note of this password! • The ST server setup script setup_stserver.php will generate a Certificate Authority (CA), unless a CA has been configured earlier.
  • Page 15 Getting Started – Ubuntu 3 Set up the AVHS portal Server Watchdog bin/server_watchdog.php Checks that the servers (web server, ST server and media server) are up and running. To determine if a server is available or not, an HTTP request is sent to the server.
  • Page 16 Getting Started – Ubuntu 3 Set up the AVHS portal Note The ST server should be started after the web server, since the ST server uses the web server for registration. 3.3.5 Start the media servers Copy the media proxy startup script to /etc/init.d/ and link it to the system’s default run level: # cd /etc/init.d/...
  • Page 17: Adding Devices To The System

    When a device containing AVHS firmware is connected to the Internet it will first connect to a dispatcher, which is a service maintained by Axis Communications AB. When registering the device at the AVHS portal, the portal contacts the dispatcher and asks for the device.
  • Page 18: Upgrade A Firmware 4.Xx Product

    Also available from the AVHS web page are special firmware files known as example firmware. These files are intended for limited testing only and should only be used in cases where you for example need to test on a closed network and the Axis product cannot connect to the Internet.
  • Page 19: No Dhcp Server

    Depending on the firmware version, the default index page can be accessed a few minutes from when the device was started. To discover the device on your local network, use e.g. broadcast ping and arp, or download AXIS IP Utility from www.axis.com...
  • Page 20: Configure The System

    5.1 Dispatcher configuration Devices with AVHS firmware uses Axis dispatcher service to connect to your AVHS system. In order to take control of the devices belonging to your system, your ST servers must be able to contact the dispatcher servers.
  • Page 21: Troubleshooting

    Getting Started – Ubuntu 6 Troubleshooting 6 Troubleshooting 6.1 Status LED error indications When an AVHS-enabled device fails to connect to the ST server or dispatcher, the device’s Status LED indicator flashes to indicate the problem: Indication Problem Host or net unreachable. Most likely reasons: no connection to the router, no DHCP server, user not 1 amber/off flash logged in to the Internet, the ISP only has a limited number of IP addresses available.
  • Page 22 Getting Started – Ubuntu 6 Troubleshooting No web access, “zero sized reply” Verify the existence of the log file directory. The default is/home/sts/current/logs/ (scripts die with no output) Check that the log files are rotated correctly. If they reach 2 GB, applications will stop working.
  • Page 23: Resetting To Factory Default - Axis Products

    AddHandler in 2.7 Configure Apache on page 11 . 6.3 Resetting to factory default — Axis products If the Axis product needs to be reset to factory default, follow these steps: Products with no restart or power button 1. Disconnect power.
  • Page 24 Getting Started – Ubuntu 6 Troubleshooting 3. Keep the Control button pressed for about 15 seconds until the Status indicator flashes amber. 4. Release the Control button. The process is complete after about 1 minute (when the Status indicator turns green). The product has been reset to the factory default settings.
  • Page 25: What's Next

    7.1 Provider status During your testing period you will be operating as a “demo” provider. To become a trusted AVHS provider you will need your own partner account which Axis will create for you. Please contact Axis for further details.
  • Page 26 AXIS Video Hosting System Ver. M7.3 Getting Started – Ubuntu Date: June 2015 © Axis Communications AB, 2008 - 2015 Part No. 1479547...

Table of Contents