본문 바로가기

반응형

전체 글

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.. 더보기
[보안] 리눅스 커널 로컬 권한 상승 취약점 보안 업데이트 권고 □ 개요 o 리눅스 커널의 af_packet에서 Race condition을 악용해 권한이 없는 로컬 사용자가 루트 권한을 얻도록 허용하는 취약점 (CVE-2016-8655)발견[1] o 해당 취약점에 영향을 받는 버전 사용자는 인가되지 않은 사용자가 루트 권한을 획득할 수 있으므로 해결방안에 따라 최신버전으로 업데이트 권고 □ 해당 시스템 o 영향을 받는 소프트웨어 - Linux Kernel 4.8.12 이전 버전을 사용하는 시스템 □ 해결 방안 o 해당 취약점에 해당되는 커널 버전 사용자는 최신 버전으로 업데이트 수행 [2] o 보안 업데이트가 공개된 운영체제를 운영하고 있을 경우, 참고 사이트의 내용을 참조하여 보안 업데이트 수행 - Debian [3] - Ubuntu [4] - Red Hat [5.. 더보기
[스크립트] thread dump && heap dump thread dump && heap dump vim TH_dump.sh #!/bin/bash PID=`ps -ef | grep java | awk '{print $2}'` #####thread dump #ps -ef | grep java| awk '{print $2}' | xargs kill -3 echo "Starting Thread Dump..." for(( i=0; i 더보기
[리눅스] GitLab root 초기 비밀번호 GitLab root 초기 비밀번호 - GitLab Version : 14.4.2 gitlab 로그 중간에 출력 docker-compose logs -f $ docker-compose logs -f ... gitlab | Notes: gitlab | Default admin account has been configured with following details: gitlab | Username: root gitlab | Password: You didn't opt-in to print initial root password to STDOUT. gitlab | Password stored to /etc/gitlab/initial_root_password. This file will be cleaned .. 더보기

728x90
반응형