+ admin 2023.08.21 kubernetes bash 자동 완성 사용하기 kubernetes 에서 명령어 및 옵션등이 많은데 이것을 다 외울수 없기 때문에 자동완성 기능을 사용해보자 o/s : centos 7.x 1. bash-completion 설치 [crayon-66061945c860b288426235/] 2. kubectl completion bash 파일 추가 [crayon-66061945c8616713704075/] 3. .bashrc에 적용 [crayon-66061945c861b036022330/] 4. kubectl 명령어 입력후 tap버튼을 누르면 추가 메뉴들이 나온다 [crayon-66061945c861f713095511/] 출저 : https://kubernetes.io/ko/docs/tasks/tools/included/optional-kubectl-con... Read More..
+ admin 2023.08.21 kubernetes namespace Terminating (삭제가 진행되지 않을경우) kubernetes 에서 namespace를 삭제를 하게 되면 정상적으로 진행이 되지 않는 경우 아래와 같이 Terminating 상태로 표시가 된다 [crayon-66061945c8e24533105289/] 그럼 정상적으로 삭제를 하기 위해서 상태를 확인한다 [crayon-66061945c8e2b419110199/] json 파일로 추출 [crayon-66061945c8e30385363559/] kubernetes 내용을 삭제 [crayon-66061945c8e36875967512/] kubectl proxy 백그라운드 실행 [crayon-66061945c8e3a226089706/] curl 호출하여 정상진행 [crayon-66061945c8e3f905313913/] [crayon-66061945c8e43... Read More..
+ admin 2023.08.16 curl http2 지원할 수 있게 구성 기본 centos 7.x 버전에서 curl 이용해서 http2 테스트를 진행하려면 지원이 되지 않는다 현재 O/S 버전 : [crayon-66061945c927d844695388/] 현재 crul 버전 [crayon-66061945c9285752045931/] curl 을 이용해서 http2 통신 테스트를 하면 지원하지 않는다고 출력 [crayon-66061945c928a014265680/] 그럼 http2 를 지원하려면 8 버전이상을 사용해야 함 curl 컴파일 하기전에 libghttp2 패키지 설치 진행 [crayon-66061945c9296455122030/] crul 다운로드 및 컴파일 진행 [crayon-66061945c929c135889098/] configure 를 진행하고 나면 아래와 같이 H... Read More..
admin 2023.07.11 sudo – Heap buffer overflow 취약점 Baron Samedit [CVE-2021-3156] sudo 취약점 부분 [crayon-66061945c9705101886794/] 위와 같이 세그멘테이션 오류 또는 Segmentation fault 표시가 되면 취약점이 발생 업데이트 부분 [crayon-66061945c970c524155198/] 업데이트 후 확인 [crayon-66061945c9711073815681/] 업데이트 필수 Read More..
admin 2023.04.14 cenots 7 rrdtool install OS : CentOS 7.x 1. eprl install [crayon-66061945c99cd805818151/] 2. rrdtool install [crayon-66061945c99d4969776331/] 3. 확인 [crayon-66061945c99d9063357781/] Read More..
admin 2023.02.01 dmidecode 메모리 용량 및 갯수 및 클럭 확인 ( linux) 리눅스에서 현재 설치된 RAM의 갯수 및 용량 클럭을 확인 할 수 있는 명령어 1. 설치 [crayon-66061945c9cb4373095984/] 2. 메모리 타입 확인 [crayon-66061945c9cbc902806467/] 해당 정보를 확인해보면 Kingston DDR3 4GB 장착 클럭은 13333 이제 그럼 메모리 슬롯이 몇개에 몇개 장착인지 확인해보자 [crayon-66061945c9cc0025916741/] 해당 서버는 모든 슬롯을 다 사용하고 있다 다른 서버를 한번 체크해보자 [crayon-66061945c9cc5116569736/] 총 24개의 슬롯에서 4개 슬롯만 사용 / 나머진 모두 장착이 가능한 슬롯 Read More..
admin 2023.01.05 centos 7.x / php 5.2 make error ( gmp.c:1399:69: note: each undeclared identifier is reported only once for each function it appears in ) OS : Cenos 7.x PHP : 5.2.17 make 작업 중 아래와 같은 메시지 [crayon-66061945ca02e385079160/] 파일을 수정해야 함 내용중에 __GMP_BITS_PER_MP_LIMB 이부분을 -> GMP_ABS(limiter) * GMP_LIMB_BITS로 수정 [crayon-66061945ca036037088367/] 그리고 다시 make 작업 / 안되면 make clean 후 다시 configure 작업 후 -> make 진행 Read More..
admin 2023.01.05 centos 7.x php 5.2 make error ( dereferencing pointer to incomplete type RETVAL_STRINGL((char *) buf->buffer->content, ret, 1) o/s : Cenots 7.X PHP 버전 : 5.2.X make 작업시 아래와 같이 에러 발생시 dereferencing pointer to incomplete type RETVAL_STRINGL((char *) buf->buffer->content, ret, 1); 패치파일을 php 소스 경로에 다운받아 패치를 진행 [crayon-66061945ca533515876646/] 이렇게 구성후 다시 configure -> make 작업을 진행하면 된다 Read More..
admin 2022.08.26 apache 2.2 2.4 젭근제한 설정 부분 apache 2.2버전과 2.4버전 접근 제한 설정이 다르다 2.2버전 2.4버전 ### 모두 접근 제한 Order deny,allow Deny from all Require all denied ## 모든 접근 허용 Order allow,deny Allow from all Require all granted ###특정 아이피에서 접근허용Order deny,allow Deny from all Allow from 192.168.10.1 10.2.2.2 Require ip 192.168.10.1 10.2.2.2 Read More..
admin 2022.05.25 ncloud nas mount ( centos ) ncloud 에서 서버에서 NAS를 마운트해서 사용하는 경우 마운트 하는 방법 1. rpcbind 서비스 시작 및 enable [crayon-66061945caa1f197609551/] 2. 현재 마운트 상태 [crayon-66061945caa27015608616/] 3. nfs 마운트할 디렉토리 생성 및 mount ( 안정성이 높은 NFS v3(-o vers=3)로 마운트하여 사용할 것을 권고 ) [crayon-66061945caa2c180251683/] 4. 마운트 상태 [crayon-66061945caa31458923645/] 5. 만약 부팅시에 자동으로 마운트 될수 있게 fstab에 등록 [crayon-66061945caa36208476287/] Read More..