bst-mug / n2c2

Support code for participation at the 2018 n2c2 Shared-Task Track 1
https://n2c2.dbmi.hms.harvard.edu
Apache License 2.0
6 stars 4 forks source link

Cloud setup #35

Closed michelole closed 6 years ago

michelole commented 6 years ago

Setup

michelole commented 6 years ago

Adding

#Requests from outside
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080
#Requests from localhost
iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 80 -j REDIRECT --to-ports 8080

to /etc/rc.local does the port forwarding trick.

michelole commented 6 years ago

Jenkins is incompatible with JDK9+, downgraded to JDK8.