일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- LIST
- Selenium
- 오류
- windows forms
- 기타 연주
- pytorch
- JSON
- pip
- YOLO
- SSH
- label
- C++
- Linux
- Numpy
- error
- pandas
- Docker
- 채보
- VS Code
- mysql
- 컨테이너
- 프로그래머스
- C
- OpenCV
- C#
- paramiko
- Python
- 핑거스타일
- Visual Studio
- ubuntu
- Today
- Total
목록전체 글 (322)
기계는 거짓말하지 않는다
Too many open files error 또는 비슷한 류의 리소스 한계 오류를 보는 경우가 있다. 이 오류는 파일디스크립터 한계 오류이다. ulimit를 설정하여 해결할 수 있다. 일시, 임시적인 설정 변경 임시적인 자원 한계를 확인, 설정하는 경우 ulimit command ulimit Man Page - Linux - SS64.com ulimit User limits - limit the use of system-wide resources. Syntax ulimit [-HS] -a ulimit [-HS] [-bcdefiklmnpqrstuvxPRT] [limit] Key -S Set a soft limit for the given resource. -H Set a hard limit for the..
sudo apt update 명령을 실행할 때, W: GPG error: ... 메시지를 보는 경우가 있다. 패키지의 public key를 찾지 못해 발생하는 오류이다. 에러 메시지의 마지막에 public key is not available: NO_PUBKEY 형식으로 출력이 되는데 값을 아래의 명령어에 추가하여 실행한다. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
NVIDIA 그래픽 드라이버 설치 시, ERROR: The Nouveau kernel driver is currently in use by your system. 에러 메시지를 보는 경우가 있다. 아래는 비활성화 순서이다. Nouveau kernel driver disable 편집기로 blacklist-nouveau.conf 생성 sudo nano /etc/modprobe.d/blacklist-nouveau.conf # 또는 sudo vi /etc/modprobe.d/blacklist-nouveau.conf 아래 내용 추가 후 저장 # 편집기로 열려진 blacklist-nouveau.conf에 입력 blacklist nouveau options nouveau modeset=0 커널 램 파일 시스템 재생성..
find command find(1) - Linux man page find(1) - Linux man page Name find - search for files in a directory hierarchy Synopsis find [-H] [-L] [-P] [-D debugopts] [-Olevel] [path...] [expression] Description This manual page documents the GNU version of find. GNU find searches the directory tree linux.die.net 다음은 간단한 사용 예이다. find "*.mp4" # 현재 경로의 모든 mp4 파일, 디렉터리 검색 find . -name "*.mp4" # 현재 경로와 현재..
Docker commit (현재 컨테이너 이미지로 저장)컨테이너 실행 중에 사용하여도 되지만 일시적으로 중지된다. 웬만하면 컨테이너 중지 후 이미지로 만든다.sudo docker commit CONTAINER_ID IMAGENAME:TAGDocker save (현재 이미지 백업)이미지를 tar 파일로 저장한다.sudo docker save -o filename.tar image_id# 이미지를 불러올 때(load) 이미지 이름:태그 형식으로 복구하고 싶다면 아래와 같이 사용sudo docker save -o filename.tar :Docker load (백업 이미지 불러오기)저장된 tar 파일을 도커 이미지로 만든다.sudo docker load -i filename.tar
docker ps를 입력하면 테이블 형식으로 아래와 같은 컬럼 밑에 컨테이너 정보가 출력된다. 컨테이너에 설정된 포트, 이름 등이 길거나 많을 경우 출력했을 때 알아보기가 쉽지 않다.그럴 때 --format 옵션으로 출력 포맷을 설정할 수 있다.Docker ps Docs (format) docker psdocker ps: List containersdocs.docker.com# 컨테이너 ID와 Name 출력docker ps -a --format "table {{.ID}} {{.Names}}"
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dSk9q2/btr0H8xgNW9/nfjCrNpTKmknXVhr9DKdl1/img.png)
Ubuntu 한글 locale을 설정하는 방법이다. 한글 locale 설정 현재 locale 확인 locale 한글 패키지 설치 sudo apt-get install language-pack-ko 한글 locale 설정 sudo locale-gen ko_KR.UTF-8 dpkg locale 설정 dpkg-reconfigure locales 위와 같은 화면에서 ko_KR.UTF-8 번호를 선택한다. sudo update-locale LANG=ko_KR.UTF-8 LC_MESSAGES=POSIX 적용이 되지 않을 경우 아래 방법을 시도한다. bashrc 또는 bash_profile에 다음 줄을 추가한다. vi ~/.bash_profile # 또는 vi ~/.bashrc # 아래 환경 변수를 추가한다 expo..
Python에서 Paramiko를 이용한 간략한 SSH Client 원격 연결 방법이다. 설치 pip install paramiko 사용 Paramiko Docs Client — Paramiko documentation Client SSH client & key policies class paramiko.client.SSHClient A high-level representation of a session with an SSH server. This class wraps Transport, Channel, and SFTPClient to take care of most aspects of authenticating and opening channels. A typical docs.paramiko.org ..