메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

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


* 참조 : https://downloads.mariadb.org/mariadb/repositories/#mirror=kaist&distro=Ubuntu&distro_release=xenial--ubuntu_xenial&version=10.1


1. apt-get install software-properties-common
2. apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
3. add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.kaist.ac.kr/mariadb/repo/10.1/ubuntu xenial main'
4. apt update
5. apt install mariadb-server

  * 설치중간에 db root계정의 패스워드를 물어보는데 입력해준다.

6. 포트 변경 및 옵션 추가(원격접속시 인증을 위해서 IP주소를 Hostname으로 변환하는 DNS Lookup과정을 거치지 않게하여 빠르게 접속할 수 있도록 해준다)

 가. vi /etc/mysql/my.cnf ->

    [client]부분의 첫번째 줄에서 port = 원하는포트번호

    [mysqld]부분에서           port = 원하는포트번호

    [mysqld] 끝부분에       skip-name-resolve 를 추가함

 나. service mysqld restart

7. 원격접속 허용

 가. vi /etc/mysql/my.cnf

    bind-address           = 127.0.0.1 부분을 찾아서 주석처리하거나 *을 지정한다.


*참고 : https://opentutorials.org/module/1175/7779

번호 제목 날짜 조회 수
50 서버중 slave,worker,regionserver만 재기동해야 할때 필요한 기동스크립트및 사용방법 2017.02.03 516
49 Container killed by the ApplicationMaster. Container killed on request. Exit code is 143 Container exited with a non-zero exit code 143 TaskAttempt killed because it ran on unusable node 오류시 조치방법 2017.04.06 643
48 Hbase API를 이용하여 scan시 페이징을 고려하여 목록을 가져올때 사용할 수 있는 로직의 예시를 보여줌 2017.04.26 460
47 Ubuntu 16.04 LTS에 4대에 Hadoop 2.8.0설치 2017.05.01 818
» Ubuntu 16.04 LTS에 MariaDB 10.1설치 및 포트변경 및 원격접속 허용 2017.05.01 1309
45 Cleaning up the staging area file시 'cannot access' 혹은 'Directory is not writable' 발생시 조치사항 2017.05.02 396
44 hadoop에서 yarn jar ..를 이용하여 appliction을 실행하여 정상적으로 수행되었으나 yarn UI의 어플리케이션 목록에 나타나지 않는 문제 2017.05.02 157
43 hadoop에서 yarn jar ..를 이용하여 appliction을 실행하여 정상적으로 수행되었으나 yarn UI의 어플리케이션 목록에 나타나지 않는 문제 2017.05.02 122
42 hadoop에서 yarn jar ..를 이용하여 appliction을 실행하여 정상적으로 수행되었으나 yarn UI의 어플리케이션 목록에 나타나지 않는 문제 2017.05.02 185
41 hadoop에서 yarn jar ..를 이용하여 appliction을 실행하여 정상적(?)으로 수행되었으나 yarn UI의 어플리케이션 목록에 나타나지 않는 문제 2017.05.02 161
40 Mysql DB 생성 및 권한. 특정아이피, 대역에 대한 접근 허용 2017.05.04 599
39 mapreduce appliction을 실행시 "is running beyond virtual memory limits" 오류 발생시 조치사항 2017.05.04 17060
38 mysql-server 기동시 Do you already have another mysqld server running on port 오류 발생할때 확인및 조치방법 2017.05.14 2853
37 cassandra cluster 문제가 있는 node제거 하기(DN상태의 노드가 있으면 cassandra cluster 전체에 문제가 발생하므로 반드시 제거할것) 2017.06.21 452
36 Not enough replica available for query at consistency QUORUM가 발생하는 경우 2017.06.21 412
35 mysql에서 외부 디비를 커넥션할 경우 접속 속도가 느려질때 2017.06.30 1431
34 HBase write 성능 튜닝 file 2017.07.18 186
33 HBase 설정 최적화하기(VCNC) file 2017.07.18 247
32 Current heap configuration for MemStore and BlockCache exceeds the threshold required for successful cluster operation 2017.07.18 1151
31 갑자기 DataNode가 java.io.IOException: Premature EOF from inputStream를 반복적으로 발생시키다가 java.lang.OutOfMemoryError: Java heap space를 내면서 죽는 경우 조치방법 2017.07.19 1835
위로