본문 바로가기

전체 글

(159)
how to list all images and tags from docker private repository 프라이빗 리포지토리에 내가 원하는 "이미지"가 "태그"가 뭐뭐있는지 궁금할때 있지않나 ! curl -X GET https://프라이빗_리포지토리_도메인/v2/_catalog # ex : curl -X GET https://lab-dev-docker.inpark.kr/v2/_catalog # 이렇게하면 리포지토리의 도커 이미지가 반환됨. curl https://프라이빗_리포지토리_도메인/v2/이미지명/tags/list # ex : curl https://lab-dev-docker.inpark.kr/v2/tour-geo-admin/tags/list # 이미지 별로 태그까지 조회할 수 있음. 참고 (https://forums.docker.com/t/docker-private-registry-how-to-lis..
elasticsearch 설치와 kibana설치 아 우울하다.. 오늘 직장내 괴롭힘 금지법이 첫 시행일이라고 하는데. 작년에 시행됐으면 얼마나 좋았을까? 난 스트레스 받다가 뇌졸중도 왔는데. 아무튼 그런고로 엘라스틱 서치 설치하기가 존나 싫었다. 대충 아무거나 보고 따라함. 잘 설치 됨. ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ이글이 엘라스틱 서치 설치 글이야 뇌졸중글이야? ...더보기 참고 (https://linuxize.com/post/how-to-install-elasticsearch-on-centos-7/) 잘 살다가, 키바나를 설치하게 되었는데 키바나 고버전을 설치하면 elasticsearch와 버전이 맞지 않음. yum.repos.d에 elasticsearch 6버전 대를 지정하고 설치해도 키바나 고버전을 설치하면 elasticsearch도 7을 받아버림. 지..
how to kill a process in linux top # Locating the process with the top command ps aux # Locating the process with ps and grep commands pidof nginx # Finding the PID with pidof and pgrep killall # Killing processes with the killall command killall -9 firefox pkill apache # Killing processes with the pkill command kill 1234 # Killing processes with the kill command 참고 (https://www.booleanworld.com/kill-process-linux/)
redis 설치 / centosCentOS Linux release 7.6.1810 (Core) 기준 stable 버전 5.0.5 설치 해야겠다. 기존에 다른 서버도 5.0.5 가 설치되어있음을 redis-cli INFO 로 확인했음. (주의 잘하고싶으면읽지말고 바로 10으로 가시오) 1 설치파일 5.0.5 받기 -> (https://redis.io/download) 2 tar.gz 압축 풀기 -> tar -xzvf redis-5.0.5.tar.gz 3 cd redis-5.0.5 make 4 멍때리기 5 읭 경로로가면 파일있는데 service start redis로는 안되네? 왜지? ㅠㅠ 6 https://linuxize.com/post/how-to-install-and-configure-redis-on-centos-7/ 이걸로 하면 걍 yum install 하라고 나옴 ㅎ 7 6의 글에서 sudo sy..
couchbase6.0 설치 / centosCentOS Linux release 7.6.1810 (Core) 기준 couchbase6.0 설치 / centosCentOS Linux release 7.6.1810 (Core) 1 os 도 모르겠음 -> (https://www.thegeekdiary.com/how-to-check-centos-version/) 검색 cat /etc/redhat-release -> CentOS Linux release 7.3.1611 (Core) -> 음 그렇구나. 2 couchbase 부터 설치하자 -> yum 으루 ~ (https://docs.couchbase.com/server/current/install/rhel-suse-install-intro.html#installing-using-yum) -> 안되네? 왜 안되지? sudo yum update 가 안됨. 그래서 일단 couchb..
couchbase-cli 조회와 인덱스 본래 webUI concole 제공하지만, gateway time error 나서, (https://forums.couchbase.com/t/gateway-timeout-error-in-couchbase-console/16813/5) 그냥 직접 cli query를 해보려고. cbq를 직접 실행할 수 있는 directory에 가서, Linux/opt/couchbase/bin/couchbase-cli WindowsC:\Program Files\Couchbase\Server\bin\couchbase-cli.exe Mac OS X/Applications/Couchbase Server.app/Contents/Resources/couchbase-core/bin/couchbase-cli ./cbq -engine="h..
bashrc bash_profile zshrc https://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/ Zsh/Bash startup files loading order (.bashrc, .zshrc etc.) If you have ever put something in a file like .bashrc and had it not work, or are confused by why there are so many different files — .bashrc, .bash_profile, .bash_login, .profile etc. —… shreevatsa.wordpress.com http://www.joshstaiger.org/..
redis db backup restore && re-run 1 redis 백업용 rdb 만들고 저장. redis-cli SAVE (혹시 몰라서.) 그리고 파일이름은 다른 것으로 바꾸었다. ex dump.rdb -> dump-20190702.rdb 2 redis-server conf 위치 확인 redis-cli 127.0.0.1:6379 > INFO config_file 패스 확인.. 내 경우에는 /etc/redis.conf 였음. 3 redis-server 죽이기 ps auxx | grep redis-server kill -9 PID 4 redis-server 재시작 conf 파일에서 dbfilename과 dir 옵션을 확인한다. 디폴트로 되어있는 것을 그냥 맞추고 되도록 파일 수정을 하지 않았음. 본인이 원하는 파일명으로 물고 redis가 시작하게 하고싶으면 ..