[cs615asa] [cs615 linux-lab] question

Renjie Weng rweng at stevens.edu
Tue Feb 5 11:09:46 EST 2013


Dear Prof. Jan and classmates,

Could anyone tell me what's wrong with that in linux-lab:
I run "ec2-version" , but return:
!! /home/rweng/.ec2/bin/ec2-version: line 9: EC2_HOME: EC2_HOME is not set
!!

----------------------------------
I copied ec2-tools from /opt/ec2tools-1.4 to ~/.ec2 ;
and set EC2_HOME as ~/.ec2, added it in PATH as EC2_HOME/bin ;
and set JAVA_HOME to /usr/lib/jvm/java-1.6.0-openjdk;

environment variables like following:

echo $PATH
/bin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/local/sbin:/sbin:/opt/bin:/opt/mccabe/bin:/usr/games:/home/rweng/.ec2/bin:/home/rweng/.ec2/bin:/usr/lib/jvm/java-1.6.0-openjdk/bin

echo $JAVA_HOME
/usr/lib/jvm/java-1.6.0-openjdk

echo $EC2_HOME
/home/rweng/.ec2

and

:~/.ec2$ ls
bin
cert-xxx.pem
lib
license.txt
notice.txt
pk-xxx.pem
THIRDPARTYLICENSE.TXT
-------------------------------------


-- Renjie Weng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.stevens.edu/cgi-bin/mailman/private/cs615asa/attachments/20130205/0b32e5c9/attachment.html>


More information about the cs615asa mailing list