Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| projects:mdm [2020/12/04 08:27] – igor | projects:mdm [2022/03/10 09:19] (current) – [gestione app] sscipioni | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== mobile device management (MDM) ====== | ===== mobile device management (MDM) ====== | ||
| + | |||
| + | ==== gestione app ==== | ||
| + | |||
| + | * https:// | ||
| + | |||
| + | scaricare apk o xapk da https:// | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | caricare su gianomdm il package | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | assegnare il package al gruppo di test, ad esempio ' | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | successivamente, | ||
| + | |||
| + | {{ : | ||
| + | ==== intro ==== | ||
| + | |||
| Sito di riferimento: | Sito di riferimento: | ||
| + | Focal (20.04) install per default Tomcat9 | ||
| + | https:// | ||
| + | |||
| + | Le credenziali di Postgres e del portale sono nella macchina alla posizione: | ||
| + | |||
| + | |||
| + | Accesso portale comune di Verona: https:// | ||
| + | utente: admin | ||
| + | password: eur... | ||
| ==== Installazione server ==== | ==== Installazione server ==== | ||
| <code bash> | <code bash> | ||
| ubuntu@h-mdm: | ubuntu@h-mdm: | ||
| - | ubuntu@h-mdm: | + | ubuntu@h-mdm: |
| - | ubuntu@h-mdm: | + | ubuntu@h-mdm: |
| - | ubuntu@h-mdm: | + | ubuntu@h-mdm: |
| - | ubuntu@h-mdm: | + | ubuntu@h-mdm: |
| </ | </ | ||
| + | |||
| + | === tomcat9 === | ||
| + | |||
| + | La versione di Tomcat 9.0.31 sembra abbia problemi con l' | ||
| + | |||
| + | <code bash> | ||
| + | VERSION=9.0.40 | ||
| + | wget https:// | ||
| + | tar -zxf apache-tomcat-${VERSION}.tar.gz | ||
| + | cd apache-tomcat-${VERSION} | ||
| + | chmod a+x bin | ||
| + | chmod a+x lib | ||
| + | chmod -R a+r bin | ||
| + | chmod -R a+r lib | ||
| + | chmod a+x bin/*.sh | ||
| + | systemctl stop tomcat | ||
| + | systemctl stop tomcat9 | ||
| + | mv / | ||
| + | mv / | ||
| + | cp -r bin / | ||
| + | cp -r lib / | ||
| + | systemctl start tomcat9 | ||
| + | systemctl status tomcat9 | ||
| + | |||
| + | curl -I http:/ | ||
| + | | ||
| + | </ | ||
| + | |||
| === Preparazione database === | === Preparazione database === | ||
| Line 56: | Line 134: | ||
| If the directory doesn' | If the directory doesn' | ||
| ##### FOR TOMCAT 9, USE SANDBOXED DIR: / | ##### FOR TOMCAT 9, USE SANDBOXED DIR: / | ||
| + | ### La propone già lui, evidentemente testa la versione ### | ||
| - | Headwind MDM directory [/opt/hmdm]: /opt/hmdm | + | Headwind MDM directory [/var/lib/ |
| Web application setup | Web application setup | ||
| Line 65: | Line 144: | ||
| Protocol (http|https) [http]: http | Protocol (http|https) [http]: http | ||
| - | Domain name or public IP (e.g. example.com): | + | Domain name or public IP (e.g. example.com): |
| - | Port (leave empty for default ports 80 or 443): 8080 | + | ### Ho lasciato vuoto come scritto, per abilitare la porta 80, ma l'ha messa lo stesso sulla 8080 ### |
| + | Port (leave empty for default ports 80 or 443): | ||
| Project path on server or ROOT [/hmdm]: /hmdm | Project path on server or ROOT [/hmdm]: /hmdm | ||
| Tomcat virtual host [localhost]: | Tomcat virtual host [localhost]: | ||
| Ready to install! | Ready to install! | ||
| - | Location on server: /opt/hmdm | + | Location on server: /var/lib/ |
| - | URL: http://mdm.csgalileo.org:8080/hmdm | + | URL: http://android.giano.comune.verona.it/hmdm |
| Is this information correct [Y/n]? Y | Is this information correct [Y/n]? Y | ||
| - | + | Tomcat config file created: /var/lib/tomcat9/ | |
| - | Tomcat config file created: /var/lib/tomcat8/ | + | Deploying hmdm-3.31.4-os.war to Tomcat: /var/lib/tomcat9/ |
| - | Deploying hmdm-3.30.1-os.war to Tomcat: /var/lib/tomcat8/ | + | .................. |
| - | ............................ | + | |
| Deployment successful, initializing the database... | Deployment successful, initializing the database... | ||
| Line 83: | Line 162: | ||
| Headwind MDM has been installed! | Headwind MDM has been installed! | ||
| To continue, open in your web browser: | To continue, open in your web browser: | ||
| - | http://mdm.csgalileo.org:8080/hmdm | + | http://android.giano.comune.verona.it/hmdm |
| - | Login: admin:admin | + | |
| </ | </ | ||
| - | Entrato ho cambiato la password di admin in Euro... | + | Entrato ho cambiato la password di admin |
| Il pushing dei messaggi (se si seleziona MQTT) ha bisogno della porta '' | Il pushing dei messaggi (se si seleziona MQTT) ha bisogno della porta '' | ||
| Line 93: | Line 171: | ||
| < | < | ||
| - | IP_PRIVATO | + | IP_PRIVATO |
| </ | </ | ||
| Line 103: | Line 181: | ||
| </ | </ | ||
| - | l'MQTT è impostato correttamente. Ad ogni modo la configurazione di questo bind è in ''/ | + | l'MQTT è impostato correttamente. Ad ogni modo la configurazione di questo bind è in ''/ |
| <code xml> | <code xml> | ||
| Line 109: | Line 187: | ||
| < | < | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ==== Troubleshooting ==== | ||
| + | |||
| + | If the QR code icon in the configurations list has been vanished and is not working any more: | ||
| + | * Open the configuration details, "MDM settings" | ||
| + | |||
| + | |||
| ==== Client ==== | ==== Client ==== | ||
| - | Entrato nel telefono senza registrarsi a google o altro account. | + | In https:// |
| - | Aperto chrome e andato su https:// | + | |
| + | * Fare tap 7 volte sulla schermata iniziale | ||
| + | * Configurare il wifi | ||
| + | * Fare lo scan del QR-COde (il telefono si scarica i pacchetti necessari autonomamente e presenta la schermata dello scanner) | ||
| + | * L' | ||
| + | * Assegnare i permessi che chiede | ||
| + | * Inserire l'ID del device (che nella pagina del barcode presentata dal server è in basso in una textbox) | ||
| - | Scaricato l'apk Android application (launcher) | ||
| - | seguito istruzioni in https://h-mdm.com/ | + | Quando ho finito ho cliccato su home (O) e mi ha chiesto se volevo confermare |
| - | Come server Url ho dato http:// | ||
| - | Quando ho finito ho cliccato du home (O) e mi ha chiesto | + | La registrazione è a buon fine se il pallino è verde sotto '' |
| - | Dopo di che il pallino verde è apparso | + | Premere sulla terza icona a dx (un simbolo |