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
#!/bin/bash | |
#lrwxrwxrwx 1 jesse jesse 22 Jan 17 13:00 .vagrant.d -> /dev/shm/vm/Vagrant.d/ | |
#lrwxrwxrwx 1 jesse jesse 19 Jan 17 13:00 .vagrant -> /dev/shm/vm/Vagrant | |
#lrwxrwxrwx 1 jesse jesse 23 Jan 17 13:00 .VirtualBox -> /dev/shm/vm/VirtualBox/ | |
[ -e /dev/shm/vm/Vagrant ] || mkdir -p /dev/shm/vm/Vagrant | |
[ -e /dev/shm/vm/Vagrant.d ] || mkdir -p /dev/shm/vm/Vagrant.d | |
[ -e /dev/shm/vm/VirtualBox ] || mkdir -p /dev/shm/vm/VirtualBox | |
[ -L ~/.vagrant.d ] || rm -rf ~/.vagrant.d; ln -s /dev/shm/vm/Vagrant.d ~/.vagrant.d |
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
#!/bin/bash | |
# setting for proxy | |
export EC2_JVM_ARGS="-Dhttp.proxySet=true -DproxyHost=YOURPROXYHOST -DproxyPort=YOURPROXYPORT" | |
export SERVICE_JVM_ARGS=${EC2_JVM_ARGS} | |
# setting for cloud watch | |
export AWS_CREDENTIAL_FILE=$AWS_CLOUDWATCH_HOME/credentials | |
export AWS_CLOUDWATCH_URL=https://monitoring.amazonaws.com | |
export PATH=$AWS_CLOUDWATCH_HOME/bin:$PATH |