출처:http://tech-queries.blogspot.com/2011/06/how-to-get-public-ip-for-amazon-ec2.html

To obtain the internal IP address:

curl http://169.254.169.254/latest/meta-data/local-ipv4

To obtain the public IP address:
curl http://169.254.169.254/latest/meta-data/public-ipv4

Posted by 미야프
,

ImageMagic 6.5 버전과 6.7 이상 버전은 컨버팅시 속도차이가 좀 있다.


업데이트를 할경우.


yum erase ImageMagick //기존 버전 삭제

내 케이스에선 

해당 파일들을 받은후

rpm -Uvh ImageMagick-6.8.0-3.x86_64.rpm

rpm -Uvh ImageMagick-c++-6.8.0-3.x86_64.rpm

각자 깔아주었음.

(dependency 문제가 있을경우...

#rebuild evironment
yum install bzip2-devel freetype-devel libjpeg-devel libpng-devel libtiff-devel giflib-devel zlib-devel ghostscript-devel djvulibre-devel libwmf-devel jasper-devel libtool-ltdl-devel libX11-devel libXext-devel libXt-devel lcms-devel libxml2-devel librsvg2-devel OpenEXR-devel 

)

아래 사이트에대로 했을때 안됐기에...

As root, download the correct RPM from the ImageMagick site.  Then uninstall the system ImageMagick.  Then install this one.

http://www.imagemagick.org/script/binary-releases.php

2 yum erase ImageMagick</p><p>yum install --nogpgcheck ImageMagick-6.7.9-6.x86_64.rpm

Note: because the version # is beyond the one shipped with RHEL, it will not be updated automatically.  You will need to monitor ImageMagick for security updates and install them yourself.

Note: this is not recommended — replacing a RHEL package.  But sometimes it is needed.

2 yum erase ImageMagick
3 yum install --nogpgcheck ImageMagick-6.7.9-6.x86_64.rpm

Posted by 미야프
,

Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again


이와 같은 에러가 날경우 프록시 서버를 사용하고 있다면


/ect/yum.conf

에 proxy 세팅을 해준다 


(http이후는 사용할 프록시 서버 주소: 포트)

(proxy_username=프록시 유저명, proxy_password=프록시 유저 비밀번호)

게뱔 사용자용 세팅은

# The Web proxy server used by this account
http_proxy="http://mycache.mydomain.com:3128"
export http_proxy


글로벌 사용자용 세팅은

# The proxy server - proxy server:port number
proxy=http://mycache.mydomain.com:3128
# The account details for yum connections
proxy_username=yum-user
proxy_password=qwerty
출처: http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html

Posted by 미야프
,