Last active
August 2, 2018 03:27
-
-
Save altitdb/9985d7e66d5375b1deba108ba504e7d7 to your computer and use it in GitHub Desktop.
Configure Environment Variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo Export Environment Variables | |
sudo cat >> ~/.bashrc <<EOL | |
# Java Variables | |
export JDK6=/opt/java/jdk6 | |
export JDK7=/opt/java/jdk7 | |
export JDK8=/opt/java/jdk8 | |
export JAVA_HOME=/opt/java/jdk8 | |
export MAVEN_HOME=/opt/maven/maven-3.5.0 | |
export LD_LIBRARY_PATH=/opt/vasco/VACMAN_Controller-3.17.0/lib | |
export PATH=$PATH:/opt/java/jdk8/bin:/opt/maven/maven-3.5.0/bin | |
export SPRING_CLOUD_CONFIG_URI=http://localhost:8888 | |
export SPRING_CLOUD_CONFIG_USERNAME=matera | |
export SPRING_CLOUD_CONFIG_PASSWORD=matera | |
EOL | |
echo Reload Bash | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment