- NWI Tech Support - http://www.nwitechsupport.com -

OpenGTS LiveCD

Posted By tdurbin On November 15, 2011 @ 10:46 am In Linux | 16 Comments

Update – Added some fixes and the like, the new iso can be found in the downloads section or just below.

*All passwords are set to ‘slighPCs‘ by default.

 

OpenGTSlive-0.0.1
11-16-2011

  • added CentOS-6 abrt fix (bug ID 4993 [1])
  • added htop [2](commandline process viewer)
  • added mytop [3](commandline MySQL process viewer configured to watch the ‘gts’ DB)
  • added epel repo (for possible future dependency issues)
  • added ‘boot to install’ methods
  • removed extra OpenGTS files (files left under LIVE_ROOT)
  • removed 10 second timed login
  • re-added 10 second timed login (due to missing Language and Keyboard selection option)

 

OpenGTSlive-0.0.2
11-27-2011

  • added fonts to display all languages properly
  • added OpenGTS Language Selection menu
  • fixed mytop for installed systems
  • reconfigured auto-login timer to 3 minutes (more time for Language/Keyboard selection at login)
  • symlinked OpenGTS logs to /var/log

 

  OpenGTSlive-0.0.3.iso [4] (699.0 MiB, 483 hits)


12-22-2011

  • updated CentOS to 6.1 Final
  • updated OpenGTS to v2.3.9
  • reconfigured OpenGTS to run under the user ‘gts’
  • hard drive install; add Firstboot user to sudoers by default
  • hard drive install; disable screensaver lock by default
  • added a very simple configuration GUI (via yad)

 

We have also added an update script (opengts_0.0.2_update.sh) in the Downloads section to update any previous LiveCD install…

*Apparently the mytop config file didn’t make it’s way over properly. To fix this issue, you can either copy the contents of gtsmytop.txt [5] to the file ~/.mytop (the file will have to be created) or just run the following from a terminal (‘Applications’ > ‘System Tools’ > ‘Terminal’):

wget -O ~/.mytop http://www.nwitechsupport.com/download/69/

wget -O ~/update002.sh http://www.nwitechsupport.com/download/opengts/opengts_0.0.2_update.sh

su (enter your password)

sh update002.sh

 

This is somewhat of  follow-up for the OpenGTS script recently posted, but I figured it deserved it’s own post due to the information I wanted to provide.

You can download the CentOS 6 OpenGTS LiveCD from the downloads section, or just click here [6]. We have aptly named this distro ‘OpenGTS Live’.

What is OpenGTS Live?

OpenGTS Live is a LiveCD running CentOS 6.0 Final with all of the necessary components to successfully operate OpenGTS, as well as phpMyAdmin for low-level OpenGTS database manipulation. This includes native Tomcat6 (v6.0.24), OpenJDK (v1.6.0.0), MySQL-server (v5.1.52), Apache2 (v2.2.15), and phpMyAdmin (v3.4.7) installed from the epel repo, as well as OpenGTS (v2.3.8). Ant (v1.7.1) is also installed to allow rebuilding of the webapps, in case you’d like to add your own custom edits.

The LiveCD is locked down via iptables (firewall) to only allow TCP port 8080 for tomcat (OpenGTS Web Interface), both TCP and UDP port 31000 for OpenDMTP communications (GPS data server transmissions), as well as TCP port 22 for shell access. Of course, to allow successfull communications between device(s) and server you’ll need to map all ports with the exception of ssh (port 22) from your router/firewall to the OpenGTS server.

Here is a run through:

1.) Download and burn the image to CD. While Windows 7 includes a native ISO burning utility, there are plenty of ISO to disk applications for all other flavors… you can refer to this [7] post if you are on one of those other various versions (Windows XP, Vista, etc…).

 

2.) Insert and boot from the CD (either use the Function command for the boot menu or change the boot sequence from within BIOS).

[8]     [9]     [10]

 

3.) Login to the LiveCD (or wait 10 seconds to let the Auto Login take place).

[11]

 

4.) You should now have the system loaded. On the desktop you’ll notice two important icons labeled ‘OpenGTS Web Interface’ as well as ‘phpMyAdmin’. You can also find both shortcuts under ‘Applications’ > ‘Internet’ (top left-hand corner).

[12]     [13]

 

5.) Let’s start by double clicking the ‘OpenGTS Web Interface’ icon on the desktop. You’ll be prompted to login. The Account: is ‘admin’ and the Password: is ‘slighPCs’, leave the User: field blank. Click on ‘Administration’ > ‘Vehicle Admin’ and you’ll notice the user ‘test01′. This ID was specifically setup for the Android application ‘GPS2OpenGTS_free’ [14] for testing purposes.

[15]       [16]    [17]

 

6.) Now we’ll take a look at ‘phpMyAdmin’. You can open the interface from the desktop icon or via ‘Applications’ > ‘Internet’ > ‘phpMyAdmin’. The Username: is ‘root’ and the Password: is ‘slighPCs’ (the same credentials for MySQL). The OpenGTS database was defaultly named ‘gts’.

  [18]      [19]    [20]

 

That about sums it up!

There will be a follow-up post to run through the install process as soon as time permits.

 

If anyone has any suggestions, questions, or comments please let us know!

 

Join the Forum discussion on this post [21]


16 Comments (Open | Close)

16 Comments To "OpenGTS LiveCD"

#1 Comment By Alysson On November 15, 2011 @ 3:07 pm

Com este livecd e possivel fazer a instalação ou ele somente roda atraves do cd? com este cd instalado em uma cpu e possible o uso em empressa com alguns modulos rastreadores alguns veiculos ou este cd e somente para fins de teste?

With this livecd is possible to install and it only runs from the CD? with this cd and installed on a Possible cpu usage at Empress with some vehicles and some modules scanners and this cd only for testing purposes?

#2 Comment By tdurbin On November 15, 2011 @ 3:45 pm

Alysson, I’m not sure I understand your 1st question. Both OpenGTS and phpMyAdmin function properly running live or installed via the desktop installer (hopefully that answers your question). If your wondering the required specs, look [22]. I’ve not used Empress hardware/software so I’m not sure about compatibility. If the devices your considering are running the OpenDMTP protocol… if they are not supported by default, Track.war can be modified to suite your needs. Email me your specifications and I’ll see what I can do for you.

#3 Comment By Christosp On November 29, 2011 @ 5:30 am

Hi,
I am trying to download the 0.0.2 Version of the LiveCD but there must be a problem…. The file is 0 bytes…

Can you please check this?

Regards
Christos

#4 Comment By admin On November 29, 2011 @ 5:32 am

I see… and apologize for the inconvenience, the problem has been rectified.

#5 Comment By victor On December 28, 2011 @ 8:33 am

I download the iso and then i try to burn it in my mac osx using disc util.. but it says file corrupte.. i re download and same thing.. any suggestions?

#6 Comment By tdurbin On December 28, 2011 @ 9:00 am

Hello Victor,
I would test this to verify, but I have no blank CD’s on-hand… A couple of questions for you:
1.) Are you pulling the entire iso (699MB, I’ll post an MD5 as soon as time permits)
2.) What version of OSX are you running… I’m running v10.6.8
3.) What version of Disk Utility are you running… I’m running v11.5.2 (298.4)
4.) Can you mount the iso via DiskImageMounter? (should be the default “Open With” app)

#7 Comment By victor On December 28, 2011 @ 10:58 pm

Hi tdurbin.. Thank you for your time.. it worked when i burned the iso from a different mac…I think my disc util is messed up..anyways i tried and works great.. i will now look for something(instructions) to install this in the hard drive instead of using the live cd.. any suggestions(links on how to) would be greatly appreciated..THanks

#8 Comment By tdurbin On December 29, 2011 @ 12:35 am

Glad to hear you got the iso to burn and all went well. Not so good on the OSX issues…
I’ve been meaning to add an install guide. It’s actually pretty straight forward though. Give it a go by double clicking the icon on the desktop labeled ‘Install to Hard Drive’ and following the prompts. If you’d rather you can initiate an install via boot by hitting Enter during the 10 second count down and arrow down to ‘Install’.
If you have any questions be sure to post back and I’ll do my best to answer them.

#9 Comment By pankaj On February 8, 2012 @ 4:37 am

i installed the OpenGTSlive on the hard disk.
It formatted all the HDD and after it boots fine.
But i am unable to install network card driver.
Pls help

#10 Comment By tdurbin On February 8, 2012 @ 8:25 am

pankaj, Generally CentOS is pretty good at recognizing, installing, and configuring network interfaces automatically.
Is your NIC on-board or an add-on card? Try running lspci |grep Ethernet from a terminal and posting the output.

#11 Comment By pankaj On February 9, 2012 @ 12:18 am

dear tdurbin
I tried lspci |grep Ethernet command
but it don’t show any result.
then i try lspci only
then it shows the hardware information only.
but don’t install the network card.

#12 Comment By humbertomex On February 14, 2012 @ 2:46 pm

first of all congratulations for this script to install and livecd. works great!
I have a question, someone has made ​​changes to the look-and-feel? I would like to make some changes to the template ….
regards

#13 Comment By tdurbin On February 14, 2012 @ 5:58 pm

humbertomex, thanks for the kind words… it’s always good to hear feedback.
I believe there were minor changes that effected the web template. You can find them in the install script.
If you have any requests, now’s the time to let me know as I plan on implementing the latest version (v2.40) as soon as time permits.

#14 Comment By humbertomex On February 15, 2012 @ 9:05 pm

tdurbin, we are very aware of the changes in your livecd or installation script that you have prepared opengts.

I congratulate you again for giving all of your time with these works that we know are long hours of sleepless nights!

#15 Comment By pankaj On February 18, 2012 @ 2:56 am

[23]
I have contacted this above mentioned device manufaturerer devices.
What devices does it support.

#16 Comment By tdurbin On February 18, 2012 @ 7:40 am

pankaj, it looks to me like the system your referring to is utilizing Silverlight… which would run under ASP.net framework/IIS server, I believe. I have no experience with Microsoft’s way of life in this department, but the links below may point you in the right direction:
[24]
[25]


Article printed from NWI Tech Support: http://www.nwitechsupport.com

URL to article: http://www.nwitechsupport.com/2011/11/15/opengts-livecd/

URLs in this post:

[1] bug ID 4993: http://bugs.centos.org/view.php?id=4993

[2] htop : http://htop.sourceforge.net/

[3] mytop : http://jeremy.zawodny.com/mysql/mytop/

[4] OpenGTSlive-0.0.3.iso: http://www.nwitechsupport.com/download/opengts/OpenGTSlive-0.0.3.iso

[5] gtsmytop.txt: http://www.nwitechsupport.com/download/69/

[6] here: http://www.nwitechsupport.com/download/67/

[7] this: http://www.nwitechsupport.com/2010/01/06/how-to-burn-an-iso-file-to-cd-from-within-windows/

[8] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdBoot.png

[9] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdBootMenu.png

[10] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdSplashScreen.png

[11] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdAutoLogin.png

[12] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdDesktop.png

[13] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdApplications.png

[14] ‘GPS2OpenGTS_free’: http://www.google.com/url?sa=t&rct=j&q=GPS2OpenGTS_free&source=web&cd=1&ved=0CB8QFjAA&url=https%3A%2F%2Fmarket.android.com%2Fdetails%3Fid%3Dcom.wiebej.gps2opengtsfree%26hl%3Den&ei=u5HCTtjTLIjO2wXZ7szWDg&usg=AFQjCNHHN-yaB-5OOMCFCOR3BNVpqfULGQ

[15] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdGTScredentials.png

[16] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdWebInterfaceHome.png

[17] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdGTSvehicleID.png

[18] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdPhpMyAdminLogin.png

[19] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdPhpMyAdminHome.png

[20] Image: http://www.nwitechsupport.com/wp-content/uploads/2011/11/LivecdPhpMyAdminGTSDB.png

[21] Join the Forum discussion on this post: http://www.nwitechsupport.com/forum/?mingleforumaction=viewtopic&t=3

[22] : http://www.opengts.org/FAQ.html#faq_systemReq

[23] : http://en-gps.bsjkj.com/

[24] : http://www.codersource.net/asp-net/silverlight/gps-tracking-system-in-silverlight.aspx

[25] : http://www.vazhikaatti.net/products.aspx

Copyright © 2010 NWI Tech Support. All rights reserved.