-
Notifications
You must be signed in to change notification settings - Fork 0
Installing JQM
jackpay edited this page Jan 29, 2020
·
6 revisions
Specific documentation for this version can be found here.
https://jqm.readthedocs.io/en/jqm-all-2.2.1
wget https://github.com/enioka/jqm/releases/download/jqm-all-2.2.1/jqm-2.2.1.tar.gz
(e.g. ~/Documents/jqm)
tar xvf jqm-2.2.1.tar.gz
Edit and add these lines to your bash_profile or similar.
export JQM_ROOT='<PATH-TO-JQM>/jqm-2.2.1'
export PATH=JQM_ROOT/bin:$PATH
- Open file
$JQM_ROOT/conf/resources.xml. - Comment out all except the postgres 'resource' configuration.
- Install the latest postgres JDBC driver.
- Download from here
https://jdbc.postgresql.org/download.html. - Add JDBC driver to
$JQM_ROOT/ext.
- Login to postgres as postgres.
psql -U postgres
- Run the following:
create database jqm template template1;
create user jqm with password 'jqm';
grant all privileges on database jqm to jqm;
- Most operations are communicated to JQM either using the provided
jqm.shscript or the Admin console (described below). - Nodes are created in JQM using the call
./jqm.sh createnode. - To specify the name of the node the global variable
JQM_NODEmust be set (otherwise a default name is used, which is typically the current user login-name).
export JQM_NODE=<NODE_NAME>
./jqm.sh createnode