본문 바로가기

반응형

변군이글루

[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-devel OpenLDAP 데이터베이스 설정 cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG chown ldap. /var/lib/ldap/DB_CONFIG $ cp /usr/share/openldap-servers/DB_CONFIG.example /var.. 더보기
[VPN] SoftEther VPN 설치 및 설정-2 SoftEther VPN 라우팅 테이블 설정 VPN Default Gateway(optional) VPN static routing table 설정 더보기
[리눅스] ubuntu snap package 사용 방법 snap package 사용 방법 명령어(snap) snap $ snap The snap command lets you install, configure, refresh and remove snaps. Snaps are packages that work across many different Linux distributions, enabling secure delivery and operation of the latest apps and utilities. Usage: snap [...] Commands can be classified as follows: Basics: find, info, install, list, remove ...more: refresh, revert, switch, disable.. 더보기
[VPN] SoftEther VPN 설치 및 설정-1 SoftEther VPN 설치 패키지 다운로드 : http://softether-download.com/en.aspx # cd /usr/local/src/ # wget https://www.softether-download.com/files/softether/v4.34-9745-rtm-2020.04.05-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz # tar xvfz softether-vpnserver-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz -C /usr/local/ # cd.. 더보기
[리눅스] nginx-module-vts 모듈 추가 Install Nginx Virtualhost Traffic Status module apt sourapt sources setting $ sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/mirror.kakao.com/g' /etc/apt/sources.list $ apt update APT 패키지툴을 이용하여 nginx 설치 $ apt install -yqq curl gnupg2 ca-certificates lsb-release $ echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" | sudo tee /etc/apt/sources.list.d/nginx.list .. 더보기
[zabbix] zabbix agent 패키지 다운로드 zabbix agent 패키지 다운로드 옵션 --downloadonly don't update, just download --downloaddir=DLDIR specifies an alternate directory to store packages ex) 지정한 디렉토리에 받기 yum install package -y --downloadonly --downloaddir=PATH 현재 디렉토리에 받기 yum install package -y --downloadonly --downloaddir=. 도커 컨테이너로 실행 $ docker run -it --rm --name centos_zabbix_file -v ${PWD}/zabbix_temp_file/:/app/ centos:7 bash [root@035fa.. 더보기
[Apache] PHP-FPM을 사용하여 MPM 작업자에서 Worker로 전환 Apache Server MPM prefork에서 worker로 변경 CentOS 7, Apache 2.4, PHP 5.4, MariaDB 5.5 Apache prefork 실행 중 $ httpd -V Server version: Apache/2.4.6 (CentOS) Server built: Apr 2 2020 13:13:23 Server's Module Magic Number: 20120211:24 Server loaded: APR 1.4.8, APR-UTIL 1.5.2 Compiled using: APR 1.4.8, APR-UTIL 1.5.2 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process coun.. 더보기
[zabbix] 자빅스 Mattermost 연동 (Webhook URL, Mattermost slack alert script) 자빅스 Mattermost 연동 zabbix_server.conf 설정 확인 : zabbix_server.conf 설정에 AlertScriptsPath 설정되어 있는지 확인합니다. $ vim /etc/zabbix/zabbix_server.conf ListenPort=10051 LogFile=/var/log/zabbix/zabbix_server.log LogFileSize=0 PidFile=/var/run/zabbix/zabbix_server.pid SocketDir=/var/run/zabbix DBHost=localhost DBName=zabbix DBUser=zabbix DBPassword=password SNMPTrapperFile=/var/log/snmptrap/snmptrap.log StartSN.. 더보기

반응형