IT/Linux(15)
-
[ubuntu] lvm 볼륨 사이즈 확장하기.
ubuntu 초기 설치 시 디스크 구성할 때 사이즈를 적게 설정하여 확장이 필요했다. $ df -Th Filesystem Size Used Avail Use% Mounted on udev 7.8G 0 7.8G 0% /dev tmpfs 1.6G 1.4M 1.6G 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 11G 11G 32M 100% / 📝 vg-unbuntu--lv 볼륨 확장 하기. - 순서 - 1. 파티션 생성 2. LVM 설정 3. LVM 볼륨 확장 1. 파티션 생성 먼저 남은 용량으로 새로운 파티션을 생성한다. $ sudo fdisk /dev/sda Command (m for help): n Partition number (4-128, default 4): 4 Fir..
2021.10.20 -
YumRepo Error: All mirror URLs are not using ftp
CentOS 6.7 yum repository error YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/ removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again 원인: CentOS 6.7 EOL 만료로 Fastmirror 사이트에서 CentOS 6가 제거 되..
2021.07.21 -
rc.local 활성화
문서 하단에 내용 요약 되어있음. 먼저, rc-local이 실행 중인지 확인 하자. $ systemctl status rc-local ● rc-local.service - /etc/rc.d/rc.local Compatibility Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static; vendor preset: disabled) Active: inactive (dead) rc-local이 활성화 되어있지 않아 시작해보려 했지만 오류가 발생했다. $ sudo systemctl start rc-local ● rc-local.service - /etc/rc.d/rc.local Compatibility Loaded: loaded (/usr/lib/s..
2021.07.08 -
CentOS 7.x minimal로 설치 후, ssh 접속 안될 때
추가 패키지 설치가 필요하다. # yum install -y openssh-server openssh-clients openssh-askpass
2021.06.15 -
Ubuntu 20.04 네트워크 설정
네트워크 설정 파일 /etc/netplan/00-installer-config.yaml 해당 파일이 없는 경우 새로 만들거나, 다른 이름으로 되어있는지 확인해본다. /etc/netplan/00-installer-config.yaml ------------------------------------------------------------------- # This is the network config written by 'subiquity' network: ethernets: ens160: addresses: - 192.168.100.101/24 - 192.168.200.101/24 # multi IP gateway4: 192.168.100.254 nameservers: addresses: - 192...
2021.06.15 -
[jenkins] jenkins 설치하기.
먼저, jenkins.repo를 yum repository에 추가한다.# wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo # rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key # yum upgrade -y jdk와 함께 설치해주면 끝.# yum install jenkins java-1.8.0-openjdk-devel -y # systemctl daemon-reload 서비스를 실행하고 상태를 확인해 준다.# systemctl start jenkins && systemctl status jenkins
2020.11.14