리눅스 썸네일형 리스트형 CentOS 7에서 기본 저장소를 변경하는 방법 CentOS 7에서 기본 저장소를 변경하는 방법(yum repository)기본 저장소CentOS-Base.repo(/etc/yum.repos.d/CentOS-Base.repo)cat /etc/yum.repos.d/CentOS-Base.repo# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close to the client. You should use this for CentOS updates# unless you are manuall.. 더보기 우분투에서 sysstat 설치 및 sar 명령어 사용 방법 우분투에서 sysstat 설치 및 sar 명령어 사용 방법sysstat 패키지는 우분투에서 시스템 성능을 모니터링하고 다양한 리소스 사용 정보를 수집할 수 있는 강력한 도구입니다.saXX 파일 : 원시 데이터(세부적인 시스템 성능 데이터를 포함)sarXX 파일 : 집계된 데이터(주어진 시간 동안의 통계적 요약을 포함)1. sysstat 패키지 설치sysstat 패키지를 설치합니다.sudo apt updatesudo apt install -y sysstat2. sysstat 활성화ENABLED="false" 라인을 찾아서 true로 변경합니다.sudo vim /etc/default/sysstatENABLED="true"또는sudo sed -i 's|ENABLED="false"|ENABLED="true"|'.. 더보기 Zabbix에서 Item과 Trigger를 설정하는 방법 Zabbix에서 Item과 Trigger를 설정하는 방법zabbix agent 설정tail /etc/zabbix/zabbix_agentd.conf$ tail /etc/zabbix/zabbix_agentd.conf# UserParameter=UserParameter=t8081log[*],tail -n 1000 /var/lib/tomcat7/8081/logs/catalina.out | grep "$1" | wc -lUserParameter=t8082log[*],tail -n 1000 /var/lib/tomcat7/8082/logs/catalina.out | grep "$1" | wc -lZabbix server(web) Item 설정Configuration > Hosts로 이동대상 호스트의 설정 페이지로 이.. 더보기 윈도우 텍스트(TXT) 파일를 리눅스 텍스트(TXT) 파일로 변환하는 방법 윈도우 텍스트(TXT) 파일를 리눅스 텍스트(TXT) 파일로 변환하는 방법 Windows에서 작성된 텍스트 파일을 Linux에서 사용할 수 있는 텍스트 파일로 변환하는 것은 일반적으로 인코딩 차이 때문에 필요할 수 있습니다. Windows는 주로 CRLF(Carriage Return Line Feed)를 사용하는 반면 Linux는 LF(Line Feed)만 사용합니다. 리눅스에서 dos2unix 명령어를 사용하여 Windows 스타일의 텍스트 파일을 Unix 스타일로 변환할 수 있습니다. dos2unix 패키지에 포함되어 있을 수 있습니다. 변환 명령어의 예시 dos2unix windows_file.txt linux_file.txt 만약 dos2unix 명령어가 설치되어 있지 않다면 대부분의 리눅스 배포.. 더보기 오라클 데이터베이스의 버전 정보를 확인 오라클 데이터베이스의 버전 정보를 확인 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.rpmyum install hpacucli-9.40-12.0.x86_64.rpm2. Array Cardhpacucli ctrl all show$ hpacucli ctrl all showSmart Array P400 in Slot 0 (Embedded)Smart Array P800 in S.. 더보기 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 ··· 146 147 148 149 150 151 152 ··· 189 다음