Last change
on this file since 868 was 868, checked in by jts21, 10 years ago |
Tidy up scripts and add UDPTunnel jar, so tunnelling frameserver shouldn't require any more setup than modifying the config file (see the readme)
|
File size:
988 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | # If you don't have public-key authentication set up for your SSH login,
|
---|
4 | # You won't be able to use this script, because the SSH connections won't be able to login automatically
|
---|
5 | # So either set up public-key authentication, or you can manually start every SSH tunnel and login
|
---|
6 |
|
---|
7 | # You should change the username and hostname to your own username and the hostname of your server
|
---|
8 | username=jts21
|
---|
9 | hostname=toro.cms.waikato.ac.nz
|
---|
10 | # You should change the port to the port of your server (leave it at 3000 if not sure)
|
---|
11 | port=3000
|
---|
12 |
|
---|
13 | # ----------------------------------------------------#
|
---|
14 | # NOTHING BELOW THIS POINT SHOULD NEED TO BE MODIFIED #
|
---|
15 | # ----------------------------------------------------#
|
---|
16 |
|
---|
17 | # get the offseted port values
|
---|
18 | frameserverPort=$port
|
---|
19 | framesaverPort=$((port+1))
|
---|
20 | messagePort=$((port+2))
|
---|
21 | infserverPort=$((port+3))
|
---|
22 | infupdatePort=$((port+4))
|
---|
23 | imageserverPort=$((port+5))
|
---|
24 | imagesaverPort=$((port+6))
|
---|
25 |
|
---|
26 | # get the jar file for UDPTunnel
|
---|
27 | jarFile=$(dirname $0)/../UDPTunnel.jar
|
---|
Note:
See
TracBrowser
for help on using the repository browser.