목록Linux/설정관련 (5)
키키호의 블로그
#hpasmcli HP management CLI for Linux (v1.0)Copyright 2004 Hewlett-Packard Development Group, L.P. --------------------------------------------------------------------------NOTE: Some hpasmcli commands may not be supported on all Proliant servers. Type 'help' to get a list of all top level commands.-------------------------------------------------------------------------- hpasmcli> helpCLEAR DIS..
1. HP IML 로그 확인법 hplog -v 2. hpasmcli 입력후 help하면 관련 내용확인 가능함.[ACU 확인법]hpacucli ctrl slot=1 show confighpacucli ctrl slot=1 show config detailhpacucli ctrl slot=1 pd all show status (Physical구조)hpacucli ctrl slot=1 ld all show status (Logical 구조) hpacucli ctrl slot=1 show statushpacucli ctrl all show status #Example Command# Utility Keyword abbreviations Abbreviations chassisname = ch controller ..
1. 파티션 정보 확인cat /proc/partitions 2. 파일시스템 지정mkfs.ext4 장치명(/dev/sdb1 /dev/sdc1) 3. MountLVM 생성1. Device Partitioning(System type은 Linux LVM,8e)# fidks 장치명 2. PV(Physical Volume)생성# pvcreate /dev/sdb1 /dev/sdc1# pvscan ( 확인 ) 3. VG (Voluem Group) 생성# vgcreate 그룹명 /dev/sdb1 /dev/sdc1# vgscan 확인# vgdisplay 확인 4. LV (Logical Volume) 생성PE는 # vgdisplay -v 볼륨그룹 | grep PE# lvcreate -l PE수 볼륨그룹명 -n 논리볼륨명#..
SU 제한 /etc/group의 wheel 그룹에 su 명령어 사용을 허가하려는 계정명 추가. wheel:x:10:root,계정 /etc/pam.d/su 파일을 다음과 같이 변경 auth required /lib/security/$ISA/pam_wheel.so user_uid 주석해제 그리고 /etc/login.defs 파일에 다음항목을 추가 SU_WHEEL_ONLY yes ex) user 그룹만 사용가능하게 할경우 다음과 같습니다. 먼저 user 그룹 생성 및 /bin/su 파일의 그룹명을 변경합니다. groupadd user chgrp user /bin/su chmod 4750 /bin/su su 명령어 사용을 허가하고 싶은 계정을 user 그룹에 추가할때는 usermod -G user usernam..