* version check #openssl version * openSSL update version down & install # wget https://www.openssl.org/source/openssl-{version}.tar.gz # tar -xzvf openssl-{version}.tar.gz # cd {version}./ # ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib # make # make install * old openssl 이름 변경 # mv /usr/bin/openssl /usr/bin/openssl-{old-version} * 심볼릭 링크 생성 # ln -s /usr/local/ssl/bin..
1. 만료 일자 확인을 통해 추후 인증서 장애 방지를 위해 확인 2. zabbix 등의 모니터링 시스템으로 alert 발생 또는 nitice 정책 생성 해서 공유가 가능하게 안전 장치 필요 리눅스 ssl인증서 만료일 확인 방법 [root@server01 certs]# openssl x509 -in /path/cert.pem -noout -dates notBefore=Jul 21 00:00:00 2021 GMT notAfter=Aug 16 23:59:59 2022 GMT [root@server01 certs]#
Valid facility names are: auth authpriv for security information of a sensitive nature cron daemon ftp kern cannot be generated from userspace process, automatically converted to user lpr mail news syslog user uucp local0 to local7 security deprecated synonym for auth Valid level names are: emerg alert crit err warning notice info debug panic deprecated synonym for emerg error deprecated synonym..
pip config check python3 -m pip config debug ex). boto3 install pip3 install boto3 --trusted-host=pypi.org --trusted-host=pypi.python.org --trusted-host=files.pythonhosted.org --proxy=http://domain:3128 2. pip config file 생성 및 추가 #vi /etc/.pip.conf [global] proxy = http://domain.net:3128 trusted-host = pypi.org files.pythonhosted.org
yum install epel-release yum update yum -y install git gcc gcc-c++ ansible nodejs gettext device-mapper-persistent-data lvm2 bzip2 python3-pip python-docker wget nano yum -y install docker-ce systemctl start docker systemctl enable docker pip3 install --upgrade pip pip3 install setuptools_rust pip3 install wheel pip3 install docker-compose yum -y install libselinux-python3 cd /data git clone -b ..
네트워크 장비에서 아래 두 IP를 선언 해준다. 서버 리스트 hostname ip dhcp01 10.254.203.119 dhcp02 10.254.203.120 DHCP config dhcp01 /etc/dhcp/dhcp.conf include "/etc/dhcp/dhcpd.failover"; # SERVER FARM 10.254.203.0/25 subnet 10.254.203.0 netmask 255.255.255.128 { # range 10.254.203.119 10.254.203.120; option broadcast-address 10.254.203.127; option domain-name-servers 10.254.200.2; option routers 10.254.203.1; default..
조건 실시간 싱크 IDC Server → AWS Migration Server로 단방향 싱크 Lsync 사용 diagram migration data info src (IDC Server) : 192.168.0.1:/data/data_stage dst (AWS EC2) : /migration lsyncd config settings { logfile="/var/log/lsyncd/lsyncd.log", statusFile="/var/log/lsyncd/lsyncd-status.log", statusInterval = 60 } sync { default.rsyncssh, source="/data/data_stage", host="fendys@10.20.30.40", targetdir="/migration"..
L2 terminal length 0 (터미널 길이 0으로 하여 스크립트 점검 실시) show ver (버전 확인) show flash: (플래시 메모리 확인) show inventory (인벤토리 상태 확인) sh switch detail (Stack Switch 정보 확인) show proc cpu (CPU 상태 확인) show processes cpu history (시간별 CPU 상태 확인) show proc mem (메모리 상태 확인) show env all (팬,온도 상태 확인) show ntp status (NTP 상태 확인) show cdp nei (CDP 상태 확인_ show int status (인터페이스 상태 확인) show etherchannel sum (이더채널, 포트채널 상태 확..
- Total
- Today
- Yesterday
- CentOS 7 GUI
- cmd로 윈도우 계정 관리
- ILO
- ansible network
- 윈도우 cmd 계정 관리
- dl20 centos7
- cgroup
- DL20 GEN9 장비에 CentOS 7
- ansible ios
- linux command log
- ios ansible
- nutanix rac
- cisco ansible
- shell connmad log
- 리눅스 커맨드 로그남기기
- windows.old 강제삭제
- linux7 ntp
- ipmi
- dl20 g9 centos7 설치
- nxos ansible
- chrony
- dependency fail
- 특정 라인삭제
- centos7 ntp
- ISCSI 볼륨 RAC
- 윈도우서버 계정 관려
- dl20
- 특정 문구 치환
- cmd로 계정 생성
- vm rac
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |