# linux 새로운 디스크 포맷 및 마운트 방법 #

2TB 이상일 경우 parted [root@dsmaref ~]# parted /dev/sdc (파티션 구성) GNU Parted 2.1 Using /dev/sdc Welcome to GNU Parted! Type ‘help’ to view a list of commands. (parted) p                                                                Error: /dev/sdc: unrecognised disk label                                  (parted) mklabel New disk label type? gpt                                                   (parted) mkpart                                                           Partition name?  []?                                                      File system type?  [ext2]? ext4                                            Start? 0 … 더 읽기

# HP 서버 ILO DHCP로 받아온 IP 찾는 방법 #

HP 서버 ILO DHCP로 받아온 IP 찾는 방법   [root@idisk ~]# yum install nmap   첨부된 파일 서버에 복사 후       [root@idisk ~]# chmod 755 findilos         [root@idisk ~]# ./findilos (사용법) findilos 1.0 ( http://blog.nachotech.com/ ) Usage: findilos {target network specification} TARGET NETWORK SPECIFICATION: Can pass hostnames, IP addresses, networks, … 더 읽기

# HP Server 펌웨어 확인 / 컨트롤러 펌웨어 확인#

# HP Server 펌웨어 확인 / 컨트롤러 펌웨어 확인# linux 설치 시 보통 메니지먼트 툴은 설치해 주지 않는다. 1. 로컬디스크 RAID 설정 확인 및 array 컨트롤러 버전  , 펌웨어 버전 확인 # cat /proc/driver/cciss/cciss0 (보통 cciss0 입니다.) [root@secure ~]# cat /proc/driver/cciss/cciss0  cciss0: HP Smart Array P420i Controller Board ID: 0x3354103c Firmware Version: 3.42 IRQ: 138 … 더 읽기

# 리눅스 시간 설정 / 폐쇄망 시간 동기화 #

[리눅스 시간 관리]_리눅스 date 명령어를 이용한 시간 동기화       # date [MMDDhhmm[[CC]YY][.ss]       예) 2018년 6월 26일 오전 10시 00분 00초이면       # date 062610002018.00       ▶ 리눅스 시간 관리    ⊙ clock : CMOS의 시간을 조절하는 명령어         1. CMOS 시간 확인   … 더 읽기

# HP Smart Array CLI Commands #

HP Smart Array CLI commands   Show configuration /opt/hp/hpssacli/bin/hpssacli ctrl all show config   Controller status /opt/hp/hpssacli/bin/hpssacli ctrl all show status   Show detailed controller information /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail   Rescan for New Devices /opt/hp/hpssacli/bin/hpssacli rescan   Physical disk status /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show status   Show detailed physical disk information … 더 읽기

# linux 좀비 프로세스 죽이기 #

1. top 로 프로세스 현황을 보면 좀비 프로세스가 있는 경우가 있다 두번째 줄 마지막에 2zombie [root@secure ~]# top -d 1 top – 09:36:49 up 240 days, 22:16,  2 users,  load average: 0.10, 0.15, 0.18 Tasks: 366 total,   2 running, 362 sleeping,   0 stopped,   2 zombie Cpu(s):  1.6%us,  3.2%sy,  0.0%ni, 95.2%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st Mem:  … 더 읽기

# linux 일반 유저 생성 후 root 로 접속할수 있도록 설정하기 #

# linux 일반 유저 생성 후 root 로 접속할수 있도록 설정하기 # 1. 계정 생성 [root@localhost ~]# useradd test 2. 패스워드 설정 [root@localhost ~]# passwd test test 사용자의 비밀 번호 변경 중 새  암호: 잘못된 암호: 암호는 8 개의 문자 보다 짧습니다 새  암호 재입력: passwd: 모든 인증 토큰이 성공적으로 업데이트 되었습니다. test [root@localhost ~]# … 더 읽기

# linux 6 타임서버 시간 동기화 방법 #

1. 서버의 현재시간 확인  – date 라는 명령어를 입력하면 서버의 현재시간을 확인할 수 있습니다. [root@localhost ~]# date 2018. 07. 23. (월) 15:35:06 KST  – 실제 시간과의 오차범위가 크다면 시간 동기화가 필요합니다. 2. rdate설치  – 먼저 yum으로 rdate를 설치해줍니다. 설치전에 설치가 되어있는지 확인! [root@localhost ~]# rpm -qa|grep rdate rdate-1.4-16.el6.x86_64 [root@localhost ~]# yum -y install rdate   … 더 읽기

# HP linux 서버에서 온라인 RAID HOTSPARE 추가방법 #

[root@localhost /]# hpacucliHP Array Configuration Utility CLI 9.40.12.0Detecting Controllers…Done.Type “help” for a list of supported commands.Type “exit” to close the console. => ctrl all show config Smart Array P410i in Slot 0 (Embedded)    (sn: 5001438006EFBFC0)    array A (SAS, Unused Space: 0  MB)       logicaldrive 1 (1.6 TB, RAID 5, OK)       physicaldrive 1I:1:5 (port … 더 읽기