728x90

CentOS7 5

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

Centos7.8 iftop 설치

Centos 7.8 설치하고 네트워크 상태 확인할 일이 있어, iftop를 설치하려 했더니... 새로 설치 해서 그런지 설치 실패를 했다.. [root@CDN tmp]# yum install iftop Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.kakao.com * extras: mirror.kakao.com * updates: mirror.kakao.com No package iftop available. Error: Nothing to do repository 가 등록안되어 있는 듯하다.. 구글링 시작. 아래 다운 받아 설치했더니, 설치 잘되었다. Wget http://download.f..

IT/LINUX 2020.11.10

Centos7 SAMBA 설치/세팅

1. CentOS 방화벽 Disable 하기 #systemctl status firewalld #systemctl stop firewalld #systemctl disable firewalld #vi /etc/sysconfig/selinux => SELINUX=disabled 적용 (리부팅 해야 적용됨) 2. Samba 설치 #yum install Samba 3.계정 생성 / SMB 계정 등록 4. 공유 디렉토리 생성 #mkdir /test 5. 공유 설정 #vi /etc/samba/smb.conf 수정 6. 서비스 등록 / 재시작 #systemctl enable smb #systemctl restart smb 7. 윈도우에서 확인 8. home directory 안보이게 하기 #vi /etc/samba..

IT/LINUX 2020.10.11
728x90