Hi all,

I promised that I would jot down a few notes on maintaining a Linux box. So here they are.

I hope we can add to this in the weeks ahead. Perhaps the Web guys could add these ideas, and others to our site?

1.   No need for Defrag!!

2. /tmp This can be cleaned out of items older than, say 1 day or so. I have just checked mine and all files are from today - I just started machine from cold - so it looks as if Ubuntu keeps it clean.

3.   Use of apt-get

apt-get clean
To clean out the downloaded packages that were downloaded to
/var/cache/apt/archives

apt-get autoremove
Scans your package database for dependency packages that are no longer required and removes them. I did this a few days after upgrading to Gutsy and it removed a small selection

4.   A way of listing all installed software to use it on another machine:

dpkg --get-selections > software.txt
This will save a list of all installed software to a file called software.txt

dpkg --set-selections < software.txt
This will read back the list of software one line at a time but not actually install anything - yet!
To install you need:
apt-get dselect-upgrade

Any software listed in the selections that is not currently installed, will be installed now


5.    /home/username/.recently-used.xbel
      /home/username/.recently-used
These files contain lists of recently used docs.

I gleaned the following from the web:
http://ubuntuforums.org/archive/index.php/t-91154.html  which says:

To disable the recent documents menu in Gnome:

- Open '/home/username/.recently-used' in gedit:
gedit /home/username/.recently-used

- Empty the contents of the file, save, and exit.

- Make the file read-only:
chmod 400 /home/username/.recently-used


To re-enable the recent documents menu in Gnome:

- Make the file readable and writeable by the owner:
chmod 600 /home/username/.recently-used

I have not tried this so no idea if it works! However you CAN edit the xml files and remove the nodes that you do not want.


6.    /home/username/.thumbnails/large
      /home/username/.thumbnails/normal

I have read that it is OK to delete the img files here. What I do occasionally is delete the ones older than, say a week. Otherwise when I do a full backup it takes AGES!

7. Also remember AVG anti Virus from http://free.grisoft.com/doc/5390/us/frt/0?prd=afl

It pays to read the manual (!) as you have to use a shell script to "register". Mark also found out that you need to change the Menu parameters to: gksu /usr/bin/avggui

The manual also talks about scheduling a number of options, but I did not get that far. Also note that Mark is interested in feedback on this so he can let Grisoft know.


8. Someone also talked about log rotation, but we did not actually look at that. Perhaps someone else can post somethign about that?

We also look at Automatix on Ubuntu Gutsy. I simply cannot recall the exact URL. It is somewhere on http://www.howtoforge.org but I cannot find it! Can anyone help??

I hope this is helpful



Ed

_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to