우분투 버전 확인 # apt install -y lsb-core release="ubuntu"$(lsb_release -sr | sed -e "s/\.//g") echo $release CUDA 패키지 리스트 추가 sudo apt install gnupg sudo apt-key adv --fetch-keys "http://developer.download.nvidia.com/compute/cuda/repos/"$release"/x86_64/7fa2af80.pub" sudo sh -c 'echo "deb http://developer.download.nvidia.com/compute/cuda/repos/'$release'/x86_64 /" > /etc/apt/sources.list.d/nvidia-cuda..
*출처: https://shared.tistory.com/64 1. testdisk 설치 sudo apt-get install testdisk 2. photorec 실행 sudo photorec /dev/sda1 # 복구하고자 하는 자료가 있는 디스크 파티션(df -h로 찾자) 3. 첫 화면에서 파티션 선택하고 'Proceed' 4. 파일 시스템 선택: 보통은 'ext4', 해당 없을 경우 'None', 이후 'Search' 5. 저장 공간 선택: 'Free' (Whole은 모든 공간 탐색) 선택한 뒤 해당 디렉토리 선택 6. 복구 시작: 'C'나 'Y' 누르라고 함 선택한 디렉토리에 파일들이 생성되는데 아스키는 보통 txt로 저장됨. 여기서 직접 찾아야 함. 해당하는 파일 하나를 발견하면 이와 비슷한 ..
PyPI는 밤이 되면(한국 기준) 느려지는 경우가 잦다. 그리고 요즘에는 무슨 일이 있는건지 PyTorch 설치가 겁나 느리다. 아래와 같이 미러 서버를 설정하고 패키지 다운로드 속도를 향상시켜보자. $ mkdir ~/.pip $ vim pip.conf # 다음 입력하고 저장 [global] index-url=http://mirror.kakao.com/pypi/simple trusted-host=mirror.kakao.com 결론. 갓카오 만세!
1. Unmet dependencies If, '... ros-melodic-simulators but it is not going to be installed ...' Then, first completely remove gazebo simulator by: sudo apt-get remove '.*gazebo.*' '.*sdformat.*' '.*ignition-math.*' '.*ignition-msgs.*' '.*ignition-transport.*' 2. How to Install CouchDB on Ubuntu 18.04 curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add - echo "deb https:/..
# 설치 sudo apt-get update sudo apt-get install openssh-server # 방화벽 sudo ufw enable sudo ufw allow 22 sudo ufw allow 6006 sudo ufw allow 8888 sudo ufw reload # 시작 sudo service ssh start # 확인 sudo service ssh status ps -ef | grep sshd netstat -ntlp | grep sshd # ssh config 변경(docker 쓸 경우 root 접속 허용) vi /etc/ssh/sshd_config 이거 추가 --> PermitRootLogin yes
*출처: https://ourcodeworld.com/articles/read/989/kazam-recorded-mp4-video-in-ubuntu-isn-t-recognized-in-sony-vegas-corrupted-mp4-file-for-windows Solution (encode file to mp4 with regular libx264) The only solution is to encode the MP4 file with a regular codec using FFMPEG in Ubuntu, before using the file in Windows. sudo apt-get install ffmpeg You can do this as well in Windows, but you need to..
1. 폰트 파일 다운로드 및 설치 https://github.com/naver/d2codingfont/releases/tag/VER1.3.2 naver/d2codingfont D2 Coding 글꼴. Contribute to naver/d2codingfont development by creating an account on GitHub. github.com mkdir ~/.local/share/fonts cd ~/.local/share/fonts wget https://github.com/naver/d2codingfont/releases/download/VER1.3.2/D2Coding-Ver1.3.2-20180524.zip unzip D2Coding-Ver1.3.2-20180524.zip 2. 폰트 캐..
Byobu (屏風, 병풍) by Dustin Kirkland, https://www.linkedin.com/in/dustinkirkland byobu는 screen과 tmux를 백엔드에서 작동시킴(default=tmux) 별다른 설정 없이 screen을 쓰고 싶으면 byobu-screen 이라고 하면 된다. 설치 sudo apt-get install byobu # 터미널 실행시 자동시작하게 하려면(별로 추천하고 싶지 않음) byobu-enable # 백엔드 멀티플렉서 선택(TMUX or Screen) byobu-select-backend # 터미널 변경해서 색상 표시하기 byobu-enable-prompt . ~/.bashrc 키바인딩 변경하는 방법(예: C-F2 --> C-H) $ sudo vim /u..