Running OpenTele on an ASUS Tinkerboard

This page will be updated on the fly with my experiments to make OpenTele run on an Asus Tinkerboard.

  1. Install Tomcat 7
    $ sudo apt install tomcat7
    ...
    $
    
    
  2. Install MySql (5.x)
    $ sudo apt install mysql
    
    <You will be prompted to choose a root password, choose it wisely>
  3. Configure the MySQL database
    <Log into SQL>
    $ mysql -u root -p
    <Use the password you created above when prompted>
    
    <Now create a database for OpenTele>
    mysql> create database opentele character set utf8;
    
    <Create a user for the OpenTele database, substitute your own username and password>
    mysql> GRANT SELECT, INSERT, UPDATE, CREATE, DELETE, DROP, ALTER, INDEX ON opentele.* TO 'username'@'localhost' IDENTIFIED BY 'password';
    
    <Make sure your entries are taking effect>
    mysql> FLUSH privileges;
    
    <Exit MySql>
    mysql> quit
    $
  4. Create configuration files for OpenTele
    $ cd /usr/share/tomcat7
    ...$ sudo mkdir .opentele
    ...$ cd .opentele
    <Cut'n'paste the following into a file called "clinician.properties", remember to use the username/password you used when creating the opentele user above>
    
    ---begin clinician.properties---
    # Common settings
    dataSource.pooled = true
    dataSource.logSql = true
    
    ## MYSQL DB
    dataSource.dialect = org.opentele.server.core.util.MySQLInnoDBDialect
    dataSource.driverClassName = com.mysql.jdbc.Driver
    dataSource.username = username
    dataSource.password = password
    dataSource.url = jdbc:mysql://localhost:3306/opentele
    ---end clinician.properties---
    
    <Now you can copy this file into a new one, or just create it from scratch (There are two servers, one for the clinicians and one for the citizens, they both need a configuration file>
    $ sudo cp clinician.properties citizen.properties
  1. *TODO* Configure Tomcat so it can run
  2. *TODO* Add the opentele “binaries” (.war file for Tomcat)
  3. *TODO* Verify basic operation of the system

Advanced features

6. *TODO* Setup the Tinkerboard as a Wifi hotspot
7. *TODO* Add Apache and an Android package with the client sw

^__^
Mike

Leave a Reply

Your email address will not be published. Required fields are marked *

five + two =