[ShellScripts ] Mysql RPM 다운로드
- 오라클 mysql 패키지를 다운 받는 스크립트 이다.
my_download.sh
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
VER="5.5.34-1" # 주의 : 버전 명 뒤에 -1 이 항상 있음 mysql.com 참고
PlatForm=`uname -i`
OS="rhel5"
OS="linux2.6"
FNAMES="MySQL-devel MySQL-client MySQL-shared-compat MySQL-server MySQL-shared"
for fname in $FNAMES
do
RPM_NM="${fname}-${VER}.${OS}.${PlatForm}.rpm"
wget http://www.mysql.com/get/Downloads/MySQL-5.5/${RPM_NM}/from/http://cdn.mysql.com/ -O $RPM_NM
echo "\n >>>>>> download stat [$?] !!";
ls -al $RPM_NM
done
#MySQL-devel-5.5.24-1.linux2.6.i386.rpm
#MySQL-server-5.5.24-1.linux2.6.i386.rpm
#MySQL-shared-compat-5.5.24-1.linux2.6.i386.rpm
#MySQL-client-5.5.24-1.linux2.6.i386.rpm
# http://www.mysql.com/get/Downloads/MySQL-5.5/MySQL-shared-compat-5.5.28-1.rhel5.x86_64.rpm/from/http://cdn.mysql.com/
# http://www.mysql.com/get/Downloads/MySQL-5.5/MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm/from/http://cdn.mysql.com/"
# http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-shared-5.5.34-1.linux2.6.x86_64.rpm/from/http://cdn.mysql.com/
'BigData' 카테고리의 다른 글
[ElasticSearch] Query DSL (0) | 2014.10.13 |
---|---|
[ElasticSearch] - aggregration query (0) | 2014.10.13 |
fluentd + elasticsearch 설치 하기 (0) | 2014.09.24 |
install ElastSearch (0) | 2014.09.03 |
오라클 Charset 변경 해야 하는 이유와 방법 (0) | 2014.04.11 |
ORACLE heterogeneous connection 란 (0) | 2014.03.07 |
Postgres & enterprise DB 설치 따라하기 (0) | 2014.03.07 |