+ admin 2023.08.24 centos Kubernetes install ( kebeadm 설치 / on premise 환경 ) O/S 환경 : Centos 7.x 인프라 환경 : on premise 서버 구성 : 총 4대 (master 1대 / worker 노드3대) / master서버는 전체 컨트롤을 하는 서버이고 worker 3대는 실제 pods가 운영되는 서버 1. 호스트네임 수정 (master, workernode 모두 해당) [crayon-67f8d0a5f0f2e983562937/] 2. 마스터서버에서 호스트네임지정 [crayon-67f8d0a5f0f38793956161/] 3. 워커노드 1~3번서버에서 호스트네임 수정 [crayon-67f8d0a5f0f3b639503073/] 4. master,worker 노드 모두 작업 진행 ( selinux 중지 및 방화벽 중지 ) [crayon-67f8d0a5f0f3e0698961... Read More..
+ admin 2023.08.21 kubernetes bash 자동 완성 사용하기 kubernetes 에서 명령어 및 옵션등이 많은데 이것을 다 외울수 없기 때문에 자동완성 기능을 사용해보자 o/s : centos 7.x 1. bash-completion 설치 [crayon-67f8d0a5f1e40856909081/] 2. kubectl completion bash 파일 추가 [crayon-67f8d0a5f1e48257757590/] 3. .bashrc에 적용 [crayon-67f8d0a5f1e4c380358627/] 4. kubectl 명령어 입력후 tap버튼을 누르면 추가 메뉴들이 나온다 [crayon-67f8d0a5f1e4f955690258/] 출저 : https://kubernetes.io/ko/docs/tasks/tools/included/optional-kubectl-con... Read More..
+ admin 2023.08.21 kubernetes namespace Terminating (삭제가 진행되지 않을경우) kubernetes 에서 namespace를 삭제를 하게 되면 정상적으로 진행이 되지 않는 경우 아래와 같이 Terminating 상태로 표시가 된다 [crayon-67f8d0a5f2310412311828/] 그럼 정상적으로 삭제를 하기 위해서 상태를 확인한다 [crayon-67f8d0a5f2318586407419/] json 파일로 추출 [crayon-67f8d0a5f231c810157675/] kubernetes 내용을 삭제 [crayon-67f8d0a5f2320089240864/] kubectl proxy 백그라운드 실행 [crayon-67f8d0a5f2324128988216/] curl 호출하여 정상진행 [crayon-67f8d0a5f2328022713111/] [crayon-67f8d0a5f232b... Read More..
+ admin 2023.08.16 curl http2 지원할 수 있게 구성 기본 centos 7.x 버전에서 curl 이용해서 http2 테스트를 진행하려면 지원이 되지 않는다 현재 O/S 버전 : [crayon-67f8d0a5f28b2557753962/] 현재 crul 버전 [crayon-67f8d0a5f28bb482570425/] curl 을 이용해서 http2 통신 테스트를 하면 지원하지 않는다고 출력 [crayon-67f8d0a5f28be113102576/] 그럼 http2 를 지원하려면 8 버전이상을 사용해야 함 curl 컴파일 하기전에 libghttp2 패키지 설치 진행 [crayon-67f8d0a5f28c2302611610/] crul 다운로드 및 컴파일 진행 [crayon-67f8d0a5f28c5020726312/] configure 를 진행하고 나면 아래와 같이 H... Read More..
admin 2023.07.11 sudo – Heap buffer overflow 취약점 Baron Samedit [CVE-2021-3156] sudo 취약점 부분 [crayon-67f8d0a5f31fb738867027/] 위와 같이 세그멘테이션 오류 또는 Segmentation fault 표시가 되면 취약점이 발생 업데이트 부분 [crayon-67f8d0a5f3203157261223/] 업데이트 후 확인 [crayon-67f8d0a5f3207029581949/] 업데이트 필수 Read More..
admin 2023.04.14 cenots 7 rrdtool install OS : CentOS 7.x 1. eprl install [crayon-67f8d0a5f3629104187373/] 2. rrdtool install [crayon-67f8d0a5f3630680435411/] 3. 확인 [crayon-67f8d0a5f3634870957775/] Read More..
admin 2023.02.01 dmidecode 메모리 용량 및 갯수 및 클럭 확인 ( linux) 리눅스에서 현재 설치된 RAM의 갯수 및 용량 클럭을 확인 할 수 있는 명령어 1. 설치 [crayon-67f8d0a5f3a71244940804/] 2. 메모리 타입 확인 [crayon-67f8d0a5f3a78522336285/] 해당 정보를 확인해보면 Kingston DDR3 4GB 장착 클럭은 13333 이제 그럼 메모리 슬롯이 몇개에 몇개 장착인지 확인해보자 [crayon-67f8d0a5f3a7c738281248/] 해당 서버는 모든 슬롯을 다 사용하고 있다 다른 서버를 한번 체크해보자 [crayon-67f8d0a5f3a7f313028546/] 총 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-67f8d0a5f3f46729876708/] 파일을 수정해야 함 내용중에 __GMP_BITS_PER_MP_LIMB 이부분을 -> GMP_ABS(limiter) * GMP_LIMB_BITS로 수정 [crayon-67f8d0a5f3f4f465315485/] 그리고 다시 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-67f8d0a6005b9398572661/] 이렇게 구성후 다시 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..