Getting Started
This How-to applies to:
0.1
This How-to is intended for:
End User
First you need to understand how the system is designed to operate. You will first need to set up an axis_recorder process for each camera you want to monitor. (see the axis_recorder project)
Then you will need to ensure that your workstation has an account on the SQL server that the recorder logs information to. In addition you will need an account on a local SQL server that the application can use as a cache.
Typically you will have a database local to the camera, and you will have a database on your workstation, for developmental purposes we use MySQL, although other SQL databases should also work.
On your workstation you will need to create a configuration file under;
~/.config/gambas/axis3.conf
Which will contain the following;
[Camera_1]
camera="1"
[SQLCache]
user="<userid>"
pass="<password>"
host="<hostname or ip>"
type="mysql"
name="axis"
[SQLRemote]
user="<userid>"
pass="<password>"
host="<host or ip>"
type="mysql"
name="axis"
- SQLCache settings will be relative to your LOCAL SQL server.
- SQLRemote settings will be relative to your REMOTE SQL server. (i.e. your axis_monitor server)
Make sure the accounts you have appropriate access, on MySQL the setup would be something like this;
create database axis;
grant all on axis.* to 'axis_user'@'localhost' identified by 'axis_password';
Appropriate tables will be created automatically.
Note that this application is designed to run under the Gnome Tooltray - it is untested under KDE.
