Hi, I am new to a VPS, and my space is filling up quickly, I am assuming it is from traffic logs and such, but am not exactly sure. What files can i safely remove? I am using a Kloxo cp with apache, php 5.2.6 and MySQl 5.??? Is there a way to automate this, so i do not forget, and run out of space at some point? Thanks,
I have a 10 Gb space, and it is already half used up, and I have only had it for 3 months. My website files and database take up about 500 Mb, so, I would figure another 250-300 mb for the OS and stuff. So, I was looking for temp files that could be removed, and maybe some traffic stats files. anymore ideas?
5GB in 3 months? I'm impressed. Check /var/log/apache (or /var/log/apache2) for your traffic logs. In fact, check every subfolder under /var/log - I'm willing to bet most of that stuff can be deleted. Also, if you've done a lot of apt-getting (and /var/cache/apt/archives is filling up) run sudo apt-get clean to remove them.
Thanks, but i don't have a var/log/apache folder, I have var/log/httpd/ which I am guessing is the same thing. There is only to log ifels udner there, access)log and error_log, neither are all that big. I will check the other folders on var/log/. It doe slook like under var/log/ckloxo, I have severial files, named courir with a number, and these are about 64 mb in size. Do you know if it is safe to get rid of these? I will Google it to. Running the sudo apt-get clean from a SSH prompt gives me an invalid command error. Thanks,
If you're logged in as root, the "sudo" isn't necessary. If just running "apt-get" doesn't work, then you're running a version of linux that's not Debian (and that I can't help you with)...