((터미널에서 df -h를 입력하면 디스크 사용 용량을 확인할 수 있다.))
/var/log 폴더를 삭제하거나
sudo apt-get autoremove & sudo apt-get clean를 해봐도 딱히 용량이 줄지 않는다.
오래된 커널들을 지우면 용량을 확보 할 수 있다.
dpkg -l linux-* | awk '/^ii/{ print $2 }' | grep -e [0-9]
를 입력하면
커널 리스트가 보인다.
아래와 같이 입력하여 오래된 커널들을 지워준다.
sudo apt-get -y purge linux-headers-3.13.0-35 linux-headers-3.13.0-35-generic linux-image-3.13.0-35-generic linux-image-extra-3.13.0-35-generic
참고 (http://ubuntuforums.org/showthread.php?t=2240697)
댓글 없음:
댓글 쓰기