본문 바로가기

전체 글

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.. 더보기
Recommended Hotfixes for XenServer Recommended Hotfixes for XenServer XenCenter를에서 XenServer 호스트에 핫픽스를 적용하는 방법(How to apply hotfix on XenServer host from XenCenter) https://support.citrix.com/article/CTX138373 XenServer에서 권장 핫픽스(Recommended Hotfixes for XenServer) https://support.citrix.com/article/CTX138115#XenServer%207.0 더보기
[리눅스] Citrix Xen 호스트 이름 변경 Citrix Xen 호스트 이름 변경 xe host-list [root@xenserver-woaicbud ~]$ xe host-list uuid ( RO) : 232407a8-fe8b-4574-842e-b5f2b2123b50 name-label ( RW): mgt-xenserver01 name-description ( RW): Default install xe host-set-hostname-live host-uuid=232407a8-fe8b-4574-842e-b5f2b2123b50 host-name=mgt-xenserver01 [root@xenserver-woaicbud ~]$ xe host-set-hostname-live host-uuid=232407a8-fe8b-4574-842e-b5f2b2123b.. 더보기
[원도우] IIS 웹로그 삭제 스크립트 IIS 웹로그 삭제 스크립트 1. 웹로그 삭제 스크립트 '180일이 지난 로그 파일을 삭제하는 VB스크립트 Option Explicit ' 삭제할 사이트 로그 파일들이 있는 폴더명을 저장할 변수 Dim strRootPath ' 폴더명 저장 변수에 실제 폴더명 문자열을 저장. WScript.arguments.item(0)은 VB스크립트 실행 시, ' 첫번째 인자(Parameter)를 가져옵니다. ' 저는 사이트ID를 받아오기 위해 strRootPath = "D:\LogFiles\W3SVC" & WScript.arguments.item(0) & "\" ' WScript.echo strRootPath - 폴더명을 Alert창으로 띄움. 개발용으로 사용하고, 주석처리 Const nDays = 180 ' 180이.. 더보기
[원도우] IIS 웹로그 압축 스크립트 IIS 웹로그 압축 스크립트 1. 사전 작업으로 7z 압축 프로그램 설치 2. 웹로그 압축 스크립트 'Do not use {{ 'strComputer = "." 'Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") 'Set colItems = objWMIService.ExecQuery("Select * from Win32_OperatingSystem") 'For Each objItem in colItems ' dtmLocalTime = objItem.LocalDateTime ' dtmMonth = Mid(dtmLocalTime, 5, 2) ' dtmDay = Mid(dtmLocalTime, 7, 2) ' dtmYear = .. 더보기
[원도우] rsync(cwRsync) 로그 동기화 rsync(cwRsync) 로그 동기화 1. rsync 설치 패키지 다운로드 : https://www.itefix.net/dl/cwRsync_5.5.0_x86_Free.zipcwRsync_5.5.0_x86_Free.zip 압축 해제 후 프로그램(C:\Program Files) 디렉토리로 복사 C:\Program Files\cwRsync 2. 백업 스크립트(BATCH) cls set PATH=C:\Program Files\cwRsync\bin rsync -avz /cygdrive/D/LogFiles/W3SVC1/ syslog.4wxyz.com::web01/api/ rsync -avz /cygdrive/D/LogFiles/W3SVC2/ syslog.4wxyz.com::web01/seat / rsync -av.. 더보기