Clean Debian Storage

hardyweb - Jan 1 - - Dev Community

I do laravel development in debian which is installed in virtualbox.

The following is my dev spec

  1. Debian 12 running in vbox
  2. Ram 3.3 GB
  3. 10 GB hard disk virtual
  4. Neovim as IDE

One of my problems is that the vbox hard disk fills up quickly. Although I can rescale the hard disk from 10 GB to infinity, but I want a small environment just for Laravel php coding.

Image description

So, to overcome this problem, I need to do house keeping often, for debian:

  1. apt clean
  2. install ndcu, find large files, especially neovim log and laravel log, delete the file.
  3. use bleachbit to clean all unnessery files.

Image description

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .