본문 바로가기

728x90

전체 글

[기타] Confluence 책갈피 생성(anchor) Confluence 책갈피(anchor) 책갈피 생성(앵커 만들기) 장애 처리 프로세스 {anchor:앵커이름} ###{anchor 타이핑하면 아래와 같이 셀렉트 박스가 생긴다 책갈피 링크 설정(앵커에 대한 링크 만들기) 단축기 : Ctrl + K(연결 사입) 참고URL - confluence.atlassian.com/display/CONF55/Working+with+Anchors Working with Anchors - Confluence 5.5 - Atlassian Documentation Anchors are used to enable links to a specific location on a page. Anchor links can be especially useful when navigatin.. 더보기
[리눅스] 로케일(locale) 변경(charset 변경) 로케일(locale) 변경(charset 변경) 설정 가능한 로케일 목록 확인 localectl list-locales | grep -i ko_kr locale -a | grep -i ko_kr $ localectl list-locales | grep -i ko_kr ko_KR ko_KR.euckr ko_KR.utf8 (or) $ locale -a | grep -i ko_kr ko_KR ko_KR.euckr ko_KR.utf8 현재 설정되어 있는 locale 확인 $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en.. 더보기
[명령어] rsync 명령어 rsync 명령어 사용법(Push) rsync [OPTION...] SRC... [USER@]HOST::DEST rsync -avzhpgoq /data/resize_img/2021/{01,02,03,04,05} root@1.1.1.1:/data/resize_img/2021/ 옵션 설명 -v, --verbose increase verbosity -a, --archive archive mode; equals -rlptgoD (no -H,-A,-X) -r, --recursive recurse into directories -b, --backup make backups (see --suffix & --backup-dir) -u, --update skip files that are newer on the rece.. 더보기
[리눅스] 리눅스 password hashing 알고리즘 변경하기 패스워드 암호화 방식 확인 및 변경(/etc/passwd) 패스워드 암호화 알고리즘 확인 $ authconfig --test | grep hashing $ authconfig --test | grep password $ tail /etc/login.defs ... # Use SHA512 to encrypt password. ENCRYPT_METHOD SHA512 패스워드 암호화 알고리즘 변경(md5 > sha512 변경) $ authconfig --passalgo=sha512 --update 패스워드 변경일 수정 $ chage -d 0 유저네임 [참고] - 운영체제별 알고리즘 CentOS 5 : MD5 CentOS 6 : SHA512 CentOS 7 : SHA512 - 알고리즘별 시작 문자(/etc/sh.. 더보기
[리눅스] OpenLDAP cert(TLS/SSL) 적용 시 에러 OpenLDAP SSL(cert) 적용 시 에러 certs.ldif 생성 $ vim certs.ldif dn: cn=config changetype: modify replace: olcTLSCertificateFile olcTLSCertificateFile: /etc/openldap/certs/sangchul_kr_cert.pem dn: cn=config changetype: modify replace: olcTLSCertificateKeyFile olcTLSCertificateKeyFile: /etc/openldap/certs/sangchul_kr_key.pem 에러 ldap_modify: Other (e.g., implementation specific) error (80) $ ldapmodify -.. 더보기
[리눅스] Zabbix 로그 파일 시간 형식(Log time format) Zabbix 로그 파일 시간 형식(Log time format) zabbix agent 로그 tail -f /var/log/zabbix/zabbix_agentd.log $ tail -f /var/log/zabbix/zabbix_agentd.log | grep agent.ping 14938:20210624:114055.396 Requested [agent.ping] 14937:20210624:114155.373 Requested [agent.ping] 14939:20210624:114255.787 Requested [agent.ping] 14938:20210624:114355.987 Requested [agent.ping] 14939:20210624:114455.011 Requested [agent.pin.. 더보기
[리눅스] 자체 서명된 SSL 인증서 만들기(openssl) 자체 서명된 SSL 인증서 만들기(openssl) 인증서 생성 openssl req -newkey rsa:4096 \ -x509 \ -sha256 \ -days 3650 \ -nodes \ -out www_sangchul_kr.crt \ -keyout www_sangchul_kr.key \ -subj "/C=KR/ST=Seoul/L=Jongno-gu/O=SangChul Co., Ltd./OU=Infrastructure Team/CN=www.sangchul.kr" $ openssl req -newkey rsa:4096 \ > -x509 \ > -sha256 \ > -days 3650 \ > -nodes \ > -out www_sangchul_kr.crt \ > -keyout www_sangchul_kr.k.. 더보기
[리눅스] OpenSSL 최신 버전으로 업그레이드(설치) OpenSSL 최신 버전으로 업그레이드 CentOS 7 OpenSSL 지원 프로토콜 확인 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) $ openssl version OpenSSL 1.0.2k-fips 26 Jan 2017 $ openssl ciphers -v | awk '{print $2}' | sort | uniq SSLv3 TLSv1.2 OpenSSL 삭제 yum remove openssl 기본 라이브러리 설치 yum install gcc gcc-c++ pcre-devel zlib-devel perl wget OpenSSL Downloads https://www.openssl.org/source/ 소스 컴파일 설치 wget http.. 더보기

728x90