Deep learning/환경세팅 4

server setting 서버 세팅 ulimit

ulimit 이란? ulimit는 프로세스의 자원 한도를 설정하는 명령, soft한도,hard한도 두가지로 나뉨 soft : 새로운 프로그램을 생성하면 기본으로 적용되는 한도 hard : 소프트한도에서 최대로 늘릴 수 있는 한도 apache 와 같이 웹 서비스를 운영 시 동접자가 많은 경우 구동되는apache 프로세스 수와 해당 프로세스가 처리하게되는 파일 수 또한 증가 하게 됩니다. * ulimit [옵션] 값 ( Centos , RHEL 기준) -a : 모든 제한 사항을 보여줌. -c : 최대 코어 파일 사이즈 -d : 프로세스 데이터 세그먼트의 최대 크기 -f : shell에 의해 만들어질 수 있는 파일의 최대 크기 -s : 최대 스택 크기 -p : 파이프 크기 -n : 오픈 파일의 최대수 -u :..

[Error] failed with initial frozen solve

Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: - failed tensorflow 를 설치하는 와중에 뜬 에러 설치를 중간에 Conto..

Ubuntu 환경 세팅

ubuntu 20.04 Nvidia 그래픽 카드 드라이버 설치 sudo ubuntu-drivers devices sudo ubuntu-drivers autoinsatll sudo apt isntall nvidia-drivers-460 #사용하는 그래픽 카드에 따라 drivers-버전을 설치해야함 nvidia-smi #이 명령어 쳤을 때 그래픽 드라이버가 떠야 정상 NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is insatlled and running. 오류가 뜬다. 다시 깔았던 버전 지우고 깔고 reboot 하면 해결 apt --insta..

Gitlab ssh-key

ssh-keygen #ivate rsa key pair. #to save the key (/home/eunbi/.ssh/id_rsa): #rsa already exists. 이미 있다고 나온다. cat /home/eunbi/.ssh/id_rsa.pub 있다고 알려준 주소를 따라 치면 ssh_rsa로 시작해서 이메일이나 서버 계정으로 끝나는 key가 출력되고, gitlab에 ssh-settings에서 전체를 복사하여 추가해주면 성공 ssh -T eunbi@AIServer01 The authenticity of host 'aiserver01 (127.0.1.1)' can't be established. ECDSA key fingerprint is SHA256:QL9EG317mb0yBc4BGE7eniImHPI..