3rd Party VMS/uVMS/Initial Setup

Revision as of 17:47, 5 November 2018 by JP (talk | contribs) (Prerequisites)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

uVMS Initial Setup

Description

These instructions will show you how to install uVMS, configure IIS, and add a Dahua recorder or IP camera to uVMS.

Prerequisites

  • Windows Server 2008 / 2012 R2 / 2016
  • IIS (Internet Information Services)
  • A Working RTSP URL-Instructions Here
  • Microsoft SQL Server (free or commercial)
  • A copy of uVMS

Step by Step Instructions

SQL Server Setup

1. Download and install Microsoft® SQL Server® 2008 from this link.

UVMS Initial Setup2.png

IIS Setup Part 1

1. Go to Control Panel -> Programs and Features -> Turn Windows features on or off

UVMS Initial Setup3.png

2. Click, "Next"

UVMS Initial Setup4.png

3. Select, "Role-based or feature-based installation" and then, "Next"

UVMS Initial Setup5.png

4. Select your server, and click, "Next"

UVMS Initial Setup6.png

5. Click the box to the left of, "Web Server (IIS)" and then, "Add Features"

UVMS Initial Setup7.pngUVMS Initial Setup9.png

6. Ensure that the following are checked, and click, "Next"

UVMS Initial Setup10.png

7. Ensure that the following are checked, and click, "Next"

UVMS Initial Setup11.png

8. Click, "Install"

UVMS Initial Setup13.png

9. Reboot the server.

uVMS Install

1. Click This Link or navigate your web browser to this page, and click, "uVMS v2.3"

UVMS Initial Setup1.png

2. Create a folder on the desktop called, "uVMS" and extract the contents of, "uVMS.zip" to that folder.

UVMS Initial Setup14.png

3. Double click, "Setup" to begin installing uVMS.

UVMS Initial Setup15.png

4. Click, "Install" and then, "Next"

UVMS Initial Setup17.png

5. Click, "I agree" and then, "Next"

UVMS Initial Setup18.png

6. Select your Site, Virtual Directory, and Application Pool. Then click, "Next"

UVMS Initial Setup19.png

7. Click, "Next"

UVMS Initial Setup20.png

8. Once complete, click, "Close"

UVMS Initial Setup21.png

9. You should see this message when complete:

UVMS Initial Setup22.png

uVMS Modify: HTTP Response Headers

1. Locate your webfolder for uVMS. Example: C:\inetpub\wwwroot\uVMS\

NOTE: This is not usually located under "Program Files" or "Program Files x86"

UVMS Initial Setup23.png

2. Open the folder titled, "HLS" inside that folder should be a file named, "web.config"

UVMS Initial Setup24.png

3. Open, "web.config" with Notepad.

UVMS Initial Setup25.png UVMS Initial Setup26.png

4. Remove either the 5th or 6th line, save the notepad document, and close notepad.

Example 1:

<?xml version="1.0" encoding="UTF-8"?> <configuration>

   <system.webServer>
       <staticContent>
           <mimeMap fileExtension=".ts" mimeType="video/MP2T" />
       </staticContent>
   </system.webServer>

</configuration>

Example 2:

<?xml version="1.0" encoding="UTF-8"?> <configuration>

   <system.webServer>
       <staticContent>
           <mimeMap fileExtension=".m3u8" mimeType="application/x-mpegURL" />
       </staticContent>
   </system.webServer>

</configuration>

Windows Firewall Setup

1. Go to Control Panel -> Windows Firewall

UVMS Initial Setup27.png

2. Select, "Advanced settings"

UVMS Initial Setup28.png

3. Click, "Inbound Rule"

UVMS Initial Setup29.png

4. Click, "New Rule"

UVMS Initial Setup30.png

5. Select, "Port" and click, "Next"

UVMS Initial Setup31.png

6. Select, "TCP" and, "Specific local ports" then input the following: 5119, 5130, 5135, 443, 80, 5120.
Click "Next"

UVMS Initial Setup32.png

7. Select, "Allow the connection" and click, "Next"

UVMS Initial Setup33.png

8. Ensure all 3 boxes are checked, and click, "Next"

UVMS Initial Setup34.png

9. Input a name for the Firewall Rule, and click, "Finish"

UVMS Initial Setup35.png UVMS Initial Setup36.png

IIS Setup Part 2

1. Go to Control Panel -> Administrative Tools -> Internet Information Services (IIS) Manager

UVMS Initial Setup37.png UVMS Initial Setup38.png

2. Expand the server in the Connections list on the left

UVMS Initial Setup39.png

3. Click on "Application Pools", then select "DefaultAppPool", and then select "Advanced Settings..."

UVMS Initial Setup40.png

4. Adjust the following settings:
.NET CLR version: v2.0; Identity: LocalSystem; Idle Time-out (minutes): 0; Maximium Worker Processes: 1; Regular Time Interval (minutes): 0
Click "OK"

UVMS Initial Setup41.png

5. Next, go to "uVMS" under "Sites", then "HLS". Then double-click on "HTTP Response Headers"

UVMS Initial Setup42.png

6. Click on "Set Common Headers..."

UVMS Initial Setup43.png

7. Click the check box for "Expire Web Content" and select "Immediately". Then click "OK"

UVMS Initial Setup44.png

uVMS: First Login & Create Operator

1. Open a web browser and navigate to http://127.0.0.1/uVMS or http://localIPAddress/uVMS and log in with Username "admin", Password "admin"

UVMS Initial Setup45.png

2. Click on "Update Profile"

UVMS Initial Setup46.png

3. Click on "Update Password". Type in "admin" for "Current Password" and then type in a newp password you will remember under "New Password" and "Confirm Password"
Select "Save Changes"

UVMS Initial Setup47.png

4. Click on "New Operator"

UVMS Initial Setup48.png

5. Select either "Operator can record" or "Operator can not record" based on if you want this operator to be able to record video
Fill in the "Username", "Password", "Confirm Password", "First Name", "Last Name", and "Email Address" with the appropriate information for this new Operator account
Select "Register"

UVMS Initial Setup49.png

uVMS: Add Cameras

1. Logout of the administrator account and then log in with the operator account you just created

UVMS Initial Setup50.png

2. Select "New Group". Then give the group a name next to "Name", select who has access under "Allowed Viewers", and select the available stream types under "Player Types"
Select "Save Changes"

UVMS Initial Setup51.png

3. Click on the name of your newly created camera group on the left, then select "New Camera"

UVMS Initial Setup52.png

4. Enter the name of the camera next to "Name", then select "RTSP Camera/Server" from the drop down list
Type in the rtsp stream feed of the camera, for example rtsp://192.168.2.135/cam/realmonitor?channel=1&subtype=1
Input the username and password of the camera in the "Username" and "Password" fields
Select "Save Changes"

UVMS Initial Setup53.png

5. You should see the newly added camera on the list on the right
Select the stream type you want to view by selecting an option under "View Live Stream"
If everything was configured properly, you should see a pop-up window with a live stream of your camera.

UVMS Initial Setup54.png