This question already has an answer here:
I've built a LAMP server a while ago to be a Moodle server for a school. I'm trying to update the Moodle and add Ghostscript and am getting out of space warnings. I new to the world of ubuntu and installed pretty much all of it with defaults. My /dev/sda1 dir is only 256M and 100% used. If I recall, this is a 2TB drive. How do I enlarge these spaces so I can keep updating this machine?
Let me know what I did wrong and how to fix it.