'VAS' 카테고리의 글 목록 (2 Page)
본문 바로가기

VAS30

Node.js 로 http 웹서버 구축 및 폴더접근허용 외부에서 내 스토리지 접근을 허용할 때, node.js로 8080 포트를 열어줄 수 있다. CentOS7 기준 설치 yum install nodejs npm -y npm install --global http-server 원하는 폴더경로로 이동 후 http-server 8080 PORT 죽이기(http-server 했을 때 8081 이 뜬다면?) su netstat -tnlp | grep 8080 PID 번호 확인 kill -9 28814 http-server 2022. 3. 15.
CentOS7 sFTP 를 사용하여 폴더 공유, 접속허용, 방화벽(firewall) 포트 여는 방법까지 [호스트 (Linux) 컴에서 해야할 일] yum install openssh-server openssh-clients openssh-askpass FirewallD is not running 발생하는 경우 sudo systemctl start firewalld Failed to start firewalld.service: Unit firewalld.service is masked. 발생하는 경우 systemctl unmask firewalld systemctl restart firewalld sftp포트 4422 추가할 경우 sudo firewall-cmd --permanent --zone=public --add-port=4422/tcp sudo firewall-cmd --reload sudo sema.. 2022. 3. 10.
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.
bash shell script로 무정지 Yolov4 만들기-exception error 대처법 yolo기반 시스템에서 네트워크 장애 혹은 디바이스 에러(GPU, Camera)가 발생한 경우를 대비하는 것이 중요하다. Exception에 대한 에러 처리는 다음과 같이 간단하게 진행된다. 타겟 PID모니터링(1sec) - 에러발생 - RestAPI전송(알림) - 재실행 처음에는 에러 발생하는 코드 부분에 if False == Do something 방식으로 exception을 다루려고 했으나 그러기에는 어느부분에서 에러가 튀어나올지 모르기 때문에 그냥 커멘드 창에서 yolo가 죽어버리면 다시 실행해주는 시스템을 만들기로 했다. 우선 yolov4 기준으로 설명하겠다. 아래 폴더디렉토리를 기준으로 1) 아래 링크에서 autorun 폴더를 받고 yolov4 루트 디렉토리에 위치시킨다. https://www.. 2021. 11. 15.