메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

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


최초 clone등의 작업을 할때 github.com에 대한 권한이 없어서 발생하는 문제로 SSH를 생성하여 github.com에 등록하여준다. 



1.public/private rsa key 생성
ssh-keygen -t rsa -b 4096 -C "gooper@gooper.com"


2. key를 ssh-agent에 추가
가. ssh-agent가 사용가능한지 확인
eval "$(ssh-agent -s)"

나. SSH 키를 ssh-agent에 추가
ssh-add ~/.ssh/id_rsa


3. SSH 키를 계정에 추가
가. xclip설치
apt-get install xclip

나. id_rsa.pub내용를 clipboard에 복사
xclip -sel clip < ~/.ssh/id_rsa.pub


4. 복사된 key를 GitHub에 등록
Settings->SSH and GPG keys->New SSH key->key는 clipboard에 있으므로 ctrl+v해서 빈칸에 값을 집어넣음->Add key


------------------clone을 시도했을때 발생하는 오류--------------------

gooper@gsda1:/home/gooper$ git clone git@github.com:lagom/online-auction-java.git
Cloning into 'online-auction-java'...
The authenticity of host 'github.com (XXX.XXX.XXX.XXX)' can't be established.
RSA key fingerprint is SHA256:.......
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,XXX.XXX.XXX.XXX' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

번호 제목 날짜 조회 수
570 bin/cassandra -f -R로 startup할때 NullPointerException오류가 나면 조치할 내용 2016.04.14 3276
569 hadoop 기반 문서 검색 2014.09.25 3279
568 solrcloud에 solrdf1.1설치하고 테스트 하기 2016.04.22 3284
567 JAVA_HOME을 명시적으로 지정하는 방법 2018.06.04 3284
566 Could not compute split, block input-0-1517397051800 not found형태의 오류가 발생시 조치방법 2018.02.01 3290
565 Cleaning up the staging area file시 'cannot access' 혹은 'Directory is not writable' 발생시 조치사항 2017.05.02 3291
564 github에 있는 프로젝트와 로컬에서 작업한 프로젝트 합치기 2016.11.22 3295
563 php auction 프로그램 2017.05.14 3297
562 ./spark-sql 실행시 "java.lang.NumberFormatException: For input string: "1s"오류발생시 조치사항 2016.06.09 3299
561 oozie job 구동시 JA009: User: hadoop is not allowed to impersonate hadoop 오류나는 경우 2014.06.02 3304
560 nc -l 7777 : 7777포트에서 입력을 받는다. 2017.03.23 3319
559 magento2 log파일 위치 2017.01.31 3320
558 [kerberos]Kerberos HA구성 참고 페이지 2022.08.31 3321
557 Halyard - RDF4J와 Apache HBase를 이용하여 구현된 TripleStore이며 SPARQL 1.1쿼리를 지원한다. 2016.12.29 3322
556 sparql 문법구조 설명 file 2015.12.09 3334
555 Jena는 기본적으로 multi thread환경을 지원하지 않는다. 2016.08.16 3334
554 hadoop에서 yarn jar ..를 이용하여 appliction을 실행하여 정상적으로 수행되었으나 yarn UI의 어플리케이션 목록에 나타나지 않는 문제 2017.05.02 3336
553 각 서버에 설치되는 cloudera서비스 프로그램 목록(CDH 5.14.0의 경우) 2018.03.29 3344
552 하둡 분산 파일 시스템을 기반으로 색인하고 검색하기 2014.09.25 3346
551 Cloudera가 사용하는 서비스별 디렉토리 2018.03.29 3356
위로