https://github.com/richard-austin/activemq-for-cloud-service
ActiveMQ messaging service installer for linking the security-cam CCTV NVR and cloud service
https://github.com/richard-austin/activemq-for-cloud-service
activemq activemq-message-broker dpkg
Last synced: 6 months ago
JSON representation
ActiveMQ messaging service installer for linking the security-cam CCTV NVR and cloud service
- Host: GitHub
- URL: https://github.com/richard-austin/activemq-for-cloud-service
- Owner: richard-austin
- License: apache-2.0
- Created: 2023-12-10T15:41:10.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-02T17:33:57.000Z (over 1 year ago)
- Last Synced: 2025-02-14T15:18:14.207Z (8 months ago)
- Topics: activemq, activemq-message-broker, dpkg
- Language: Shell
- Homepage:
- Size: 50.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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: -
```bash
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.
```agsl
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.