control c + control v

Configure LDAP on CentOS 7 – Client

ldap 클라이언트 설치 [root@172-19-10-50 /]# yum install openldap-clients nss-pam-ldapd authconfig authconfig –enableldap –enableldapauth –ldapserver=ldap_server_ip_or_domain –ldapbasedn=”dc=dc_name,dc=dc_name” –enablemkhomedir –update ex) [root@172-19-10-50 /]# authconfig –enableldap –enableldapauth –ldapserver=ldap.umount.local –ldapbasedn=”dc=umount,dc=local” –enablemkhomedir –update 시작 등록 및...

Configure LDAP on CentOS 7 – Server

ldap 설치 [root@10-19-10-245 /]# yum install openldap-servers openldap-clients nss-pam-ldapd   Berkeley DB 파일 복사 [root@10-19-10-245 /]# cp -p /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG   ldap 서버 설정파일 복사 [root@10-19-10-245 /]# cp -p /usr/share/openldap-servers/slapd.conf.obsolete...

Configure php-fpm template on Zabbix

참고 URL https://github.com/jizhang/zabbix-templates php-fpm.conf 파일 수정 : vi /data/apps/ln/php/etc/php-fpm.conf (아래 라인 추가) pm.status_path = /fpm_status nginx site config 파일 생성 : vi /data/apps/ln/nginx/conf/sites-enabled/php_status.conf server { listen 10061; location /fpm_status {...

Configure nginx template on Zabbix

참고 URL https://github.com/zbal/zabbix nginx site config 파일 생성 : vi /data/apps/ln/nginx/conf/sites-enabled/nginx_status.conf server { listen 10061; location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; deny all; } } nginx 재시작...