본문 바로가기

반응형

전체 글

CentOS 7에서 bonding과 teaming 차이점 및 구성 방법 CentOS 7에서 bonding과 teaming(teaming) 차이점 및 구성 방법 CentOS 7에서 bonding과 teaming은 네트워크 인터페이스를 묶어서 높은 가용성과 대역폭을 제공하는 두 가지 다른 방법입니다. 1. Bonding bonding은 여러 네트워크 인터페이스를 하나의 가상 인터페이스로 묶는 것을 말합니다. 하나 이상의 물리적 네트워크 인터페이스를 사용하여 연결을 구성하고, 해당 연결이 가용성 및 대역폭 증가를 제공하는 논리적인 단일 인터페이스로 작동합니다. bonding 모드에는 다양한 옵션이 있으며, 예를 들어, active-backup, balance-rr, 802.3ad(LACP), balance-xor 등의 모드를 사용할 수 있습니다. bonding은 주로 서버 로드 .. 더보기
[리눅스] 킥스타트로 설치 자동화하기 킥스타트로 설치 자동화하기 selinux perl -pi -e 's/^SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config reboot reboot Packages Installation yum install -y tftp tftp-server syslinux-tftpboot xinetd dhcp dhcp-devel syslinux yum install -y epel-release yum install -y nginx tftp sed -i '/disable/ s/yes/no/' /etc/xinetd.d/tftp dhcpd cat /usr/share/doc/dhcp*/dhcpd.conf.example > /etc/dhcp/dhcpd.conf cat > /e.. 더보기
[리눅스] GRUB VGA Modes GRUB VGA Modes GRUB allows you to choose the VGA definition it uses when booting. (Note: this does not affect the definition in Xorg). You need to add the option vga=xxx on the kernel stanza in the file /boot/grub/menu.lst. Of course, replace xxx with the video mode you want. Your kernel stanza will look like this: kernel /boot/vmlinuz-2.6.18-6-686 root=/dev/sda7 ro vga=791 Here is a list of the.. 더보기
Sysbench 설치 및 사용 방법 Sysbench 설치 및 사용 방법 Sysbench를 설치하고 사용하는 방법에 대한 간단한 가이드입니다. 1. Sysbench 설치 sudo apt-get update sudo apt-get install sysbench sysbench 주요 옵션 설명 --threads=: 설명: 동시에 실행될 스레드 수를 지정합니다. 예시: --threads=4 --time=: 설명: 테스트를 실행할 시간(초)을 지정합니다. 예시: --time=60 --report-interval=: 설명: 테스트 결과 보고서를 표시하는 간격을 지정합니다. 예시: --report-interval=10 --events=: 설명: 이벤트 수를 지정하여 특정 작업을 반복 실행합니다. 예시: --events=100000 --threads=:.. 더보기
[Linux] GRUB2 부팅순서 변경 GRUB2 부팅순서 변경(CentOS 7.x) 1. 현재 기본 설정 확인 # grub2-editenv list saved_entry=CentOS Linux (3.10.0-693.11.6.el7.x86_64) 7 (Core) 2. 부팅 가능한 커널 리스트 확인 # grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2 CentOS Linux (3.10.0-693.11.6.el7.x86_64) 7 (Core) CentOS Linux (3.10.0-693.5.2.el7.x86_64) 7 (Core) CentOS Linux (3.10.0-514.el7.x86_64) 7 (Core) CentOS Linux (0-rescue-d7414c19c8184dfe81d780107f1.. 더보기
[리눅스] Salt(salt-minion) Installation On Centos 5.x Salt(salt-minion) Installation On Centos 5.x 1. python26-requests 패키지 다운로드 및 설치 wget http://dl.fedoraproject.org/pub/archive/epel/5/x86_64/python26-requests-1.1.0-5.el5.noarch.rpm yum install python26-requests-1.1.0-5.el5.noarch 2. salt-minion 설치 wget --no-check-certificate https://repo.saltstack.com/yum/redhat/salt-repo-2015.8-3.el5.noarch.rpm rpm -ivh salt-repo-2015.8-3.el5.noarch.rpm yum inst.. 더보기
[리눅스] KVM Virsh Console Access On CentOS 6 KVM Virsh Console Access On CentOS 6 Step #1 vi /boot/grub/menu.lst # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/sda3 # initrd /initrd-[generic-]version.img #boot=/dev/sda default=0 timeout=5 splashi.. 더보기
CentOS 7에서 HAProxy를 설정하고 테스트하는 방법 CentOS 7에서 HAProxy를 설정하고 테스트하는 방법 HAProxy는 로드 밸런서 및 프록시 서버로 사용되는 소프트웨어입니다. 1. HAProxy 설치 sudo yum install haproxy 2. 설정 파일 수정 HAProxy의 설정 파일은 /etc/haproxy/haproxy.cfg에 위치합니다. 이 파일을 수정하여 로드 밸런서의 동작을 정의할 수 있습니다. vi /etc/haproxy/haproxy.cfg global log 127.0.0.1 local2 chroot /var/lib/haproxy pidfile /var/run/haproxy.pid maxconn 4000 user haproxy group haproxy daemon # turn on stats unix socket stat.. 더보기

728x90
반응형