LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-28-2004, 11:51 PM   #16
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205

rather than try to whittl a system down
you may be better off thinking long and hard about just how lettle you can get by with and reinstall from there
the best tip I could give you if you go this way would be to use the riser file system for the way it almost compresses the file system
 
Old 11-29-2004, 01:36 PM   #17
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by rob.rice
rather than try to whittl a system down
you may be better off thinking long and hard about just how lettle you can get by with and reinstall from there
the best tip I could give you if you go this way would be to use the riser file system for the way it almost compresses the file system
I wouldn't mind reinstalling, but i honestly don't have the time to reconfigre it again atm. I might over the xmass holiday though, but i'll worry about that when the time comes.

Thanks =]
 
Old 11-30-2004, 12:02 AM   #18
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
Stuff you can safely remove:

acpid-1.0.4-i486-2
autoconf-2.59-noarch-1
ccache-2.4-i486-1
checkinstall-1.5.3-i486-2
cxxlibs-6.0.0-i486-1
db3-3.3.11-i486-4
devs-2.3.1-noarch-21
fetchmail-6.2.5-i486-1
fileutils-4.1-i386-2
findutils-4.1.7-i386-1
gawk-3.1.4-i486-1
gcc-3.3.4-i486-1
gcc-g++-3.3.4-i486-1
gnupg-1.2.6-i486-1
imapd-4.61-i486-1
indent-2.2.9-i386-1
libtermcap-1.2.3-i486-6
libtool-1.5.10-i486-1
logrotate-3.6.8-i486-1
lsof-4.72-i486-1
m4-1.4.2-i486-1
metamail-2.7-i486-2
mhash-0.9.1-i486-1
netwatch-1.0a-i386-1
openssh-3.9p1-i486-1
openssl-0.9.7d-i486-1
openssl-solibs-0.9.7d-i486-1
perl-5.8.5-i486-2
pidentd-3.0.18-i486-1
pine-4.61-i486-1
popa3d-0.6.4-i486-1
popt-1.7-i386-1
portmap-5.0-i486-1
slocate-2.7-i486-3
strace-4.5.4-i486-1
swaret-1.6.2-noarch-1
tcl-8.4.6-i486-1
tclx-8.3.5-i386-1
tcpdump-3.8.3-i486-2
tcpip-0.17-i486-30
textutils-2.0-i386-1
traceroute-1.4a12-i386-2
wget-1.9.1-i486-1
zlib-1.2.2-i486-1

Note that if you go through with this you won't be able to compile anything, you'll have to stick to the binary .tgz files, but that's okay.


Last edited by black hole sun; 11-30-2004 at 06:59 PM.
 
Old 11-30-2004, 12:29 AM   #19
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Rep: Reputation: 15
don't mean to be rude black hole, but have you read the post?

Quote:
Here's a list of the packages i have left.
Linux-PAM-Kolba are important libraries i need. The box needs to have mysql, an email server (postfix), a web server (apache + php), and .. i guess thats it really..
Pine, i still use for its mail reader, and for pico.
 
Old 11-30-2004, 01:33 AM   #20
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hey why don't u check out ur logs in
/var/log

try minimizing them with logrotate.conf

regards
 
Old 11-30-2004, 03:11 AM   #21
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by masand
hey why don't u check out ur logs in
/var/log
I usually delete the logs in apache2 and removed_packages in there, but i don't know how safe it is to delete everything..

Is it safe to just do
rm-fr /var/log
mkdir /var/log
and expect all the folders and log files to be recreated again in there?

Quote:
try minimizing them with logrotate.conf
Good idea =]


p.s., Black hole, i also do need to compile in the box, so i'm keeping gcc for now. If it gets desperate, i can compile and create .tgz packages on my machine instead, but i doubt that will need to bed done.
 
Old 11-30-2004, 05:54 AM   #22
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi
even if u delete the logg files , they will created new ones!!
what will be btetter is to keep logs of 1 or 2 days ,depending on the size instead of deleting them manually..

regards
 
Old 11-30-2004, 06:22 AM   #23
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
you can delete a most of the files in locale directories that don't have anything to do with your language.
 
Old 11-30-2004, 04:22 PM   #24
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Yea, but if i delete the whole /var/log directory, then create a new empty one, will it create the folders inside it as well as the required logs again?
 
Old 11-30-2004, 06:58 PM   #25
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
Quote:
Originally posted by bornhj
don't mean to be rude black hole, but have you read the post?
No

I'll fix that

Also if you really want something small try Damn Small Linux. That would be good.

Last edited by black hole sun; 11-30-2004 at 07:00 PM.
 
Old 11-30-2004, 09:28 PM   #26
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Quote:
Originally posted by xushi
Yea, but if i delete the whole /var/log directory, then create a new empty one, will it create the folders inside it as well as the required logs again?
so,try being on the safe side,use logrotate and minimize ur logs to KBs or 1or2 days

regards
 
Old 12-01-2004, 01:25 AM   #27
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Do NOT delete whole directory and best to leave log documents existing, but empty (rm -f /var/log/messages ; touch /var/log/messages -for example).
You'll also find a log-cleanup in rc.S.
Somewhere on the forum there's a thread with a routine for cleaning the logs and leaving a certain number of the last lines in there.
 
Old 12-01-2004, 06:04 AM   #28
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by black hole sun
Also if you really want something small try Damn Small Linux. That would be good.
As far as i've seen, DSL doesn't have apache, php, and a few other packages i might find usefull.

Slack is good enough for me. Thanks i'll empty /var/log/messages now.
 
Old 12-01-2004, 09:10 AM   #29
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
What about:

imapd
perl

Don't think you need it. No more perl however.

Maybe also remove tcl

you also only need the openssl if you are running https(mod_ssl) and gnupgp can also go if you don't want to encrypt anything.

Just think about the most common commands you issue if it isn't in the package you probably ca nremove it.

Last edited by Krugger; 12-01-2004 at 09:14 AM.
 
Old 12-01-2004, 11:45 AM   #30
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by Krugger
What about:

imapd
perl

Don't think you need it. No more perl however.

Maybe also remove tcl

you also only need the openssl if you are running https(mod_ssl) and gnupgp can also go if you don't want to encrypt anything.

Just think about the most common commands you issue if it isn't in the package you probably ca nremove it.
imapd: I (think) i need that for squirrelmail
perl: yea i can kill.
openssl: tried getting rid of it once, i couldn't ssh into the machine anymore, so i reinstalled it
 
  


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
How to reduce the size of root / alexf SUSE / openSUSE 5 10-10-2005 04:53 PM
how i can reduce the squid log size.. shahg_shahg Linux - Networking 2 06-16-2005 02:23 PM
how to reduce /proc size provkitir Debian 1 10-14-2004 10:56 PM
reduce the kernel image size further abirami Linux - Networking 1 10-05-2004 10:06 AM
How to reduce the size of bzImage hemk76 Linux - Networking 2 10-05-2004 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:14 PM.

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