본문 바로가기

반응형

CentOS7

C276x260 [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.. 더보기
C276x260 CentOS 7에서 OpenSSL을 최신 버전으로 업그레이드하는 방법 CentOS 7에서 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/ 소스.. 더보기
C276x260 CentOS 7에서 PHP Redis 확장 모듈을 설치하는 방법 CentOS 7에서 PHP Redis 확장(Extension) 모듈을 설치하는 방법phpredis는 PHP에서 Redis를 쉽게 사용할 수 있도록 해주는 확장 모듈입니다. 필요한 패키지 설치sudo yum install -y gcc make autoconf jemalloc tclRedis 패키지 설치sudo yum install -y redissudo systemctl --now enable redisredis-cli --versionredis-cli -h 127.0.0.1 -p 6379 pingPHP Redis Extension 모듈 설치phpredis 다운로드 및 압축 해제GitHub에서 phpredis 모듈을 다운로드하고 압축을 해제합니다.cd /usr/local/srcwget https://git.. 더보기
C276x260 CentOS 7에서 Terraform을 설치하는 방법 CentOS 7에서 Terraform을 설치하는 방법Terraform은 HashiCorp에서 제공하는 IaC(Infrastructure as Code) 도구로 클라우드 및 온프레미스 인프라를 코드로 관리할 수 있습니다.Terraform 설치yum-utils 설치yum install -y yum-utilsHashiCorp Repository 추가yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repoTerraform 설치yum install -y terraform설치 확인terraform -versionTerraform v0.14.5기본 사용법도움말 확인$ terraform -helpUsage: terraform.. 더보기
C276x260 CentOS 7에서 SoftEther VPN 클라이언트를 설치하는 방법-2 CentOS 7에서 SoftEther VPN 클라이언트를 설치하는 방법1. EPEL 저장소 설치CentOS 7에서 SoftEther VPN 클라이언트를 설치하기 위해 EPEL 저장소 (Extra Packages for Enterprise Linux)를 설치하면 편리합니다.sudo yum install epel-release2. 필수 라이브러스 설치sudo yum install -y gcc zlib-devel openssl-devel readline-devel ncurses-develSoftEther VPN Client 설치https://sangchul.kr/874SoftEther VPN 클라이언트 아이피 할당(매뉴얼)dhclient 프로세스 제거killadd dhclient아이피 할당ifconfig vp.. 더보기
C276x260 CentOS7에서 시스템 메시지 로그 필터링 CentOS7에서 시스템 메시지 로그 필터링Environment$ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core)Issue/var/log/messagestail -f /var/log/messages$ tail -f /var/log/messagesDec 18 12:15:01 bvm-24 systemd: Started Session 6988 of user root.Dec 18 12:20:01 bvm-24 systemd: Started Session 6989 of user root.Dec 18 12:25:01 bvm-24 systemd: Started Session 6990 of user root.Dec 18 12:25:40 bvm-24 system.. 더보기
C276x260 CentOS End of Lifetime (EOL) Dates CentOS End of Lifetime (EOL) Dates CentOS 수명 종료 날짜 RHEL 9 계획 가이드 RHEL의 복제로서 CentOS는 사라진다. CentOS Stream은 검증용이므로 안정성이 떨어질 수 있다. CentOS Stream은 RHEL의 베타 테스트 플랫폼이 아니다. Fedora는 RHEL의 메이저 릴리즈를 테스트하는 역할이고, CentOS Stream은 RHEL 마이너 릴리즈에 초점을 둔다. 발췌(RHEL 클론 '센트OS' 사라진다) : https://zdnet.co.kr/view/?no=20201209151925 참고URL - Red Hat Customer Portal : https://access.redhat.com/documentation/ko-kr/red_hat_ent.. 더보기
C276x260 Amazon Linux 2에서 rc-local 서비스를 활성화하는 방법 Amazon Linux 2에서 rc-local(rc.local) 서비스를 활성화하는 방법rc-local 서비스 상태 확인$ systemctl status rc-local.service● rc-local.service - /etc/rc.d/rc.local Compatibility Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static; vendor preset: disabled) Active: inactive (dead)rc-local.service(/lib/systemd/system/rc-local.service) 파일 확인이 스크립트가 부팅 중에 실행되도록 하려면 'chmod +x /etc/rc.d/rc.local'을 실행해야 합니다... 더보기

728x90
반응형