* 리눅스 유용 명령어 목록사용자 및 그룹 추가1 : useradd missflash그룹 지정 사용자 추가2 : useradd -g missflash testuser시스템 사용자 확인3 : cat /etc/passwd비밀번호 관리 파일 : /etc/shadow홈디렉토리 원본 파일4 : /etc/skel사용자 추가 옵션 파일5 : /etc/default/useradd사용자 비밀번호 설정 : passwd missflash비밀번호 확인 : cat /etc/shadow | grep missflash 사용자 삭제 : userdel missflash사용자 및 홈디렉토리 삭제 : userdel -r missflash그룹 추가 : groupadd [옵션] mfgroup-g GID : 특정 GID번호로 설정-r : 0~..
1. 설치 하기rpm -ivh 설치할 패키지명.rpm의존성 에러가 있을 경우 설치rpm -ivh --force 설치할 패키지명 (단 설치한 패키지가 제대로 동작할지는 장담할 수 없습니다. 의존성 에러는 다 해결해 주시는것이 좋습니다. ^^;)2. 업그레이드rmp -Uvh 업그레이드할 패키지명.rpm3. 제거rpm -e 제거할 패키지명의존성 에러가 날 경우 제거rpm -e --nodeps 제거할 패키지명4. SRPM 컴파일rpm --rebuild 펄파일 할 패키지명.src.rpm이때 컴파일 된 패키지는/usr/src/redhat/BUILD (여기 없으면 /usr/src/redhat/RPMS/* 디렉토리를 살펴 보십시오.)에 들어가 있습니다.
The Network Time Protocol (NTP) is used to synchronize a computer's time with another reference time source. Under CentOS / RHEL you can use NTP or OpenNTPD server software.Both package provides client and server software programs for time synchronization.Install ntpThe ntp package contains utilities and daemons that will synchronize your computer's time to Coordinated Universal Time (UTC) via t..
DSR(Direct Server Return)구성은 1) 패킷이 들어올 때는 L4스위치나 로드 밸런서(Load Balancer)를 통해서 들어오지만, 2) 패킷이 나갈 때는 L4스위치나 로드 밸런서(Load Balancer)를 거치지 않고 바로 나가는 구성이다. loopback용 IP(L4의 DSR구성시에 VIP에 해당)가 192.168.123.20이라고 할 때 설정 예이다. 1. Linux에서 (CentOS, RHEL) 1) /etc/sysconfig/network-scripts/ifcfg-lo:0 를 설정한다. ifcfg-lo 파일을 복사해서 설정하면 쉽게 할 수 있다. [ 형식 ] DEVICE=lo:0 IPADDR= NETMASK=255.255.255.255 NETWORK=< 네트웍대역..
Linux NMIs on Intel 64-bit HardwareWhy are NMIs cool? If you are running x86_64 Linux 2.6.x, grep for "NMI" in /proc/interrupts. This line exports a running tally of "non-maskable interrupts" on each CPU since system boot. Just what are these NMI thingies? What is Linux doing with them? In the x86, "non-maskable interrupts" differ from regular old IRQs not so much in their maskability (they're p..
