목록분류 전체보기 (1395)
변군이글루(Mirror)

Ubuntu LTS(Long Term Support) releases cycle Ubuntu LTS(Long Term Support) 버전은 장기 지원 버전으로서, 일반적으로 특정 기간 동안 지원과 업데이트를 제공하는 버전입니다. Ubuntu LTS 버전의 주요 특징은 다음과 같습니다. 장기 지원 기간: Ubuntu LTS 버전은 일반 버전과 달리 장기 지원을 제공합니다. 이는 일반 버전의 9개월 지원 기간과는 달리, 5년(이전에는 5년 이상일 수도 있었습니다) 동안 지원됩니다. 이는 서버와 엔터프라이즈 환경에서의 안정성과 신뢰성을 강조하는 것입니다. 정기적인 보안 및 업데이트 지원: Ubuntu LTS 버전은 보안 업데이트, 버그 수정 및 패키지 업데이트를 정기적으로 제공합니다. 이는 사용자들이 최신 ..

원도우 Hostname, Model, SerialNumber 확인 명령어 Hostname, Model get-wmiobject win32_computersystem | Select-Object Model SerialNumber Get-WMIObject Win32_BIOS | Select-Object SerialNumber CPU INFO get-wmiObject win32_processor CPU Socket get-wmiObject win32_processor | findstr SocketDesignation CPU Cores get-wmiObject win32_processor | findstr NumberOfCores CPU HTT get-wmiObject win32_processor | finds..

ping check 스크립트 vim pingcheck.sh #!/bin/bash while true; do if ping -c 1 192.168.2.1 >/dev/null; then echo "$(date '+%Y-%m-%d %H:%M:%S') : Success" >> tempfile else echo "$(date '+%Y-%m-%d %H:%M:%S') : Fail" >> tempfile fi sleep 1 done 이제 위의 코드는 1초마다 192.168.2.1에 대한 ping을 수행하고 결과를 tempfile에 기록하는 스크립트로 사용할 수 있습니다. chmod +x pingcheck.sh bash pingcheck.sh & $ tail -f tempfile 2015-03-27 13:41:35 : ..

Apache와 Nginx 웹 서버에서 리다이렉션(redirect) 설정하는 방법 Apache 웹 서버에서 리다이렉션 설정 rewrite 모듈 활성화 httpd.conf 편집 vim httpd.conf LoadModule rewrite_module modules/mod_rewrite.so mod_rewrite.so 모듈 확인 httpd -M | egrep -i rewrite $ httpd -M | egrep -i rewrite rewrite_module (shared) http에서 https로 리다이렉트 설정 ... RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L] #RewriteRule ..

FTP를 사용하여 파일을 업로드하는 스크립트 ftp.sh 스크립트 작성 vim ftp.sh #!/bin/bash # 현재 날짜를 YYYYMMDD 형식으로 저장 DATE=$(date -d today +%Y%m%d) # 동기화할 서버 목록을 변수에 저장 SERVER_LIST=" relay2.scbyun.com #relay3.scbyun.com relay4.scbyun.com relay5.scbyun.com relay6.scbyun.com relay7.scbyun.com relay8.scbyun.com relay9.scbyun.com relay10.scbyun.com " # FTP 계정 정보 설정 USER='xman' PASSWD='dusrnth2001' # 동기화할 파일 패턴 설정 FILE="$DATE*.l..

원도우 robocopy 명령어 사용 방법 사용 예) robocopy N:\remoteDIR C:\Users\Administrator\Documents\NetSarang\Xshell\Sessions /MIR robocopy 사용법 robocopy /? 참고URL - robocopy 명령어 사용 방법 : https://scbyun.com/489 - Windows Server 2003 Resource Kit Tools : http://www.microsoft.com/en-us/download/details.aspx?id=17657 - Microsoft Robocopy GUI 3.1.2 : http://www.updatestar.com/ko/directdownload/microsoft-robocopy-gui/1..

원격 데스크톱 포트 추가하기(13389 포트 추가) 1. 레지스트리 키 복사하여 새로운 키 생성 REG COPY "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-13389" /f 2. 새로운 키에서 TCP 포트 변경 REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-13389" /v PortNumber /t REG_DWORD /d 13389 /f 3. 방화벽 허용 - 윈도우 XP, 2003 계열 nets..

좀비 프로세스(zombie processes)를 찾고 종료하는 방법 좀비 프로세스(Zombie Process)는 컴퓨터 운영 체제에서 발생하는 프로세스 상태 중 하나입니다. 이 상태는 프로세스가 이미 종료되었지만 해당 프로세스의 종료 상태(Exit Status)를 부모 프로세스에게 전달 중인 상태를 나타냅니다. 이러한 종료 상태 전달은 부모 프로세스가 자식 프로세스의 종료 상태를 확인하고 해당 정보를 수집하기 위해 필요합니다. 좀비 프로세스가 발생하는 과정은 다음과 같습니다. 부모 프로세스가 자식 프로세스를 생성합니다. 자식 프로세스가 작업을 수행하고 종료되면 그 종료 상태(Exit Status)는 시스템에 남아 있습니다. 부모 프로세스는 wait() 또는 waitpid() 함수를 사용하여 자식 프로세스..