본문 바로가기

728x90

전체 글

[원도우] DOS Command Index DOS Command Index Windows Version : Microsoft Windows [Version 6.1.7601] Document Source : http://www.dostips.com http://www.dostips.com/DosCommandIndex.bat.php Created by : DosCommandIndex.bat Source Code below ASSOC Displays or modifies file extension associations. ATTRIB Displays or changes file attributes. BREAK Sets or clears extended CTRL+C checking. BCDEDIT Sets properties in boot databas.. 더보기
오라클 데이터베이스의 버전 정보를 확인 오라클 데이터베이스의 버전 정보를 확인 SYSDBA 권한으로 로그인 sqlplus / as sysdba $ sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Tue Apr 14 16:22:09 2015 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production With the Partitioning, OLAP and Data Mining options 오라클 버전 정보 확인 select * from v$version; SQL> select .. 더보기
hpacucli 유틸리티 hpacucli 유틸리티 hpacucli 유틸리티를 사용하여 HP Smart Array 컨트롤러에서 RAID를 구성하는 예시입니다. 1. hpacucli 다운로드 wget http://downloads.linux.hp.com/SDR/downloads/ServicePackforProLiant/RedHatEnterpriseServer/5.7Server/x86_64/2013.02.0/hpacucli-9.40-12.0.x86_64.rpm yum install hpacucli-9.40-12.0.x86_64.rpm 2. Array Card hpacucli ctrl all show $ hpacucli ctrl all show Smart Array P400 in Slot 0 (Embedded) Smart Array P.. 더보기
Amazon CloudWatch Agent 설치 Amazon CloudWatch Agent 설치 Cloudwatch에서는 메모리 및 디스크 사용률에 대해서 모니터링이 불가능하여 EC2의 메모리 및 디스크 사용률을 보기 위해서는 Cloudwatch Agent로 메트릭을 수집하여 모니터링할 수 있습니다. AWS CloudWatch Agent 설치 작업 순서 IAM Role 설정 EC2 인스턴스에 IAM Role 연결 EC2 인스턴스에 CloudWatch Agent 설치 CloudWatch Agent로 메모리 사용량 확인 IAM 역할 설정(생성) IAM 기존 역할에 CloudWatchAgentServerPolicy 정책 추가 IAM > 액세스 관리 > 정책 > 기존 역할 > 권한 추가 > 정책 연결 > CloudWatchAgentServerPolicy, A.. 더보기
hpacucli 유틸리티(hpacucli 명령어) hpacucli 유틸리티 HP Smart Array 컨트롤러를 구성하고 관리하기 위한 hpacucli 명령어의 예시 컨트롤러 명령 컨트롤러의 세부 정보 표시 hpacucli> ctrl all show config hpacucli> ctrl all show config detail 컨트롤러의 상태 표시 hpacucli> ctrl all show status 캐시 활성화 또는 비활성화 hpacucli> ctrl slot=0 modify dwc=disable hpacucli> ctrl slot=0 modify dwc=enable 마지막 재검사 후 새로 추가된 장치 탐지 hpacucli> rescan 물리적 드라이브 명령 물리적 드라이브의 세부 정보 표시 hpacucli> ctrl slot=0 pd all sh.. 더보기
389 Directory Server 오류 389 Directory Server 오류 $ service dirsrv-admin restart Shutting down dirsrv-admin: Starting dirsrv-admin: httpd.worker: apr_sockaddr_info_get() failed for lvm02 httpd.worker: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName Server failed to start !!! Please check errors log for problems [실패] 제시된 오류 메시지에서 몇 가지 주요 문제를 식별할 수 있습니다. 주로 Apache HTTP .. 더보기
리눅스에서 라우팅을 추가하는 방법 리눅스에서 라우팅을 추가하는 방법1. ip route 명령어 사용하기ip route 명령어를 사용하여 라우팅 테이블에 경로를 추가할 수 있습니다. 기본 문법[대상_네트워크/서브넷]은 추가하려는 네트워크 또는 서브넷을 나타내고 [게이트웨이_IP]는 대상 네트워크로의 게이트웨이 IP 주소를 [인터페이스]는 사용할 네트워크 인터페이스를 나타냅니다.sudo ip route add [대상_네트워크/서브넷] via [게이트웨이_IP] dev [인터페이스]현재 라우팅 테이블 확인현재 시스템의 라우팅 테이블을 확인하여 기존 라우팅 정보를 파악합니다.sudo ip route show단일 경로 추가192.168.1.0/24 네트워크로 가는 경로를 192.168.0.1 게이트웨이를 통해 eth0 인터페이스로 추가하는 경우i.. 더보기
원도우 명령프롬프트(CMD) 인코딩 변경하기 원도우 명령프롬프트(CMD) 인코딩 변경하기 Windows 명령 프롬프트(CMD)에서 인코딩을 변경하는 방법은 다음과 같습니다. 1. 명령 프롬프트 창을 엽니다. 2. "chcp" 명령을 입력하여 현재 인코딩을 확인합니다. 예를 들어, "chcp"를 입력하고 Enter 키를 누르면 현재의 인코딩이 표시됩니다. C:\Users\Administrator>chcp 활성 코드 페이지: 949 3. 인코딩을 변경하기 위해 "chcp" 명령과 함께 해당 인코딩 번호를 입력합니다. 예를 들어, "chcp 65001"은 UTF-8 인코딩으로 변경하는 명령입니다. 대부분의 경우, UTF-8 인코딩을 사용하는 것이 가장 좋습니다. C:\Users\Administrator>chcp 65001 Active code page:.. 더보기

728x90
반응형