메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


mariadb AIX 7.1에 MariaDB 10.2 소스 설치

총관리자 2016.09.24 11:37 조회 수 : 2490

1. MariaDB-source 버젼 다운 받기
http://mariadb.org - > https://downloads.mariadb.org/
https://mariadb.com/kb/en/mariadb/source-getting-the-mariadb-source-code/  -> https://github.com/MariaDB/server/tree/10.2
혹은
https://downloads.mariadb.org/mariadb/10.1.17/


2. 업로드및 압축출기
$gzip -d mariadb-10.1.17.tar.gz
$tar -xvf mariadb-10.1.17.tar

3. mariadb폴더로 이동
cd mariadb-10.1.17

 
5. ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=utf8 --with-mysql-usr=mysql --sysconfdir=/etc --enable-thread-safe-client
 
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=euckr --with-mysql-usr=mysql --sysconfdir=/etc --enable-thread-safe-client
 
./configure --prefix=/home/wisenut/sf-1/mysql --localstatedir=/home/wisenut/sf-1/mysql/data --with-charset=utf8 --with-mysql-usr=wisenut --sysconfdir=/etc --enable-thread-safe=client
 
./configure --prefix=/home/kwisenut/sf-1v4.5/mysql/mysql5 --localstatedir=/home/kwisenut/sf-1v4.5/mysql/mysql5/data --with-charset=utf8 --with-mysql-usr=kwisenut --sysconfdir=/etc --enable-thread-safe=client
 
./configure --prefix=/home/kwisenut/sf-1v4.5/mysql/mysql-5.1.17 --localstatedir=/home/kwisenut/sf-1v4.5/mysql/mysql-5.1.17/data --with-charset=utf8  
 
6. make
 
7. make install
 
8. ./scripts/mysql_install_db
 
9. cat >> /etc/ld.so.conf
/usr/local/mysql/lib (엔터치고 ctrl+c 입력)
 
10. ldconfig
 
11. cp /usr/local/mysql/share/mysql/my-medium.cnf /etc/my.cnf
 
12. mysql 계정 생성
groupadd mysql
useradd -g mysql mysql
chown root.mysql -R /usr/local/mysql
chown mysql.mysql -R /usr/local/mysql/data
chgrp -R mysql /usr/local/mysql
 
 
13. /usr/local/mysql/bin/mysqld_safe --user=mysql &
 
14. /usr/local/mysql/bin/mysql
     use mysql
     update user set password=password('root!@') 
     update user set password=password('root') 
     where user = 'root';
     delete from user where user='';
     flush privileges;
 
15. /usr/local/mysql/bin/mysqladmin -u root -p showdown
 
16. /usr/local/mysql/bin/msyqld_safe -u root &

*참고 : 위에 내용은 정상적인 경우이고 AIX에서 source로 설치하기는 실패함

번호 제목 날짜 조회 수
701 통계자료 구할수 있는 곳 2014.04.16 2011
700 json 값 다루기 2014.04.17 1331
699 json serde사용법 2014.04.17 1196
698 oozie에서 share lib설정시 action type별로 구분하여 넣을것 2014.04.18 1320
697 os가 windows7인 host pc에서 ubuntu가 os인 guest pc에 접근하기 위한 네트워크설정 2014.04.20 872
696 The disk drive for uuid= is not ready yet or not present 오류 해결방법 2014.04.21 1501
695 sqoop 1.4.4 설치및 테스트 2014.04.21 3207
694 Building a Cluster docs 2014.04.22 1129
693 ubuntu 12.4에서 eclipse설치후 기동시 library(swt-gtk*)관련 오류 2014.04.23 1339
692 sequence한 번호 생성방법 2014.04.25 1256
691 unique한 값 생성 2014.04.25 1125
690 hbase shell에서 컬럼값 검색하기(SingleColumnValueFilter이용) 2014.04.25 2603
689 index생성, 삭제, 활용 2014.04.25 1766
688 빅데이터 분석을 위한 샘플 빅데이터 파일 다운로드 사이트 2014.04.28 3332
687 insert hbase by hive ... error occured after 5 hours..HMaster가 뜨지 않는 장애에 대한 복구 방법 2014.04.29 7249
686 ping 안될때.. networking restart 날려주면 잘됨.. 2014.05.09 3072
685 우분투 16.04 LTS에 apache2와 tomcat7 연동하여 설치하기 2014.05.09 1605
684 oozie가 말하는 start시간은..서버에서 확인되는 시간이 아닙니다. 2014.05.14 823
683 sqoop export/import등을 할때 driver를 못찾는 오류가 발생하면... 2014.05.15 940
682 sqoop에서 oracle관련 작업할때 테이블명, 사용자명, DB명은 모두 대문자로 사용할것 2014.05.15 1599
위로