Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Feb 03, 2004 8:00 pm 
Offline
Newbie

Joined: Tue Feb 03, 2004 7:33 pm
Posts: 2
Website: http://brnr.com
Location: Berkeley, CA
Help! I'm new to Gentoo and portage so I probably made mistakes...

I'm building a machine to use as a general purpose dev webserver. I started by installing mysql, apache, php, perl, pure-ftpd, emacs, and gentoolkit

... and now I'm out of disk space, more than 1.7G which doesn't seem right too me?

Am I doing something wrong? I have a feeling that perl and php compiled a bunch of packages that I don't need.

Here's the USE variable I set in /etc/make.conf

USE="emacs java perl curl imagemagick jikes mysql -kde -qt -gnome -gdk -X -truetype -opengl -xmms -oggvorbis -opengl
-avi -quicktime -xmms -mpeg"


What USE variables do other people with similar needs use?

What's the best way too figure out which packages are taking up the most space and their dependancies?

Does anyone else have any tips on how to keep Gentoo small?

Thanks in Adavance


Top
   
 Post subject:
PostPosted: Tue Feb 03, 2004 8:27 pm 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
Hi,

To save diskspace you can delete the files from

/var/log/portage/* /usr/portage/distfiles/*

I purge those dirs daily as they do seem to take up alot of space.

The logs arnt that important if all goes well and the distfiles once the package has finished emerging you do not need the distfiles anymore.

Adam


Top
   
 Post subject: thanks adam
PostPosted: Tue Feb 03, 2004 8:46 pm 
Offline
Newbie

Joined: Tue Feb 03, 2004 7:33 pm
Posts: 2
Website: http://brnr.com
Location: Berkeley, CA
Thanks, that saved me 300M.

Do you know the best way to identify packages that aren't needed anymore after adjusting the USE variable?

Ishmael


Top
   
 Post subject:
PostPosted: Wed Feb 04, 2004 4:41 am 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
Hi,

Most of the packages are proabably still needed even after the USE flag ajustment, but some packages may need to be recompiled due to the changes.

I have a program to see if anything needs to be re-compiled will post it later.

Adam


Top
   
 Post subject:
PostPosted: Tue Feb 10, 2004 9:48 pm 
Offline
Senior Newbie

Joined: Tue Feb 10, 2004 9:44 pm
Posts: 6
Website: http://www.lansmash.com
Location: Brisbane - Australia
I don't understand why people use Gentoo on a distributed system like linode for a web/email server.

It just doesn't seem to fit the bill, unless you precompile your emerge stuff on another host and then upload it - but that seems like an awful amount of work.

There's probably a way to trim down your portage tree down to the bare essentials.

And you'd want to tune down your USE flags heaps, like -kde -X11, pretty much everything client side.


Top
   
 Post subject:
PostPosted: Thu Apr 01, 2004 1:14 am 
Offline
Newbie

Joined: Thu Apr 01, 2004 1:10 am
Posts: 2
I believe emerge -k will search for a binary package first, and compile from source if it is not available. Try emerge -K to do binaries only. Gentoo can do binaries too. :)


Top
   
 Post subject:
PostPosted: Thu Apr 01, 2004 6:27 am 
Offline
Senior Member
User avatar

Joined: Sun Nov 23, 2003 1:40 pm
Posts: 79
Website: http://www.whitehouse.gov/history/presidents/bc42.html
Cool_blade wrote:
I don't understand why people use Gentoo on a distributed system like linode for a web/email server.

It just doesn't seem to fit the bill, unless you precompile your emerge stuff on another host and then upload it - but that seems like an awful amount of work.


Not to start a flame war, but rather some real discussion ...

I have to agree, it doesn't make much sense either. From what I'm seeing, the amount of time required to compile and upkeep the source-installation-tree is far more than the amount of time given back in CPU optimizations.

Additionally, most distros ship with optimized versions of the few libraries that will make a difference ( /lib/i686 exists for a reason! ) And for things like email, database, httpd, I'd be some what surprised if most didn't manually compile those by hand to begin with.

Bill Clinton


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group