[AWS] Enhanced networking with the Elastic Network Adapter (ENA) is required for the instance type. Ensure that your instance is enabled for ENA.

2020-01-31 KENNETH 0

출처URL : https://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/enhanced-networking-ena.html#enable-enhanced-networking-ena-AL   최근 AWS EC2 는 새로운 버전들이 출시 되었다. (뭐 최근이랄것도 없이 시간이 좀 됐지만서도 ㅎ) 예를들면, T3, C5 등등 이들의 장점은 비슷하거나 제품에 따라 오히려 낮은 가격으로 최신의 프로세서를 포함하여 향상된 환경을 제공한다는 장점이 있다. 그랬다가 구버전(예를들면 T2, C4등) 인스턴스에 대해서 무심코 “인스턴스변경”후 “시작”을 했다가는… Enhanced networking with the Elastic Network Adapter (ENA) is required for the ‘t3.micro’ instance type. Ensure that your instance ‘i-xxxxxxxxxxxxxxxxxx’ is enabled for ENA. 이런 문구를 보게 될 것이다. 아마도 새버전의 인스턴스 환경에서는 “ENA(Elastic Network Adapter 이하 ENA or ena)”가 반드시 필요한(지원되어야 하기 때문에 필요한) 모양이다. 최신 업데이트가 되지 않은 리눅스에서는 문제가 발생하게 될것이다. URL : https://aws.amazon.com/ko/premiumsupport/knowledge-center/install-ena-driver-rhel-ec2/ 를 확인해보면 RHEL(CENTOS)의 경우 7.4 미만의 커널에서는 ena를 지원하지 않는 것으로 보임 가장 위에 설명한 URL에는 전체적인 방법이 나와있지만 AWS에서 지원하는 일반적인 배포본 도는 아마존리눅스를 사용하고 있는 경우 최신버전으로 업데이트만 진행하면 될것으로 예상된다. 그리하여 [ more… ]

How to install the NVIDIA drivers on CentOS8(RHEL8)

2019-11-18 KENNETH 0

How to install the NVIDIA drivers on CentOS8(RHEL8)   환경 OS : CentOS 8 64bit(x86_64) VGA : NVIDIA Geforce GTS-250   참고URL (구글 2TOP) 1. https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-centos-8 2. https://access.redhat.com/solutions/4134381   주의사항 1번 처리시 문제가 발생할 수 있음 이유는 2번에 보다 자세히 나와 있는데 정식드라이버(NVIDIA 에서 다운받은 드라이버)는 centos8 에 적용된 wayland에서 작동하지 않기 때문이다. (실제로 드라이버를 설치하면 /etc/X11/xorg.conf 를 재작성한다. – centos8 기본상태에서는 해당 파일의 크기가 ‘0’이다)     설치 준비   1. NVIDIA 드라이버 다운 https://www.nvidia.co.kr/Download/index.aspx?lang=kr * 제품유형 : GeForce * 제품시리즈 : GeForce 200 Series * 제품계열 : GeForce GTS 250 * 운영체제 : Linux 64-bit * 다운로드타입 : Game Ready Driver (GRD) * 언어 : English (US) 작성자 본인의 경우 파일명 : NVIDIA-Linux-x86_64-340.107.run 상당히 오래전 파일이고, 더이상 업데이트가 되지는 않는 것으로 예상됨. (그래픽 카드도 워낙 오래된 물건이라서)   2. CentOS 추가 패키지 설치 dnf groupinstall “Server with GUI” “base-x” “Legacy [ more… ]

Failed compile with error “Could not find rpcgen” when configure mysql in centos8(RHEL8)

2019-10-18 KENNETH 0

Failed compile with error “Could not find rpcgen” when configure mysql in centos8(RHEL8)   Error Message : CMake Error at plugin/group_replication/libmysqlgcs/rpcgen.cmake:100 (MESSAGE): Could not find rpcgen Call Stack (most recent call first): plugin/group_replication/libmysqlgcs/CMakeLists.txt:38 (INCLUDE)   원인 : centos8 에는 rpcgen 명령어가 없음 대략적인 관련내용 : https://fedoraproject.org/wiki/Changes/SunRPCRemoval   해결 : rpcgen을 설치하면 된다… 몇가지 방법이 있겠지만…            

centos8 building 20190620

2019-06-20 KENNETH 0

출처https://wiki.centos.org/About/Building_8 궁금해서 퍼옴, 자세한 내용은 출처에… Current Timeline Item Started Ended Status Sources pushed to CentOS Git 2019-05-07 2019-05-08 DONE Source code evaluation 2019-05-07 YYYY-MM-DD Ongoing New Build System Setup 2019-05-07 2019-05-08 DONE Debranding patches added 2019-05-07 YYYY-MM-DD Ongoing Artwork Requested 2019-03-07 2019-05-07 DONE Artwork Selections 2019-05-09 YYYY-MM-DD Ongoing Build Loop 0 2019-05-07 2019 mid June DONE Build Loop 1 2019 mid June YYYY-MM-DD Ongoing Build Loop N YYYY-MM-DD YYYY-MM-DD Not started Installer work 2019-06-16 YYYY-MM-DD Ongoing QA work YYYY-MM-DD YYYY-MM-DD Not started RC work YYYY-MM-DD YYYY-MM-DD Not started Release work YYYY-MM-DD YYYY-MM-DD Not started Definitions DONE – Step is completed Ongoing – Work is progressing Not started – This step may requires work from another step to reach some completion or requires time from person who is working on other parts. Build loop 0 – Getting an initial set of packages together [ more… ]

16TB limit of ext4 file systems on centos6(rhel6) linux

2019-03-19 KENNETH 0

centos6 환경에서 16TB 이상의 파일시스템 생성하기 환경OS : CentOS-6.10 (6버전 / 64bit)Disk : /dev/sdbSize : 17990.5 GB (17990533775360 bytes) 실행시 에러 메세지mkfs.ext4 /dev/sdb1mke2fs 1.41.12 (17-May-2010)mkfs.ext4: Size of device /dev/sdb1 too big to be expressed in 32 bits using a blocksize of 4096. 근거 https://access.redhat.com/articles/rhel-limitsrhel 공식 발표 내용이다.. 즉, rhel6(cent6)에서는 16TB 가 한계… 환경 개선을 통해 지원하도록 처리해 보자. /etc/mke2fs.conf : centos6 원래 상태 /etc/mke2fs.conf : 변경된 상태 “auto_64-bit_support = 1” 추가 신버전의 e2fsprogs 설치 2019.03.19 기준으로 1.44.5 버전이 최신이었음 wget http://prdownloads.sourceforge.net/e2fsprogs/e2fsprogs-1.44.5.tar.gztar zxvpf e2fsprogs-1.44.5.tar.gzcd e2fsprogs-1.44.5./configure makemake install 설치된 e2fsprogs 활용 /usr/local/sbin/mkfs.ext4 /dev/sdb1에러가 없이 잘 된다… 그래서 마운트를 시도해 보면… 이렇게 오류가 발생한다. # mount /dev/sdb1 /home2 mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog – try dmesg | tail or so 이유 [ more… ]