본문 바로가기

반응형

전체 글

[네임서버] BIND(named)에서 GeoIP 기능 사용하기 named(bind)에 geoip 기능 사용하기 yum install gcc epel-release yum install zlib-devel openssl-devel yum install GeoIP GeoIP-devel yum install bind bind-utils [bind download site] http://ftp.isc.org/isc/bind9/9.10.4-P6/ cd /usr/local/src/ wget http://ftp.isc.org/isc/bind9/9.10.4-P6/bind-9.10.4-P6.tar.gz tar xfz bind-9.10.4-P6.tar.gz cd bind-9.10.4-P6 ./configure --prefix=/usr/local/bind-9.10.4-P6 --sysc.. 더보기
[리눅스] nginx + tomcat(멀티 인스턴스) 설치 nginx + tomcat(멀티 인스턴스) 설치 1. nginx 설치 yum install pcre-devel zlib-devel openssl-devel mkdir /app cd /app/ tar xvfz nginx-1.10.3.tar.gz cd nginx-1.10.3 ./configure --prefix=/app/nginx --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module make && make install cd /app/nginx/sbin/ /app/nginx/sbin/nginx ps -ef | grep nginx $ ps -ef | grep nginx root 12446 1 0 17:33 ? 0.. 더보기
[리눅스] Scouter Host Agent 설치 Scouter Host Agent 설치 Scouter 다운로드(https://github.com/scouter-project/scouter/releases) cd /app tar xvfz scouter.agent.tar.gz chown -R tomcat.tomcat /app/scouter su - tomcat vi .bashrc ## JAVA_HOME export JAVA_HOME="/app/java" export PATH="$PATH:$JAVA_HOME/bin" cd /app/scouter/agent.host/conf vi scouter.conf $ vi scouter.conf # Scouter Server IP Address (Default : 127.0.0.1) net_collector_ip=10... 더보기
[리눅스] Scouter Server 설치 Scouter Server 설치 scouter 다운로드(https://github.com/scouter-project/scouter/releases) cd /app tar xvfz scouter.server.tar.gz vi /app/scouter/server/conf/scouter.conf # Agent Control and Service Port(Default : TCP 6100) net_tcp_listen_port=6100 # UDP Receive Port(Default : 6100) net_udp_listen_port=6100 # DB directory(Default : ./database) db_dir=/app/scouter/server/database # Log directory(Default.. 더보기
[원도우] 윈도우10에서 Bash shell 사용하기 윈도우10에서 Bash shell 사용하기 C:\Users\Administrator>bash -- 베타 기능 -- 이렇게 하면 Canonical에서 배포하고 다음에서 사용 가능한조건에 따라 사용이 허가되는 Ubuntu가 Windows에 설치됩니다. https://aka.ms/uowterms 이 기능을 사용하려면 개발자 모드가 사용하도록 설정되어 있어야 합니다. C:\Users\Administrator> 개발자 모드 설정 Windows 설정 > 업데이트 및 복구 > 개발자용 > 개발자 기능 사용 "개발자 모드" C:\Users\Administrator>bash -- 베타 기능 -- 이렇게 하면 Canonical에서 배포하고 다음에서 사용 가능한조건에 따라 사용이 허가되는 Ubuntu가 Windows에 설치.. 더보기
OpenSSL을 소스 코드를 사용하여 컴파일하고 업그레이드하는 방법 OpenSSL을 소스 코드를 사용하여 컴파일하고 업그레이드하는 방법 다운로드 링크(https://www.openssl.org/source/) 1. OpenSSL 소스 코드 다운로드 및 압축 해제 wget https://www.openssl.org/source/openssl-1.1.0e.tar.gz tar xvfz openssl-1.1.0e.tar.gz 2. 컴파일 및 설치 cd openssl-1.1.0e ./config make make install which openssl $ which openssl /usr/local/bin/openssl 3. 라이브러리 등록 export LD_LIBRARY_PATH=/usr/local/lib64 (or) ln -s /usr/local/lib64/libssl.so... 더보기
iptables 에러 iptables 에러 $ service iptables start iptables: No config file. [주의] "iptables: No config file" 오류는 iptables가 설정 파일을 찾지 못할 때 발생합니다. 1. 설정 파일 확인(config file 확인) iptables 설정 파일이 있는지 확인하세요. 대부분의 시스템에서는 /etc/sysconfig/iptables를 사용합니다. ls /etc/sysconfig/iptables 2. 설정 파일 생성 설정 파일이 없는 경우 새로운 설정 파일을 생성할 수 있습니다. touch /etc/sysconfig/iptables (또는) sudo iptables-save > /etc/sysconfig/iptables 현재 iptables 규.. 더보기
[원도우] IIS 다중에 보안 사이트(도메인) 올리기 IIS 다중에 보안 사이트(도메인) 올리기 IIS 8.0 서버 이름 표시(SNI, Server Name Indication): SSL 확장성기존 IIS(IIS 7.5 이하)에서는 보안사이트(https)를 단일 도메인만 사용할 수 있었다.그러나 IIS 8.0 버전부터는 서버 이름 표시(Server Name Indication) 기능이 제공되어 다중의 보안사이트(https)를 한 서버에서 올릴 수 있다. 참고URL - IIS 8, SNI(서버 이름 표시) 지원 : http://wareway.net/archives/3845 - IIS 8.0 서버 이름 표시(SNI, Server Name Indication) SSL 확장성 : http://www.egocube.pe.kr/Translation/Content/ii.. 더보기

728x90
반응형