VIVOTEK
User's Manual - 117
The untarred folder mvaas_easyinstall/ should contain the following:
•
configuration: the main installation script
- ./configure install : install command
• Required system root privilege
• Press y or [ENTER] during installation to allow
- ./configure uninstall : uninstall command
•
config: the configuration file for server installation
- isEC2: Set it to 1 if you are operating with AWS EC2 with a public IP. Otherwise, keep
this argument as 0.
- The other items under [mongodb] are optional for user to change the mongodb
account and password.
The command line execution look like the following:
$ ls
mvaas_ezinstall.tar.gz
$ tar -zxf mvaas_ezinstall.tar.gz
$ cd mvaas_easyinstall
$ vi config
…
isEC2=1
…
$ sudo ./configure install
...
Press [ENTER] to allow …
….
Are you sure to install packages .. [y/N] ? Y
…
You should then verify the execution results:
// following commands should all has one result ( exactly one running process)
$ ps aux | grep register | grep -v ‘grep’
$ ps aux | grep relay | grep -v ‘grep’
$ ps aux | grep mongod | grep -v ‘grep’
$ ps aux | grep supervisord | grep -v ‘grep’
$ ps aux | grep openvpn | grep -v ‘grep’
$ ps aux | grep redis-server | grep -v ‘grep’
// check the logs of connections for serives and the devices
$ vi ${HOME}/register/log
$ vi ${HOME}/relay/log
// besides, you can setup your cameras to connect to this server and open a browser
to connect to the portal server.