728x90

Linux 13

rocky8 Glusterfs 구성

GlusterFS는 확장성이 가능한 NAS 파일 시스템이다. 다수의 스토리지를 이더넷 또는 인피니밴드를 통하여 하나의 커다란 병렬 네트워크 파일 시스템으로 통합한다. 클라우드 컴퓨팅 및 스트리밍 미디어 서비스 그리고 콘텐츠 전송 네트워크와 같은 서비스 등에 사용된다 간단하게, 다수의 서버를 하나의 NAS로 통합시켜주는 오픈소스이다. 구성환경 OS : rocky8.8 - node1 : 192.168.0.31/24 , 77TB , 10G NIC * 2ea - node2 : 192.168.0.32/24 , 77TB , 10G NIC * 2ea - node3 : 192.168.0.33/24 , 77TB , 10G NIC * 2ea - node4 : 192.168.0.34/24 , 77TB , 10G NIC * ..

IT/LINUX 2023.11.07

linux Network OS 설치 하기 - PXE 서버 구성

1.방화벽 disable systemctl stop firewalld systemctl disable firewalld sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux cat /etc/sysconfig/selinux reboot 2.필요 패키지 설치 yum install dhcp tftp-server httpd syslinux xinetd tftp 3.dhcp 설정 vi /etc/dhcp/dhcpd.conf 수정 ddns-update-style interim; ignore client-updates; authoritative; allow booting; allow bootp; allow-unknown-clients; #inte..

IT/LINUX 2023.05.08

Linux에서 NFS 서버를 설정하는 방법

NFS Server #firewalld disable systemctl stop firewalld systemctl disable firewalld # nfs 설치 yum -y install nfs-utils # 서비스 시작 / 부팅 시 자동 시작 systemctl start nfs-server systemctl start rpcbind systemctl enable nfs-server systemctl enable rpcbind # 공유할 디렉토리 생성 mkdir /nfstest chmod 777 /nfstest # mount 설정 # 읽고 쓰기(rw) 가능, 클라이언트의 계정을 root로 매핑(no_root_squash), 서버-클라이언트 동기화(rync) /etc/exports /nfstest 19..

IT/LINUX 2023.05.03

ubuntu timezone 변경

현재 시스템의 타임존을 확인합니다. # timedatectl Local time: Fri 2019-04-19 07:53:45 UTC Universal time: Fri 2019-04-19 07:53:45 UTC RTC time: n/a Time zone: Etc/UTC (UTC, +0000) System clock synchronized: yes systemd-timesyncd.service active: yes RTC in local TZ: no 설정할 타임존 값을 확인합니다. 여기선 서울로 설정합니다. # timedatectl list-timezones | grep Seoul Asia/Seoul 위에서 확인한 타임존 값으로 설정합니다. # timedatectl set-timezone Asia/Seou..

IT/LINUX 2023.04.18

tcpdump 사용법

가끔씩 통신 확인 하기 위해 사용하는 tcpdump 명령어 # tcpdump -i eth0 ⇒ 인터페이스 eth0 을 보여줌 # tcpdump -w tcpdump.log ⇒ 결과를 파일로 저장, txt 가 아닌 bin 형식으로 저장됨 # tcpdump -r tcpdump.log ⇒ 저장한 파일을 읽음 # tcpdump -i eth0 -c 10 ⇒ 카운터 10개만 보여줌 # tcpdump -i eth0 tcp port 80 ⇒ tcp 80 포트로 통신하는 패킷 보여줌 # tcpdump -i eth0 tcp port 80 ⇒ tcp 80 포트로 통신하는 패킷 보여줌 # tcpdump -i eth0 src 192.168.0.1 ⇒ source ip 가 이것인 패킷 보여줌 # tcpdump -i eth0 dst..

IT/LINUX 2023.02.09

Docker 기본 명령어

- docker 설치 yum install -y yum-utils yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum install docker-ce docker-ce-cli containerd.io -y systemctl start docker systemctl enable docker systemctl status docker docker ps - docker root 접속 docker exec -itu 0 [컨테이너 ID] /bin/bash - docker 컨테이너 삭제 docker stop [컨테이너 ID] docker rm [컨테이너 ID] - Docker 종료 없이 나가기 Ctrl + ..

IT/LINUX 2022.11.18
728x90