728x90
Mariadb Install (1) - package download
가. Mariadb Download 할 패키지 목록
- MariaDB Download URL : "http://ftp.kaist.ac.kr/mariadb//mariadb-10.2.9/yum/centos7-amd64/rpms"
- mariadb Package List
# MariaDB-10.2.9-centos7-x86_64-aws-key-management.rpm # MariaDB-10.2.9-centos7-x86_64-backup.rpm # MariaDB-10.2.9-centos7-x86_64-client.rpm # MariaDB-10.2.9-centos7-x86_64-common.rpm # MariaDB-10.2.9-centos7-x86_64-compat.rpm # MariaDB-10.2.9-centos7-x86_64-connect-engine.rpm # MariaDB-10.2.9-centos7-x86_64-cracklib-password-check.rpm # MariaDB-10.2.9-centos7-x86_64-devel.rpm # MariaDB-10.2.9-centos7-x86_64-gssapi-server.rpm # MariaDB-10.2.9-centos7-x86_64-oqgraph-engine.rpm # MariaDB-10.2.9-centos7-x86_64-rocksdb-engine.rpm # MariaDB-10.2.9-centos7-x86_64-server.rpm # MariaDB-10.2.9-centos7-x86_64-shared.rpm # MariaDB-10.2.9-centos7-x86_64-test.rpm # MariaDB-10.2.9-centos7-x86_64-tokudb-engine.rpm # galera-25.3.20-1.rhel7.el7.centos.x86_64.rpm # jemalloc-3.6.0-1.el7.x86_64.rpm # jemalloc-devel-3.6.0-1.el7.x86_64.rpm # Judy-1.0.5-5.1.x86_64.rpm |
나. 다운로드 스크립트
- Mariadb의 패키지들을 다운 받기 위해서 아래와 같은 두개의 셀을 만들어 여러 패키지 파일을 다운로드 받을수 있습니다.
[../bin/com_function.sh] - 공통함수를 별도의 파일로 정의 하였습니다.
function MKDIR() { if [ -d "$1" ] then echo " >>MKDIR($1) exists !" else mkdir $1 echo " >>MKDIR($1) success !" fi } #----WGET (URL VERSION) function WGET() { dir_name=${2:-"."} MKDIR $dir_name; if [ ! -z "$1" ] then file_name=`basename $1` echo " WGET : wget -S $1 -O '$dir_name/$file_name' " # ----- wget -S $1 -O "$dir_name/$file_name" ls -l "$dir_name/$file_name" else echo " Err: No url >> usage WGET [URL] [VERSION]" fi } |
[get_mariadb.sh] - 다운 받을 패키지명과 Repository URL 주소를 통해서 패키지를 다운 받습니다.
#------------------------------- # Include Common functions #------------------------------- . ../bin/com_function.sh #------------------------------- #OS_VER=centos73 # OS_VER=centos7 DB_VER=10.2.9 DB_NAME=maradb BASE_URL="http://ftp.kaist.ac.kr/mariadb//mariadb-10.2.9/yum/centos7-amd64/rpms" PKG_LIST=$( cat <<EOF MariaDB-10.2.9-centos7-x86_64-aws-key-management.rpm MariaDB-10.2.9-centos7-x86_64-backup.rpm MariaDB-10.2.9-centos7-x86_64-client.rpm MariaDB-10.2.9-centos7-x86_64-common.rpm MariaDB-10.2.9-centos7-x86_64-compat.rpm MariaDB-10.2.9-centos7-x86_64-connect-engine.rpm MariaDB-10.2.9-centos7-x86_64-cracklib-password-check.rpm MariaDB-10.2.9-centos7-x86_64-devel.rpm MariaDB-10.2.9-centos7-x86_64-gssapi-server.rpm MariaDB-10.2.9-centos7-x86_64-oqgraph-engine.rpm MariaDB-10.2.9-centos7-x86_64-rocksdb-engine.rpm MariaDB-10.2.9-centos7-x86_64-server.rpm MariaDB-10.2.9-centos7-x86_64-shared.rpm MariaDB-10.2.9-centos7-x86_64-test.rpm MariaDB-10.2.9-centos7-x86_64-tokudb-engine.rpm galera-25.3.20-1.rhel7.el7.centos.x86_64.rpm jemalloc-3.6.0-1.el7.x86_64.rpm jemalloc-devel-3.6.0-1.el7.x86_64.rpm EOF ); #----------------------------------------- echo $PKG_LIST for pkg_name in $PKG_LIST do echo " >> $pkg_name ${DB_NAME}-${DB_VER}" WGET "${BASE_URL}/${pkg_name}" "${DB_NAME}-${DB_VER}" done #-[Judy]------------------------------------------- WGET "ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/halocaridina/CentOS_CentOS-6/x86_64/Judy-1.0.5-5.1.x86_64.rpm" "${DB_NAME}-${DB_VER}" |
728x90
반응형
'BigData' 카테고리의 다른 글
Apache Flink 버전 1.6.0이 출시 (0) | 2018.09.13 |
---|---|
빅 데이터 애플리케이션을위한 NoSQL 데이터베이스의 효과적인 크기 조정 (0) | 2018.07.24 |
Mariadb Install (2) - 설치 & 환경설정 installation (0) | 2017.11.15 |
Oracle 11g 라이선스 정책 (0) | 2017.07.18 |
VoltDB 및 ChartIO 를 활용한 실시간 데이터 스트리밍 기술 (0) | 2017.07.12 |
Power BI에 대해 알아야 할 사항 (0) | 2017.06.20 |
Apache Spark로 집계하기 클러스터 컴퓨팅으로 집계 해결 (2) (0) | 2017.06.14 |