Skip to content

Commit

Permalink
OK
Browse files Browse the repository at this point in the history
  • Loading branch information
james-ch-tung committed Dec 18, 2016
1 parent eb0a9bc commit ef802ca
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
7 changes: 6 additions & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@

apt-get update
apt-get dist-upgrade
apt-get install vim git curl wget tar maven
apt-get install -y vim git curl wget tar maven

# Install autotools (Only necessary if building from git repository).
apt-get install -y autoconf libtool


8 changes: 1 addition & 7 deletions mesos-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@

./init.sh

# Install a few utility tools.
apt-get install -y tar wget git

# Install autotools (Only necessary if building from git repository).
apt-get install -y autoconf libtool

# Install other Mesos dependencies.
# Install Mesos dependencies.
apt-get -y install build-essential python-dev libcurl4-nss-dev libsasl2-dev libsasl2-modules maven libapr1-dev libsvn-dev zlib1g-dev

# Install the latest OpenJDK.
Expand Down
3 changes: 2 additions & 1 deletion oracle-jdk-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ then
tar -zxvf $fileName -C /opt/jdk
fi

./remove-default-jdk.sh
#./remove-default-jdk.sh

update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_112/bin/java 100
update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_112/bin/javac 100
Expand All @@ -25,3 +25,4 @@ java -version
javac -version

export JAVA_HOME=/opt/jdk/$workDir
export PATH=$PATH:$JAVA_HOME/bin

0 comments on commit ef802ca

Please sign in to comment.