The misc/hmdm-server port
hmdm-server-5.38.1 – mobile device management server (cvsweb github mirror)
Description
Headwind MDM - a platform for corporate Android applications Headwind MDM is a Mobile Device Management platform for Android devices, designed for corporate app developers and IT managers. Features - Enrollment to Android 7+ devices through scanning a QR-code - Work in "Application mode" without enrollment - Customize the mobile desktop design and available applications - Automatic deployment of applications through the web panel - Mobile device management: groups, configurations, device status - Setup the available mobile device capabilities (GPS, Wi-Fi, Bluetooth etc.) - Manage the automatic OS update mode on the mobile device - Extensible platform design allowing the custom plugin development - Collection of application logs in the web panel - Centralized configuration of corporate applicationsWWW: https://h-mdm.com/
Readme
+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------
Setup PostgreSQL Database
=========================
# psql -U postgres
CREATE USER hmdm_user WITH PASSWORD 'secret';
CREATE DATABASE hmdm WITH OWNER=hmdm_user;
\q
Deploy WAR and Context
======================
# cp ${TRUEPREFIX}/share/hmdm-server/ROOT.war /var/tomcat/webapps/
# doas -u _tomcat mkdir -p /etc/tomcat/Catalina/localhost/
# cp ${TRUEPREFIX}/share/examples/hmdm-server/ROOT.xml \
${SYSCONFDIR}/tomcat/Catalina/localhost/
Tune ROOT.xml for your needs. At minimum you need to set the database
password for the user created above.
Start Tomcat
$ doas rcctl start tomcat
Access at http://localhost:8080
User: admin
Password: admin
Note:
ROOT.war/ROOT.xml assume you want to run h-mdm at the root
(http://localhost:8080). You can change the names to run at different context.
For example changing ROOT.war/ROOT.xml to hmdm.war/hmdm.xml will run at
http://localhost:8080/hmdm.
Reverse Proxy
=============
To run behind a reverse proxy such as relayd(8) or nginx, you'll need to do the
following:
Under the localhost Host in /etc/tomcat/server.xml add a Valve
Then update ROOT.xml and change the base.url to the public IP of your proxy.
Maintainer
Chaz Kettleson
Only for arches
aarch64 amd64 i386
Categories
Run dependencies
Files
- /usr/local/share/doc/pkg-readmes/hmdm-server
- /usr/local/share/examples/hmdm-server/
- /usr/local/share/examples/hmdm-server/ROOT.xml
- /usr/local/share/examples/hmdm-server/emails/
- /usr/local/share/examples/hmdm-server/emails/en/
- /usr/local/share/examples/hmdm-server/emails/en/recovery_body.txt
- /usr/local/share/examples/hmdm-server/emails/en/recovery_subj.txt
- /usr/local/share/examples/hmdm-server/emails/ru/
- /usr/local/share/examples/hmdm-server/emails/ru/recovery_body.txt
- /usr/local/share/examples/hmdm-server/emails/ru/recovery_subj.txt
- /usr/local/share/examples/hmdm-server/hmdm-server_init.en.sql
- /usr/local/share/examples/hmdm-server/log4j-hmdm-server.xml
- /usr/local/share/hmdm-server/
- /usr/local/share/hmdm-server/ROOT.war
- /var/tomcat/work/hmdm-server/
- /var/tomcat/work/hmdm-server/emails/
- /var/tomcat/work/hmdm-server/emails/en/
- /var/tomcat/work/hmdm-server/emails/en/recovery_body.txt
- /var/tomcat/work/hmdm-server/emails/en/recovery_subj.txt
- /var/tomcat/work/hmdm-server/emails/ru/
- /var/tomcat/work/hmdm-server/emails/ru/recovery_body.txt
- /var/tomcat/work/hmdm-server/emails/ru/recovery_subj.txt
- /var/tomcat/work/hmdm-server/files/
- /var/tomcat/work/hmdm-server/hmdm-server_init.en.sql
- /var/tomcat/work/hmdm-server/log4j-hmdm-server.xml
- /var/tomcat/work/hmdm-server/logs/
- /var/tomcat/work/hmdm-server/plugins/