Git clone 에러 Permission denied (publickey) 에러 메시지 git clone 시도 시 아래처럼 실패 메시지 발생. 접속을 시도하고 있는 현재 시스템의 공개키(publickey) 를 읽는데 실패하였다는 내용이다. $ git clone git@github.com:xxxxxxxxxxxx.git Cloning into 'xxxxxxxxxxxx'... The authenticity of host 'github.com (20.200.245.247)' can't be established. ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warn.. 서버&시스템/Linux 2년 전
[LINUX] 파일 인코딩 확인, 변환 _ file / iconv file -i 파일명 명령어로 파일의 인코딩을 확인 가능하다. file -i * once: inode/directory; charset=binary test.php: text/html; charset=utf-8 library.py: text/plain; charset=us-ascii db.py: text/x-python; charset=us-ascii 그리고 iconv -c -f 현재인코딩 -t 변환할인코딩 파일명 명령어로 파일의 인코딩을 변경할 수 있다. file -i test.txt test.txt: text/plain; charset=utf-8 iconv -c -f utf-8 -t euc-kr test.txt > test2.txt file -i test2.txt test2.txt: text/plai.. 서버&시스템/Linux 2년 전
VScode Remote-SSH를 통한 리눅스 원격 서버 접속 불가 문제 현상 VScode에 Remote-SSH 익스텐션을 설치하고, 리눅스 서버에 접속 시도하였는데 아래 에러 메시지 발생. Visual Studio Code Could not establish connection to "xxx.xxx.xxx.xxx". The VS Code Server failed to start. 원인 접속 대상 서버의 OS 버전을 확인해 보니 CentOS 6 버전이다. [root@Quick141-75 ~]# cat /etc/redhat-release CentOS release 6.9 (Final) 서버의 glibc, libstdc++ 라이브러리 버전이 낮으면 vscode를 통한 접속이 안된다고 한다. 필요한 glibc 버전 : 2.17 필요한 libstdc++ 버전 : 4.8.2 우선 서버.. 서버&시스템/Linux 3년 전
SVN 명령어 사용법 옵션 설명 예 import 저장소에 맨 처음 소스 넣을 때 svn import source http://192.168.2.100/svn/info/trunk checkout (co) 소스 내려받기 svn co http://192.168.1.100/svn/info source update (up) 소스를 최신 버전으로 업데이트 svn up /home/www/info/css svn up -r 리비전번호 /home/www/info/css commit (ci) 소스 변경사항 적용 svn ci index.html index.php svn ci -m index.html "comment" add 새로운 파일이나 폴더 추가 delete SVN 관리목록에서 삭제 export SVN에서 원본 파일만 저장 svn export.. 서버&시스템/Linux 10년 전
아파치 SSL 적용 후 데몬 실행되지 않는 인증서 에러 SSL Library Error: error 아파치에 SSL을 적용. httpd 데몬을 start 했는데 암호 입력 후 콘솔에는 오류 메시지가 없었다. 그런데 프로세스가 올라오지 않고 netstat -nlp | grep LISTEN 해 보면 80이나 443 포트도 비어있다. ssl 로그를 보면 데몬 실행 시도 시 아래와 같은 메시지가 확인 되는데. $ tail -f /usr/local/apache2/logs/ssl/ssl_log SSL Library Error: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch 구글링을 해 보면 아래와 같은 점검 사항이 검색된다. 1. 인증서 crt 파일과 key 파일이 다른 문제이다 $ openssl x509 -n.. 서버&시스템/Linux 10년 전