javaConductor / gserv

GServ: Framework for SPAs and REST based services.
MIT License
49 stars 9 forks source link

Linux Java install script #2

Closed javaConductor closed 9 years ago

javaConductor commented 10 years ago

Create an install jar and run it on the target machine using java 1.6+. 1) The installer will create a script like: gserv -poolsize 99 -maxHeap 2g So we can set the "mx" flag on the java command

2) Open /etc/environment. Find a PATH value, add the location of the above script.

3) source /etc/environment

javaConductor commented 9 years ago

Created gServInstaller @ https://github.com/javaConductor/gservInstaller