Git Product home page Git Product logo

activemq-for-cloud-service's Introduction

activemq-for-cloud-service

ActiveMQ messaging service installer for linking the security-cam CCTV NVR and cloud service

This is required when you want to access 1 or more security-cam NVRs through the ActiveMQ version of the Cloud Server. It is not required for direct access to the NVR

Note that this is experimental and has so far been found to be less performant than the original version where the NVRs make a direct socket connection to the Cloud server.

Overview

  • Creates an installer (deb file) for ActiveMQ configured for ssl and authenticated access.

  • SSL certificate and relevant ActiveMQ config files in deb-file-creation/conf.

    • if you want to update the broker certificate, see the ActiveMQ documentation. Note that the client truststores (client.ts) on both the security-cam NVRs and the Cloud server will have to be updated to include the new broker_cert..
    • To change the authentication credentials for ActiveMQ, see this document. The application.]yml files on both the NVRs and on the Cloud Service will need the mqUser and mqPassword parameters changes accordingly to bew able to authenticate on ActiveMQ.
  • ActiveMQ can be run on the same device as the Cloud server or separately. In either case, you must ensure that mqURL on the Cloud server and all relevant NVRs are set to include the correct hostname or IP address.

Build the installer

  • from the project home directory (activemq-for-cloud-service), run ./gradlew buildDebFile. The deb file will be created at the sub directory deb-file-creation. As supplied, this is set for installation on an arm84 Ubuntu 23.10 platform.

Install ActiveMQ

  • Copy the .deb file created by the build to the target machine. The default build is for a Raspberry pi 4 or 5 running Ubuntu 23.10
  • Install with the following command: -
    sudo apt install ./activemq-for-cloud-service_/[version]_arm64.deb
    
    # Where [version] is the relevant version part of the .deb file name.
  • If this is the first installation, a user name and password will be shown towards the end of the installation text. This is a randomly generated password that the NVR and Cloud server must use to connect to ActiveMQ.
    Example: -
    
    ActiveMQ user: cloud
    ActiveMQ password: ueCqt4hxvdRZ5qnx2p0g
    

The credentials generated on initial installation should be noted as they will be required on the Cloud server and any NVRs which are to be accessed through the Cloud server.

activemq-for-cloud-service's People

Contributors

richard-austin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.