'CentOS' 태그의 글 목록
본문 바로가기

CentOS12

OSError: [Errno 12] Cannot allocate memory 해결방법 crontab 사용 RTSP 스트리밍을 받아 20분 넘게 돌리니 메모리에러가 발생. 조치1 : Swap 메모리를 늘려준다. CPU 메모리가 꽉차서 그런듯. 조치2 : crontab 으로 버퍼캐쉬 삭제 스케줄러 적용(매분마다 캐시지움) Centos7 은 아래 튜토리얼 참고. https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=slkim0&logNo=222064090996 RedHat 계열은 아래 튜토리얼 참고. https://forteleaf.tistory.com/entry/LINUX-swap-%EC%9A%A9%EB%9F%89-%EB%8A%98%EB%A6%AC%EA%B8%B0?category=904350 1. 메모리 확인 [root@BT-SRVPRD-APP.. 2022. 6. 16.
[SOLVED] redhat 8(RHEL) VLC player installation without any error Shut up and type below command su - #CENTOS7,8 case yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm yum install vlc yum install python-vlc npapi-vlc #RHEL8 case yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo yum install https://dl... 2022. 6. 14.
부팅 후에 원하는 쉘스크립트 실행 방법 쉘스크립트 작성 #! /bin/bash echo "Activate VAS" cd /home/admin/Python/VAS source bin/activate echo "Activate http-server" cd /home/admin/fileserver http-server echo "Start http-server" exit 0 rc.local 등록 sudo vi /etc/rc.local i 버튼 클릭 - 맨 아래부분에 쉘스크립트 경로 및 실행 추가, :wq로 빠져나옴. 참고: https://sizzf.tistory.com/28 2022. 6. 9.
CentOS7, 우분투 D2Coding, D2Coding ligature font 폰트 한방에 설치, vscode에 적용방법까지 D2Coding Ver 1.3.2 Centos7 경우 sudo yum install unzip wget https://github.com/naver/d2codingfont/releases/download/VER1.3.2/D2Coding-Ver1.3.2-20180524.zip unzip D2Coding-Ver1.3.2-20180524 mkdir /usr/share/fonts/D2Coding cp ./D2Coding/*.ttf /usr/share/fonts/D2Coding/ fc-cache -v 우분투의 경우 apt-get install unzip wget https://github.com/naver/d2codingfont/releases/download/VER1.3.2/D2Coding-Ver1.3.2-20.. 2022. 1. 21.
Centos 7 video codec pack install - smplayer 만약 centos 7 에서 .mov, .mp4 등이 잘 열리지 않는다면, 코덱 패키지를 설치해주면 된다. 터미널을 열고 아래 명령어를 차례대로 복붙해주면 끝. k-lite codec pack은 윈도우만 호환이 되어서 대용으로 사용할 수 있는 프로그램이다. yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm yum install libdvdcss gstreamer{,1}-plugins-ugly gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-freeworld libde265 x265 yum install vlc smplayer.. 2021. 11. 22.