본문 바로가기

반응형

sangchul

[리눅스] iptables 에러 iptables 에러 "iptables: No config file." 1. config file 확인(파일 없음) # service iptables start iptables: No config file. [주의] 2. touch로 config 파일 생성 # touch /etc/sysconfig/iptables 3. iptables 데몬 기동 # service iptables start iptables: 방화벽 규칙 적용 중: [ OK ] 4. iptables 정책 확인 # iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source d.. 더보기
[리눅스] hpacucli 유틸리티 linux hpacucli 유틸리티 1. Array Card hpacucli ctrl all show $ hpacucli ctrl all show Smart Array P400 in Slot 0 (Embedded) Smart Array P800 in Slot 8 (sn: P98690K9SW20U7) 2. Logical Drive hpacucli ctrl slot=0 ld all show $ hpacucli ctrl slot=0 ld all show Smart Array P400 in Slot 0 (Embedded) array A logicaldrive 1 (205.0 GB, RAID 1+0, OK) 3. Physical Drive hpacucli ctrl slot=0 pd all show $ hpacuc.. 더보기
[리눅스] 하이퍼쓰레딩(Hyper Threading) 활성화 확인 방법 리눅스 하이퍼쓰레딩(Hyper Threading) 활성화 확인 방법 #!/bin/sh ## HostName hostname >> cpu.txt ##IP ifconfig bond0 | grep "inet addr" | awk '/inet/ {sub(/addr:/,"",$2); print $2}' >> cpu.txt ##Product Name dmidecode -s system-product-name >> cpu.txt ##CPU Model Name cat /proc/cpuinfo | grep "model name" | head -n 1 | awk -F : {'print $2'} >> cpu.txt ##CPU Socket #dmidecode -t processor | grep "Socket Designati.. 더보기
[리눅스] ifcfg-eth0 DHCP 설정 ifcfg-eth0 DHCP 설정 [root@sangchul ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] DEVICE=eth0 BOOTPROTO=dhcp HWADDR=00:0C:29:FD:65:B2 -NBOOT=yes DHCP_HOSTNAME=sangchul 더보기

728x90
반응형