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
export JAVA_HOME="/usr/lib/jvm/jre-1.7.0-openjdk.x86_64/“ | |
export EC2_HOME=“[解凍したEC2APIToolsのディレクトリパス]” | |
export PATH="${PATH}:${EC2_HOME}/bin” | |
export EC2_PRIVATE_KEY=“[PrivateKeyFileのパス]" | |
export EC2_CERT="[X.509Certificateのパス]" |
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
# config | |
netperfVer="2.6.0" | |
iperfURL="http://iperf.fr/download/iperf_2.0.2/iperf_2.0.2-4_amd64.tar.gz" | |
yum update -y | |
yum install -y wireshark-gnome gcc | |
# install netperf | |
cd /usr/src/ | |
wget ftp://ftp.netperf.org/netperf/netperf-${netperfVer}.tar.gz |
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
instanceID="i-XXXXXXXX" | |
region="us-west-2" | |
ipAddress=`ec2-describe-instances ${instanceID} -region ${us-west-2} | grep "INSTANCE" | cut -f17` | |
echo ${ipAddress} |
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
wget http://sourceforge.net/projects/fuse/files/fuse-2.X/2.9.3/fuse-2.9.3.tar.gz/download | |
tar -xvzf fuse-2.9.3.tar.gz | |
cd fuse-2.9.3 | |
./configure prefix=/usr | |
make | |
make install | |
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig/ |
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
alias ls="ls -G" |
NewerOlder