0 Bewertungen0% fanden dieses Dokument nützlich (0 Abstimmungen)
19 Ansichten2 Seiten
This document provides steps to install OpenGTS 2.3.9 on an Ubuntu Server 10.04 system including installing dependencies, configuring MySQL to listen remotely, deploying the OpenGTS WAR file, and creating initial administrator accounts. It also describes how to start the OpenGTS server on a specific port for a device type.
This document provides steps to install OpenGTS 2.3.9 on an Ubuntu Server 10.04 system including installing dependencies, configuring MySQL to listen remotely, deploying the OpenGTS WAR file, and creating initial administrator accounts. It also describes how to start the OpenGTS server on a specific port for a device type.
This document provides steps to install OpenGTS 2.3.9 on an Ubuntu Server 10.04 system including installing dependencies, configuring MySQL to listen remotely, deploying the OpenGTS WAR file, and creating initial administrator accounts. It also describes how to start the OpenGTS server on a specific port for a device type.
-edit./admin.sh Account -listStep 20.Some other links :)cd /usr/localln -s $JAVA_HOME javaln -s $CATALINA_HOME tomcatln -s $GTS_HOME gtsStep 21.And then start server with support for TK10x devices at port 31272 (example)./runserver.sh -p 31272 -s tk10x -iNow little add. "runserver.sh can be copied as different servers (for tk10x, etc...) and can be configured inside the file (port and device).Also i've add at the top of this file this two command lines.export GTS_HOME=/usr/local/OpenGTS_2.3.9/export JAVA_HOME=/usr/lib/jvm/java-6-sunso my file start like this#!/bin/bash# -----------------------------------------------------------------------------# Project: OpenGTS - Open GPS Tracking System# URL : http://www.opengts.org# File : runserver.sh# -----------------------------------------------------------------------------# Device Parser Server Startup# Valid Options:# -s <server> : server name# -p <port> : [optional] listen port
runserver.sh -s <server> -p 31000 -i# -----------------------------------------------------------------------------export GTS_HOME=/usr/local/OpenGTS_2.3.9/export JAVA_HOME=/usr/lib/jvm/java-6- sun[.....]STEP XXX. Do this step when reconfigure your server. (edit private.xml etc....)ant trackcp /usr/local/OpenGTS_2.3.9/build/track.war /usr/local/tomcat/webapps/.STEP YYY.Do this step if you have only OpenGTS server and no other sites, or you don't have some control panel.cd /var/wwwpico index.phpAND PASTE this code.<?phpHeader( "HTTP/1.1 301 Moved Permanently" );Header( "Location: http://website.com:8080/track/Track" );?>I hope this solution is helpful, and please forgiveme for my english (of some errors).Also my linux skills are not excelent.If someone have recommends to make some changes i will edit this post.
Best regards:Petar Milenovadmin@gpstrack.tkSpecial thx to:Martin FlynnOpenGTS Dev
Staff
Ubuntu Server 10.04 Lucid - OpenGTS 2.3.9 InstallationFirst of all we install
Ubuntu server only with SSHserver only !!!sudo passwd rootenter root password then login with root.I will use "pico" as editor.Step 1.pico /etc/network/interfaces# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).# The loopback network interfaceauto loiface lo inet loopback# The primary network interface (and make static ipnetwork mine look like this)auto eth0iface eth0 inet staticaddress 192.168.1.10netmask 255.255.255.0network 192.168.1.0broadcast 192.168.1.255gateway 192.168.1.1 Step 2.CTRL+Q (y) and restart network /etc/init.d/networking restart
Step 3.It's good to edin and hosts filepico /etc/hosts127.0.0.1
localhost.localdomain localhost192.168.1.10 gps.server.com gps# The following lines are desirable for IPv6 capable hosts::1 localhost ip6-localhost ip6-loopbackfe00::0 ip6-localnetff00::0 ip6-mcastprefixff02::1 ip6-allnodesff02::2 ip6-allrouters Step 4.This can be skipped if you don't know what you do. echo gps.server.com > /etc/hostname/etc/init.d/hostname restarthostnamehostname -fStep 5.Now we make update and safe upgrade.aptitude updateaptitude safe-upgraderebootStep 6.I don't like apparmor and recommend you to be disabled & removed/etc/init.d/apparmor stopupdate-rc.d -f apparmor removeaptitude remove apparmor apparmor-utilsStep 7.Now install some pkg. that will need later :) (All
in one line)aptitude install binutils cpp fetchmail flex gcc libarchive-zip-perl
libc6-dev libcompress-zlib-perllibdb4.6-dev libpcre3 libpopt-dev lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++ build-essentialStep 8.MYSQLaptitude install mysql-server mysql-client libmysqlclient16-devBecause i use remote access and want my SQL serverto listen at all interfacess we edit mysql configfile.pico /etc/mysql/my.cnf[...]## Instead of skip-networking the default is now tolisten only on# localhost which is more compatible and is not less secure.#bind-address = 127.0.0.1[...]/etc/init.d/mysql restartnetstat -tap | grep mysqlyou will see something like thistcp 0 0 *:mysql *:*LISTEN 624/mysqldStep 9.APACHE/PHP5/etc....
Kali Linux - An Ethical Hacker's Cookbook - Second Edition: Practical recipes that combine strategies, attacks, and tools for advanced penetration testing, 2nd Edition
Java Professional Interview Guide: Learn About Java Interview Questions and Practise Answering About Concurrency, JDBC, Exception Handling, Spring, and Hibernate
React.js for A Beginners Guide : From Basics to Advanced - A Comprehensive Guide to Effortless Web Development for Beginners, Intermediates, and Experts
Windows Server 2019 Administration Fundamentals - Second Edition: A beginner's guide to managing and administering Windows Server environments, 2nd Edition