Xinetd 데몬과 연동해서 하던 rsync 가 Cent7에서는 좀 바뀐듯 함설치yum install rsyncrsync 서버 설정 (Centos7)vim /etc/rsyncd.conf (설정파일) uid = notify gid = notify use chroot = yes max connections = 20 pid file = /var/run/rsyncd.pid log file = /var/log/rsyncd.log transfer logging = yes timeout = 45 hosts allow = 192.168.10.0/24 read only = no reverse lookup = no [test] path = /home/testrsync 데몬 실행systemctl enable ..
https://www.ntppool.org/ko
구글 google 이 타임서버 제공함 단순 클라이언트 동기화 ntpdate 설치 yum install ntpdate시간동기화 [root@localhost ~]# ntpdate time.google.com 28 May 16:13:41 ntpdate[3397]: adjust time server 아이피 offset 0.005256 sec하루?에 한번? crond 스케줄러에 등록하면 될듯? 하다 내 서버를 ntp 서버 로 구성할때 ntp 서버를 구글꺼로 이용하기 서버가 많은 경우 자기 서버 1대를 NTP-Server 로 구성해놓고 다른 서버들을 동기화 하는것이 속도면? 에서 좋을듯... 다른 타임서버의 경우 많이 접근하는 경우 refues 되는 경우도 있으니 검색해보면 ntp 관련 취약점이 많이 나오니 가상서..
nginx 버전 정보 감추기 http { server_tokens off; }vhost 설정 위한 디렉토리 생성 및 지정 http { include sites-enabled/*; } include /etc/nginx/conf.d/*.conf; 이 디렉토리 안에 넣는것과 차이점? 아이피 차단 server { allow 192.168.0.0/24; deny all; } 192.168.0.0/24 아이피 대역을 제외하고 차단 디렉토리 차단 location ~ /(inc|local)/.* { deny all; return 404; }설정된 도메인 이외 차단 server { listen 80 default; server_name _; location / { deny all; return 406; } }도메인 리다..
참고 사이트 https://forteleaf.tistory.com/entry/nginx-php71-phpfpm-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0 https://www.hostinger.com/tutorials/how-to-install-lemp-centos7테스트 환경 CentOS7 php 7.3.5 버전 nginx 1.12.2nginx 설치 특별한 저장소 필요 yum install epel-release yum install nginxphp-fpm 설치 yum install php-fpm 기본저장소 외에 PHP 패키지 종류 및 버전은 따로 설치가 필요하다 nginx 설정 vim /etc/nginx/conf.d/default.conf (파일생성) server { liste..
원문 링크 (참고함) http://anti1346.egloos.com/v/4565634 telnet 192.168.0.1 1212 Trying 192.168.0.1... Connected to 192.168.0.1. Escape character is '^]'. (생략) Connection closed by foreign host. Escape character is '^]'. 떠야 정상적으로 통신 테스트 가능한 상태 보이지 않는다면 방화벽 혹은 프로세스 체크 확인 필요 netstat -anlp | grep IP tcp 0 0 192.168.0.2:60426 192.168.0.1:1212 ESTABLISHED 19658/telnet netstat 에서 상태 확인까지 하면 완벽
gitlab 설치 (참고링크) https://about.gitlab.com/install/ https://docs.gitlab.com/omnibus/settings/ssl.html#lets-encrypthttpsletsencryptorg-integrationgitlab 운영 (참고링크) https://wikidocs.net/16279gitlab 설치 (centos7 기준) GIT yum repo 설치 (최신버전) yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-1.noarch.rpmgit 설치 yum install git git --version git version 2.22.0git 에서 필요한 패..
참고사이트 https://www.joinc.co.kr/w/Site/system_programing/proc/GetSMSInfoproc 정보 원문 링크 http://egloos.zum.com/powerenter/v/10949008 /proc/cmdline 부트 로더에서 넘어온 커널 아규먼트 정보 /proc/cpuinfo 프로세서 정보. CPU 타입, 모델, 제조사 등 /proc/devices 현재 로드된 디바이스정보 /proc/fb frame buffer 정보 /proc/filesystems 지원하는 filesystem /proc/interrupts 장치가 사용중인 인터럽트(IRQ) 목록 표시 /proc/iomem Memory Map /proc/ioports 현재 사용중인 Input/Output 포트 /p..
monit 공식홈페이지 [https://mmonit.com/monit/](https://mmonit.com/monit/)메뉴얼 [https://mmonit.com/monit/documentation/monit.html](https://mmonit.com/monit/documentation/monit.html)특별한 저장소 설치 (기본 repo 에는 없음) yum install epel-releasemonit 설치 yum install monit높은 버전은 위 공식 홈페이지 접근하여서 바이러니나 소스 설치 필요함 monit 설정 파일 /etc/monit.confset daemon 30 # 30초 마다 데몬 체크 monit 시작 service monit start 로그 위치 cat /var/log/monit..
- Total
- Today
- Yesterday
- Apache
- php
- 리눅스
- centos8
- cURL
- SSL
- ssh
- gitlab
- yum
- 베이어다이나믹
- virtualbox
- GeoIP
- NGINX
- kvm
- 인증서
- MySQL
- IPSEC
- ntp
- galera
- glusterfs
- OpenVPN
- HAProxy
- WAF
- softether
- L2TP
- mod_security
- pptp
- iptables
- centOS7
- mariadb
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |