LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2005, 12:17 PM   #1
Ageless
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Rep: Reputation: 0
Linux maintenance


Was wondering, what maintenance is necessary to keep Linux running well and for longer periods without a fresh installation. I know defragmenting, antivirus and spyware scans arent necessary. Tweaking startup memory programs and services doesnt seem necessary. I dont really see options for removing useless files such as temp files and folders. Is the answer really nothing? Or are there things that can be done once a person knows more about linux?
 
Old 04-26-2005, 01:09 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Apart from emptying out my /tmp directory and occasionally getting rid of files I no longer use in my home directory, I do very little housekeeping because I don't find it necessary. I do occasionally check /var/log/messages for any attempts at illegal accesses to my computer, but I only got that when my PC was the DMZ on my network.
 
Old 04-26-2005, 01:13 PM   #3
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Hi,
It depends a bit of your distro, in Debian, there are very useful tools to get rid of unwanted / useless

files/libraries called "orphaned" (now isn't it a meaningful word !). /tmp needs a bit of your attention, as well,

as Komakino rightly said.

Cheers
 
Old 04-26-2005, 04:41 PM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Just clean out /tmp once in a while. Unlike that other OS, Linux is designed to be low maint.
 
Old 04-26-2005, 07:46 PM   #5
glimmy
Member
 
Registered: Apr 2005
Location: Minnesota
Distribution: slackware
Posts: 54

Rep: Reputation: 15
Quote:
Originally posted by masonm
Just clean out /tmp once in a while. Unlike that other OS, Linux is designed to be low maint.
Doesn't your system automatically clean it out?

Any way you should back up your sytem every so often. A simple tar/bzip2 or gunzip combo is usually enough

Oh, and when you become comfortable you could try updating your Kernel too.

Last edited by glimmy; 04-26-2005 at 07:47 PM.
 
Old 04-29-2005, 07:34 AM   #6
silverbirch
Member
 
Registered: Feb 2005
Location: New Zealand
Distribution: Pclinuxos 2016 LXDE, Win 10
Posts: 73

Rep: Reputation: 15
Re: Linux maintenance

[QUOTE]Originally posted by Ageless
[B]Was wondering, what maintenance is necessary to keep Linux running well and for longer periods without a fresh installation. ]

I run Mandrake and that has some built in cron jobs which do clean ups. I don't know what distro you are using. If it is Mandrake someone on the newbie list would help with the scripts, if you don't get the info here. Look in /etc/cron.daily
by using cd into it and then ls -al. See below, and this will tell you what jobs are being done, if any. Also if you google cron or cron.daily I think you would get information on what it can do, and how to do it.

[rosemary@localhost ~]$ cd /etc/cron.daily
[rosemary@localhost cron.daily]$ ls -al
total 28
drwxr-xr-x 2 root root 4096 Apr 22 10:37 ./
drwxr-xr-x 74 root root 4096 Apr 29 11:55 ../
-rwxr-xr-x 1 root root 180 Mar 14 21:30 logrotate*
-rwxr-xr-x 1 root root 402 Feb 9 04:01 makewhatis.cron*
lrwxrwxrwx 1 root root 27 Apr 22 08:41 msec -> /usr/share/msec/security.sh*
-rwxr-xr-x 1 root root 104 Mar 11 02:07 rpm*
-rwxr-xr-x 1 root root 314 Jan 10 18:07 tmpwatch*
-rwxr-xr-x 1 root root 90 Apr 22 10:37 virusscan.sh*

Maybe take a look at this link for some information ...

http://www.unixgeeks.org/security/ne...ix/cron-1.html

HTHs silverbirch
 
Old 04-29-2005, 08:32 AM   #7
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Probably the most important thing, IMHO, is to subscribe to the 'security announce' mailing list for your distro and apply patches/install updated packages as required. Most distros have automated tools to do this.
 
Old 04-29-2005, 09:52 AM   #8
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Quote:
Doesn't your system automatically clean it out?
No it doesn't. I don't run a lot of automatic tools, I prefer to maintain my system manually.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Maintenance of linux box Belize Linux - General 3 10-24-2005 10:12 AM
Disk Maintenance on Linux WarlockofVirgo Linux - Newbie 11 11-16-2004 05:40 AM
Linux maintenance? voyciz Linux - Newbie 6 06-22-2004 11:05 PM
Linux Server Maintenance JJX Linux - General 2 06-08-2004 03:18 PM
system on maintenance on linux santasballz Linux - Newbie 8 03-01-2004 07:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration