-
Notifications
You must be signed in to change notification settings - Fork 1
Installation Guide
Pradeeban Kathiravelu edited this page Nov 1, 2018
·
1 revision
In this page, we will discuss installing MEDIator on CentOS.
yum install wget
cd /opt
sudo wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jdk-8u25-linux-x64.tar.gz"
sudo tar xvf jdk-8u25-linux-x64.tar.gz
sudo chown -R root: jdk1.8.0_25
export JAVA_HOME=/opt/jdk1.8.0_25/
export PATH=$JAVA_HOME/bin:$PATH
wget http://mirror.cc.columbia.edu/pub/software/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
sudo tar xzf apache-maven-3.0.5-bin.tar.gz -C /usr/local
cd /usr/local
sudo ln -s apache-maven-3.0.5 maven
sudo vi /etc/profile.d/maven.sh
export M2_HOME=/usr/local/maven
export PATH=${M2_HOME}/bin:${PATH}
sudo yum install git
git clone git@github.com:sharmalab/MEDIator.git
cd MEDIator
mvn package
sh modules/mediator-webapp/target/bin/webapp
with nohup
nohup sh modules/mediator-webapp/target/bin/webapp > nohup.out &
To view the logs
tail -f nohup.out
Go to http://localhost:<EMBEDDED_TOMCAT_PORT>/ using your browser.
java -classpath lib/core-1.0-SNAPSHOT.jar:lib/*:conf/ edu.emory.bmi.mediator.ds_impl.DSIntegratorInitiator