본문 바로가기

반응형

전체 글

C276x260 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... 더보기
C276x260 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 규.. 더보기
C276x260 [원도우] 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.. 더보기
C276x260 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 더보기
C276x260 Citrix XenServer에서 호스트 이름을 변경하는 방법 Citrix XenServer에서 호스트 이름을 변경하는 방법1. 현재 XenServer 호스트 목록 확인XenServer 호스트의 현재 UUID와 이름을 확인합니다.xe host-list[root@xenserver-woaicbud ~]$ xe host-listuuid ( RO) : 232407a8-fe8b-4574-842e-b5f2b2123b50 name-label ( RW): mgt-xenserver01 name-description ( RW): Default installUUID : 232407a8-fe8b-4574-842e-b5f2b2123b50호스트 이름 : mgt-xenserver012. 호스트 이름 변경XenServer CLI에서 xe host.. 더보기
C276x260 원도우 IIS 웹로그 삭제 스크립트 원도우 IIS 웹로그 삭제 스크립트웹로그 삭제 스크립트이 스크립트는 180일이 지난 로그 파일을 삭제하는 기능을 수행합니다.Option Explicit' ConstantsConst nDays = 180 ' 180일을 상수로 정의' ArgumentsDim strRootPathstrRootPath = "D:\LogFiles\W3SVC" & WScript.arguments.item(0) & "\"' FileSystemObject 생성Dim wFSOSet wFSO = CreateObject("Scripting.FileSystemObject")' 지정된 폴더에 대한 Folder 객체 생성Dim wFolderSet wFolder = wFSO.GetFolder(strRootPath)' 폴더 내 파일들을 순회하면서.. 더보기
C276x260 IIS 웹로그 압축 스크립트 IIS 웹로그 압축 스크립트(VBScript)사용 전 체크리스트7-Zip 설치 경로 확인C:\Program Files\7-Zip\7z.exe 경로가 정확한지 확인합니다.압축 포맷기본적으로 .7z 압축을 사용하며 gzip .gz를 원한다면 gzip.exe를 따로 사용하거나 7z의 gzip 포맷 지정이 필요합니다.IIS 웹로그 압축 스크립트' IIS 웹로그 압축 스크립트' 최근 30일간의 일/시간 단위 로그 파일을 찾아 7z로 압축 후 원본 삭제Option ExplicitDim zipCmd, logDir, fso, shellSet fso = CreateObject("Scripting.FileSystemObject")Set shell = CreateObject("WScript.Shell")zipCmd = "".. 더보기
C276x260 cwRsync를 사용하여 로그 파일을 동기화하는 방법 cwRsync를 사용하여 로그 파일을 동기화하는 방법cwRsync는 Windows용 rsync 클라이언트로, rsync를 사용하여 파일을 동기화할 수 있습니다.1. cwRsync 다운로드 및 설치패키지 다운로드 : https://www.itefix.net/dl/cwRsync_5.5.0_x86_Free.zipcwRsync_5.5.0_x86_Free.zip 파일을 다운로드하여 압축을 풉니다.압축을 풀면 cwRsync 폴더가 생성됩니다.C:\Program Files\cwRsync2. 백업 스크립트(BATCH)clsset PATH=C:\Program Files\cwRsync\binrsync -avz /cygdrive/D/LogFiles/W3SVC1/ syslog.4wxyz.com::web01/api/rsync .. 더보기

728x90
반응형