728x90

2023/05 3

Centos7 LVM root 용량 증설 하는 방법

가상머신에서 OS 운영 하다보면 disk 용량이 부족한 경우가 발생 한다. LVM 파티션으로 설치 했다면 디스크 추가 없이 용량 증설이 가능하다. 30GB disk를 50GB 증설 완료 - 기존 root 파티션에는 26GB 잡혀 있다. [root@localhost ~]# fdisk -l Disk /dev/xvda: 53.7 GB, 53687091200 bytes, 104857600 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identi..

IT/LINUX 2023.05.10

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
728x90