VPC100 Quick Start Guide
Page
34
export GTS_HOME=/usr/local/OpenGTS
Setup mysql JDBC
wget -c
http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.1
8.tar.gz
tar xzvf mysql-connector-java-5.1.18.tar.gz
sudo cp mysql-connector-java-5.1.18-bin.jar $JAVA_HOME/jre/lib/ext/.
sudo ln -s /usr/local/OpenGTS_2.6.0 /usr/local/OpenGTS
Download OpenGTS
:
Download OpenGTS from
http://www.opengts.org/
unzip OpenGTS_2.6.0.zip
sudo cp OpenGTS_2.6.0 /usr/local
Then we
ant
all files and deploy
track.war
file.
ant all
anttrack.war
use tomcat manager to deploy:
(assuming your PC IP address is 192.168.200.150)
http://192.168.200.150:8080/manager/html
deploy path /var/lib/tomcat6/webapps
Initialize OpenGTS database
cd /usr/local/OpenGTS_2.6.0/bin
./initdb.sh -rootUser=root -rootPass=
root
(Note: -rootPass is root password, you can change it if you want)
Create Admin account
./admin.sh Account -account=admin –create
./admin.sh Account -account=admin –edit
./admin.sh Account –list
Setup link
cd /usr/local
sudo ln -s $JAVA_HOME java
sudo ln -s $CATALINA_HOME tomcat
sudo ln -s $GTS_HOME gts
Run Device server
bin/runserver.sh -s gtsdmtp