변군이글루 썸네일형 리스트형 [LDAP] OpenLDAP 설치 및 구성 OpenLDAP 설치 및 구성OpenLDAP 설치yum install -y compat-openldap openldap openldap-servers openldap-clients$ yum install -y compat-openldap openldap openldap-servers openldap-clients openldap-servers-sql openldap-develOpenLDAP 데이터베이스 설정cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIGchown ldap. /var/lib/ldap/DB_CONFIG$ cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ld.. 더보기 [url] Google 관리 콘솔 도구 상자(toolbox) - Dig Google 관리 콘솔 도구 상자(toolbox) - Dighttps://toolbox.googleapps.com/apps/dig/ 더보기 리눅스 sipcalc 명령어 사용법 정리 리눅스 sipcalc 명령어 사용법 정리sipcalc는 IPv4 및 IPv6 네트워크 서브넷 정보를 계산하는 유틸리티입니다. IP 주소 또는 CIDR 표기를 입력하면 다음과 같은 네트워크 정보를 쉽게 확인할 수 있습니다.서브넷 마스크네트워크 주소브로드캐스트 주소사용 가능한 호스트 범위CIDR 정보서브넷 분할네트워크 설계, IP 주소 계획(IP Planning), 서브넷 계산 시 매우 유용한 도구입니다.1. sipcalc 설치운영체제 패키지 관리자를 이용하여 설치할 수 있습니다. Ubuntu/Debiansudo apt-get install sipcalcCentOS/RHELsudo yum install sipcalcArch Linuxsudo pacman -S sipcalc설치 확인sipcalc --versi.. 더보기 ab(Apache Bench) tools 에러 ab(Apache Bench) tools 에러ab 명령어Usageab [options] [http[s]://]hostname[:port]/pathOptions are: -n requests Number of requests to perform (= 요청수)-c concurrency Number of multiple requests to make at a time (=동시 요청수(사용자))-t timelimit Seconds to max. to spend on benchmarking This implies -n 50000 -s timeout Seconds to max. wait for each response Default is 30 secondsab 에러ab -c 10000 -n 1000 http://l.. 더보기 CentOS 8에서 네트워크 재기동하는 방법 CentOS 8에서 네트워크 재기동하는 방법CentOS 8부터는 네트워크 관리의 중심이 NetworkManager로 완전히 통합되었습니다.기존 network.service 기반 방식은 더 이상 권장되지 않으며 ifdown / ifup 명령어 역시 NetworkManager를 내부적으로 호출하는 형태로 동작합니다.1. NetworkManager 서비스 재기동systemctl restart NetworkManager.servicesystemctl status NetworkManager.service2. ifdown / ifup 명령어 사용 (인터페이스 단위)CentOS 8에서는 ifdown, ifup 명령어가 완전히 제거되지 않았지만 실제로는 NetworkManager와 연동(D-Bus) 되어 동작합니다. .. 더보기 Let's Encrypt을 사용하여 SSL 인증서를 발급 - WEBROOT Let's Encrypt(certbot)을 사용하여 SSL 인증서를 발급 - WEBROOTWEBROOT 방식의 개요WEBROOT 방식은 도메인 소유권을 인증하기 위해, 웹 서버의 특정 경로에 인증용 파일을 생성하여 Let's Encrypt 서버가 이를 확인할 수 있도록 합니다.EPEL 패키지 설치sudo yum install -y epel-releaseCertbot 패키지 설치 및 디렉터리 권한 설정sudo yum install -y certbotmkdir -p /var/lib/letsencrypt/.well-knowncd /var/libchgrp nobody letsencryptchmod g+s letsencryptSSL 인증서 발급 - WEBROOT 방식sudo certbot certonly \ --.. 더보기 VMware ESXi 7.x에서 호스트 서버 시간을 설정하는 방법 VMware ESXi 7.x에서 호스트 서버 시간을 설정하는 방법vSphere 클라이언트 또는 VMware ESXi 웹 인터페이스에 로그인합니다.호스트 서버를 선택하고 "구성(Configuration)" 탭으로 이동합니다."시간 구성(Time Configuration)" 섹션으로 이동합니다."시간 설정(Time Settings)" 옵션을 선택합니다."시간 서버(Time Server)" 옵션에서 "NTP 서버(NTP Server)"를 선택합니다.사용할 NTP 서버 주소를 입력합니다. 예를 들어, "pool.ntp.org"와 같은 공개 NTP 서버를 사용할 수 있습니다."옵션(Options)"에서 "NTP 서버에 연결할 때 시스템 클럭 동기화(Synchronize guest time with host)" 옵.. 더보기 Bash 색상 출력 (Bash Colors) Bash 색상 출력 (Bash Colors)Bash 스크립트에서는 컬러 출력(Color Output)을 사용하여 로그, 메시지, 경고 등을 보다 쉽게 구분할 수 있습니다. 컬러 출력은 주로 두 가지 방법 사용tput 명령어 사용ANSI Escape Code 사용1. tput 명령어를 이용한 색상 출력tput 명령어는 터미널의 색상 설정을 제어할 수 있는 도구입니다. 스크립트 작성vim z.sh#!/bin/bashcolor_reset=$(tput sgr0)color_red=$(tput setaf 1)color_blue=$(tput setaf 4)echo "${color_red}sangchul.kr${color_reset}"echo "${color_blue}sangchul.kr${color_reset}"스크.. 더보기 이전 1 ··· 26 27 28 29 30 31 32 ··· 64 다음