Compatible Support Forums: General Maitenance of a linux system?

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

General Maitenance of a linux system?

#1 User is offline   Whiskers 

  • journeyman
  • Group: Members
  • Posts: 99
  • Joined: 16-July 04

Posted 09 September 2004 - 11:49 PM

In windows you gotta do your routine defrag, empty the cache, and clear out the old temp files.

What do you needa to for linux? I found a /Tmp folder and a /tmp folder in my user/home/ directory (I'm assuming tmp==temporary)

Need to empty those folder im assuming, anything else for general linux maintenance?
0

#2 User is offline   egorgry 

  • enthusiast
  • Group: Members
  • Posts: 315
  • Joined: 30-August 03

Posted 10 September 2004 - 01:31 AM

The only thing I use is logrotate that will compress or delete anything old in /var/log. If you have it installed the config file for it is in /etc/logrotate.conf on debian. I'll also run a cleanup of core files and the /tmp directories every now and then. Oh and of course apt-get update && apt-get upgrade if you are on debian.
0

#3 User is offline   Whiskers 

  • journeyman
  • Group: Members
  • Posts: 99
  • Joined: 16-July 04

Posted 10 September 2004 - 02:26 AM

I'm on a Mandrake system, kk then I can empty the /tmp folders (i have to log in X as root to empty this folder) , and there is a tmp folder in my user directory as well
0

#4 User is offline   egorgry 

  • enthusiast
  • Group: Members
  • Posts: 315
  • Joined: 30-August 03

Posted 10 September 2004 - 07:33 PM

Having files in /tmp won't hurt performance so unless you have space issues it's not necasary. You can delete the files in /tmp for root like so... if you are logged in as a regular user just open a terminal at the command prompt type su and you will be prompted for roots passwd just log in and type cd /tmp and then rm * to remove everything in /tmp
0

#5 User is offline   Whiskers 

  • journeyman
  • Group: Members
  • Posts: 99
  • Joined: 16-July 04

Posted 10 September 2004 - 08:04 PM

Thanks smile

Seems faster after removing the tmp files, could be a placebo effect though.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users