what can i delete

Discussion in 'Site & Server Administration' started by mbaldwin, Dec 9, 2009.

  1. #1
    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,
     
    mbaldwin, Dec 9, 2009 IP
  2. nashhull

    nashhull Peon

    Messages:
    141
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    buy biggest server, or delete images if you have
     
    nashhull, Dec 10, 2009 IP
  3. mbaldwin

    mbaldwin Active Member

    Messages:
    215
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    95
    #3
    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?
     
    mbaldwin, Dec 10, 2009 IP
  4. Wogan

    Wogan Peon

    Messages:
    81
    Likes Received:
    3
    Best Answers:
    2
    Trophy Points:
    0
    #4
    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.
     
    Wogan, Dec 11, 2009 IP
  5. mbaldwin

    mbaldwin Active Member

    Messages:
    215
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    95
    #5
    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,
     
    mbaldwin, Dec 12, 2009 IP
  6. Wogan

    Wogan Peon

    Messages:
    81
    Likes Received:
    3
    Best Answers:
    2
    Trophy Points:
    0
    #6
    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)...
     
    Wogan, Dec 12, 2009 IP