- pod
- Galera Cluster
- 우파푸른하늘80만이벤트
- n1548
- Network
- MotD
- docker
- openldap
- banner
- mgmtip
- vmware
- Storage
- web&was apche htaccess
- Path
- Netflix
- CEP
- wildfly jboss
- 참교육
- n15148
- 우파푸른하늘
- CentOS
- maxscale
- unix_socket
- port description
- RHEL8
- mariadb
- 진상부모_물러가라
- etcd
- data-door
- drbd
- Auth
- Kubernetes
- perplexity
- admin port
- snmp
- dell
- 웰카
목록분류 전체보기 (237)
전산쟁이의 기억노트
Bash 보안업데이트하세요~~ 취약내용 : 공격자가 Bash를 사용하여 구현된 기능을 악용하여 임의의 코드를 실행시킬수 있으므로 업데이트 권고 대상 : GNU Bash를 사용하는 서버 (RHEL계열 4이하 버전은 지원이 끝났기 때문에 업데이트 불가능합니다.) RHEL4이하버전은 yum으로 업데이트 불가하고, 대신에 수동으로 패치를 진행해야 합니다. Bash는 리눅스에서 기본으로 사용하고 있는 쉘이기 때문에 대부분 업데이트를 진행하셔야 할것 같습니다. 패치작업 진행 취약점 대상 시스템 여부 [root@localhost ~]# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable this is a test (vulnerable메..
프로세스가 종료되어도, 커널에서 메모리 잡고 있는 부분 정리하기 메모리 정리 전) [root@/]# free -m total used free shared buffers cached Mem: 3925 1706 2218 0 238 963 -/+ buffers/cache: 504 3421 Swap: 4095 0 4095 메모리 정리 후) [root@/]# free -m total used free shared buffers cached Mem: 3925 463 3462 0 0 30 -/+ buffers/cache: 433 3492 Swap: 4095 0 4095 커널상에서 캐쉬를 클리어하게 만드는 값으로 1,2,3 중에 하나를 사용하면 되며 커널 2.6.16 이상에서부터 추가되서 사용가능하다. To free..
smartctl을 이용한 디스크 상태 확인 $ smartctl -l selftest /dev/sda badblock 명령어를 이용한 배드블록 확인 $ badblocks -v /dev/sda 출처 - http://igoni.kr/books/linux/page/badblock 디스크 badblock 확인방법 | igoni.kr smartctl을 이용한 디스크 상태 확인 $ smartctl -l selftest /dev/sda badblock 명령어를 이용한 배드... igoni.kr
perplexity에서 생성한 AI이미지소개현재 사용중인 메모리 상태를 볼 수 있는 명령어와 각 항목에 설명을 기재해보려고 합니다.명령어 실행명령어 실행결과 확인 (free / meminfo) free 결과$> free -m total used free shared buff/cache availableMem: 15786 7716 583 632 7487 7102Swap: 4095 516 3579meminfo 파일 확인 $> cat /proc/meminfoMemTotal: 16165732 kBMemFree: ..
VNC 구동시 Fail로그 확인 $> systemctl start vncserver@:2.service Job for vncserver@:2.service failed. See 'systemctl status vncserver@:2.service' and 'journalctl -xn' for details. 프로세스 실행여부 확인 [root@localhost /]# ps -ef | grep vnc test 24303 1 0 20:08 ? 00:00:00 /usr/bin/Xvnc :2 -desktop 192.168.0.100:2 (test) -httpd /usr/share/vnc/classes -auth /home/test/.Xauthority -geometry 600×800 -rfbwait 30000 -..
VNC패키지 설치 $ yum install -y tiger* 설정파일 복사 $ cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@\:2.service 설정파일 편집 $ vi /etc/systemd/system/vncserver@\:2.service ... ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' ExecStart=/sbin/runuser -l root -c "/usr/bin/vncserver %i -geometry 1024x768" PIDFile=/root/.vnc/%H%i.pid 설정파일 읽어오기 $ systemctl daemon-..
Squid 패키지 설치 $> yum install -y squid 설정파일 확인 $> vi /etc/squid/squid.conf ... acl 정책이름 (소스정보/목적지정보) (ip/class) acl proxy_net src 127.0.0.1/32 acl proxy_net src 1.2.3.4/24 * proxy_net이라는 정책으로, 소스IP가 127.0.0.1, 1.2.3.4에 대해서 적용 ... #ACL설정방법 http_access 적용방법 정책명 http_access allow proxy_net http_access deny all * 정책명이 proxy_net인 정보를 제외하고 모두 거부 ... #프록시 접근포트 http_port 8080 #캐쉬정보 cache_dir ufs /dev/shm/..
Centos7에서 vsftp 구성할때, 일반 사용자가 홈디렉토리 상단으로 올라오지 못하게 하는 chroot 옵션만 넣으면 FTP접근이 안됨. 응답 500 OOPS:vsftpd:refusing to run with writable root inside chroot() $> vi /etc/vsftpd/vsftpd.conf ... chroot_loca_user=YES ... 보통 이렇게만 설정하는데, Centos7(VSFTP 3.x)에서는 저렇게만 하면 접속이 안된다. 그래서 한줄 더 넣어줘야 한다. chroot가 적용된 사용자만 쓰기권한부여 하는 옵션.. $> vi /etc/vsftpd/vsftpd.conf ... allow_writeable_chroot=YES ... 그리고 나서 서비스 재시작 하면 원하는..
자주 사용하는 시스템 런레벨 런레벨 용도 0 종료 1 싱글사용자 2 다중사용자 (multi-user.target) 5 그래픽 환경 (graphic.target) 6 재부팅 Centos7에서는 아래 명령어로 변경 가능 (재부팅 후부터 반영) [root@localhost ~]# systemctl set-default graphical.target 현재환경에서 변경 [root@localhost ~]# systemctl isolate graphical.target 현재 사용중인 런레벨 확인 방법 who명령어로 확인 [root@localhost ~]# who -r run-level 3 2014-09-18 10:22 systemctl 명령어로 확인 [root@localhost ~]# systemctl get-def..
Harbor 설치 사양정보 hardware spec 최소사양 권장사양 CPU 2Core 4 Core Memory 4G 8G Disk 40GB 160GB software spec Software Version Docker 17.06.0 이상 Docker Compose 1.18.0 이상 Harbor설치 설치파일 다운로드 harbor설치파일 : Download URL : https://github.com/goharbor/harbor/releases docker-compose : download URL : https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m) 압축파일 해제 ># tar -xv..