Linux_etc26 Centos 7.x open file limit 해제 하기 다수의 파일을 오픈 할때 해제 시키는 명령어 이다. #!/bin/bash echo '계정명 hard nofile 65535' >> /etc/security/limits.conf echo '계정명 soft nofile 65535' >> /etc/security/limits.conf echo '계정명 hard nproc 65535' >> /etc/security/limits.conf echo '계정명 soft nproc 65535' >> /etc/security/limits.conf ulimit -a | grep "open files" 2022. 3. 8. NTP Server - Client(폐쇄망) 동기화 - script 다수 폐쇄망 서버를 ntp(chrony ) ntp 연동 시킬때 쓰던 스크립트다. #/bin/bash timedatectl set-timezone Asia/Seoul timedatectl set-local-rtc 0 mv /etc/chrony.conf /etc/chrony.conf_old cp /설정파일 경로/chrony.conf /etc/ timedatectl set-ntp yes systemctl enable chronyd systemctl restart chronyd chronyc sources ntp (chrony 서버)는 현재 dns (webmin)rocky 8.4 구동중이다. 2022. 3. 8. Centos 7.8 -kernel update 3.10.x -> 5.16.10 삽질 -2부 gcc 버전으로 인해 nvidia 그래픽 드라이브 설치가 안되는 현상이 있다. gcc를 최신으로 올린다고 해도 4.8이 최고 라서 9.x는 안된다. 아래 방법으로 진행 하면, 어쩌구 저쩌구 여튼 된다. yum install centos-release-scl -y yum clean all yum install devtoolset-9-* -y scl enable devtoolset-9 bash 이후 nvidia 드라이버 설치 진행 하면 된다. 2022. 2. 28. 리눅스 top 대신 htop ? htop 명령어는 ... htop 이다... 첨부파일은 centos 7.8 (3.10.x kernel) 기준이다.. core당 퍼센트 이런거 시안성 좋게 볼수 있다.. 2022. 2. 24. 이전 1 2 3 4 5 6 7 다음