[Linux] Probing EDD (edd=off to disable)... ok Problem..가상서버 재부팅 후 Probing EDD (edd=off to disable)... ok위 문구와 함께 서버가 멈춤(hang걸린듯이)Trouble-shooting../etc/default/grub 파일에 아래 옵션 추가GRUB_CMDLINE_LINUX="console=tty0" 옵션 추가 후grub2-mkconfig -o /boot/grub2/grub2.cfg 실행orreboot Linux 2024.06.12
[Linux] ifconfig mtu값 바꾸기 - ifconfig로 확인root@ifconfig-test:~# ifconfig eth0 Link encap:Ethernet HWaddr 6c:b3:11:3c:57:9c inet addr:[ip] Bcast:[Bcast_ip] Mask:255.255.0.0 inet6 addr: fe80::1e1b:dff:fec0:999a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:1159244 overruns.. Linux 2024.06.10
[Linux] FOR반복문 간단한 한 줄 for문종종 사용하게 되는 for문# seqfor i in {[start]..[end]};do echo $i;[command];done# filefor i in $(cat [file]);do echo $i;[command];done Linux 2024.05.30
[Raid] 레이드 0, 1, 01, 10, 4, 5, 6 Raid는..위키에는 (Redundant Array of Independent Disks 혹은 Redundant Array of Inexpensive Disks)로 여러개의 디스크에 일부 중복된 데이터를 나눠서 저장하는 기술이다.* 그냥 여러개 디스크 묶어쓰기..Raid 레벨..여러개의 디스크를 어떻게 묶어 쓰느냐에 따라 레벨이 나눠지며 성능, 안정성도 나눠진다. RAID0 (striping) 성능 > 안정성디스크를 병렬적으로 사용하면 I/O성능이 좋아지는데 여러개의 디스크를 전부 병렬적으로 사용N개의 디스크중 하나만 고장나도 데이터 망실. 최소 2개 디스크 RAID1 (mirroring)성능 안정성 RAID0과는 정반대로 여러개의 디스크를 전부 백업처럼 사용동일한 데이터를 N개 디스크에 저장, 쓰기속도.. Linux 2024.05.20
[Linux] /etc/network/interfaces 예시 /etc/network/interfaces파일 예시# interfaces(5) file used by ifup(8) and ifdown(8)# Include files from /etc/network/interfaces.d:source-directory /etc/network/interfaces.dauto ens3iface ens3 inet manualauto br0iface br0 inet static address 10.101.0.18 netmask 255.255.0.0 gateway 10.101.0.1 # dns-* options are implemented by the resolvconf package, if installed dns-.. Linux 2024.05.15
[Linux] nagios plugins Can't locate utils.pm in @INC 1. 증상nagios 모니터링 명령어 실행 시 아래와 같은 문구 출력 및 실행 안됨.Can't locate utils.pm in @INC (you may need to install the utils module) (@INC contains: /usr/local/nagios/libexec /usr/lib64/nagios /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/lib64/nagios/plugins/check_[명령어] line 38. BEGIN failed--compi.. Linux 2023.12.28
[Linux] error while loading shared libraries: libncurses.so.5 1. Error발생아래와 같은 에러 발생 : libncurses.so.5가 없단다..error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory2. trouble-shooting먼저, 레포추가add-apt-repository universe 패키지 설치 (64bit)apt-get install libncurses5 * 32bit 일 때는 아래 명령어apt-get install libncurses5:i3863. 마무리다시 하려던 작업 재시도! Linux 2023.11.09
[linux] 커널 버전 선택창 timeout 설정 [커널 버전 변경을 위한 재부팅 시 커널 선택창 시간 설정]* 환경 : ubuntu 20.041. /boot/grub/grub.cfgset timeout=[원하는 시간(초)] # 초단위의 원하는 커널 선택창의 시간 설정2. reboot 후 확인리부팅 후 부팅과정에서 [esc]를 눌러 선택화면 진입확인e를 눌러 응급모드로 진입하기도 가능 Linux 2023.11.02
[Linux] guestfish 로 가상 머신 디스크 파일 수정하기 root@:/var/lib/libvirt/images# apt install libguestfs-tools > guestfish 사용을 위해 패키지 설치 root@:/varlib/libvirt/images# guestfish --rw -a [virtual_image] > run ** 시작하기전에 실행..? > list-filesystems /dev/sda1: ext4 /dev/sda14: unknown /dev/sda15: vfat > mount /dev/sda1 / **mount해서 > ** 가상머신 디스크에서 수정하려는 파일 수정> quit Linux 2023.10.24
[Linux] 디스크 용량 변경 parted 1. 디스크 확인# parted or parted /dev/sdaroot@compute:~# partedGNU Parted 3.3Using /dev/sdaWelcome to GNU Parted! Type 'help' to view a list of commands.(parted) p Model: ATA QEMU HARDDISK (scsi)Disk /dev/sda: 107GBSector size (logical/physical): 512B/512BPartition Table: gptDisk Flags: Number Start End Size File system Name Flags14 .. Linux 2023.10.17