Linux

    Increase SWAP memory size

    sudo swapoff -v /swapfile sudo fallocate -l 16G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile Result : $free -mh total used free shared buff/cache available Mem: 31Gi 3.8Gi 25Gi 37Mi 1.5Gi 26Gi Swap: 127Gi 0B 127Gi

    [Hotfix] Cuda 설치 시 발생 문제 해결

    nvidia-drm driver 문제 문제 nvidia-drm driver 문제는 아래와 같은 Log를 남긴다. nvidia-drm 커널 모듈이 이미 커널에 로드되어 사용중이기 때문에 설치가 어렵다는 내용이다. ERROR: An NVIDIA kernel module 'nvidia-drm' appears to already be loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for mo..

    [Ubuntu 22.04] Whale browser gpg keyring warning

    Naver-whale 브라우저를 사용한다면 Ubuntu 22.04에서 update 시 아래와 같은 경고를 볼 수 있다. Ubuntu 22.04부터 apt-key를 이용하여 저장소용 gpg 키를 추가하는 것을 권장하지 않는다. 따라 저장소용 gpg 키에 대하여 Warning을 발생 시킨다. W: https://repo.whale.naver.com/stable/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. 해당 Warning은 무시해도 문제는 없다 하지만 해결하고 한다면 오류가 발생하는 ..

    [Linux] Ubuntu 22.02 Setting

    환경 1. zsh & oh-my-zsh 설치하기 $sudo apt -y install zsh $sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" theme를 agnoster로 변경해주기 위해 ~/.zshrc 에서 ZSH_THEME을 변경해준다. ZSH_THEME="agnoster" 변경 후 Font가 깨진다면 아래와 같이 font를 설치해준다. $git clone https://github.com/powerline/fonts.git --depth=1 $cd fonts $./install.sh 그 후 터미널 Font를 powerline 중 하나로 변경해준다면 문제 해결된다. 2. fzf 설치하..

    [Linux] Ubuntu에서 Ubuntu 22.04 설치 USB 만들기

    [Linux] Ubuntu에서 Ubuntu 22.04 설치 USB 만들기

    1. Ubuntu Image 다운로드 저는 Ubuntu 22.04.3 LTS Desktop 버전을 다운로드 하였습니다. 다운로드 경로는 아래입니다. Download Ubuntu Desktop | Download | Ubuntu Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things. ubuntu.com 2. USB Creator 프로그램 설치하기 usb-creator-gtk 프로그램을 이용하여 설치 USB를 만들어 보려 합니다. 터미널에서 usb-creator-gtk를 설치해줍니다. sudo apt install usb-crea..

    Ubuntu 20.04에 python 3.10 설치하기

    Python 3.10은 Ubuntu의 기본 저장소에서 사용할 수 없습니다. 따라서 Python 3.10 설치를 위해 다른 저장소를 추가해야 합니다. deadsnake라는 이름의 launchpad 저장소에서는 Python 패키지에 사용할 수 있습니다. 1. 저장소 추가하기 다음 명령을 사용하여 deadsnake 저장소를 추가합니다. sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update 패키지가 잘 업데이트 됐는지 아래 명령어로 확인해 줍니다. apt list | grep python3.10 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. idle-pyth..