Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
trimming os footprint
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
cipherus
Apprentice
Apprentice


Joined: 07 May 2004
Posts: 174

PostPosted: Sat Nov 10, 2007 4:55 am    Post subject: trimming os footprint Reply with quote

I have a Xen VPS with about 4gb of space and right off the bat Gentoo is using about 2gb. Is there a way I can dramatically trim down stuff from the OS? All I really use it for is lighttpd / screen irssi / and eAthena. eAthena needs a lot of room for data files (minimum 2gb).
Back to top
View user's profile Send private message
NaturalRandom
n00b
n00b


Joined: 07 Dec 2004
Posts: 24
Location: Next to neighbour

PostPosted: Sat Nov 10, 2007 5:11 am    Post subject: Reply with quote

If you compile with -Os and compress your portage tree with squashfs, I think you can shave off about 500 more mb.
Back to top
View user's profile Send private message
cipherus
Apprentice
Apprentice


Joined: 07 May 2004
Posts: 174

PostPosted: Sat Nov 10, 2007 8:39 pm    Post subject: Reply with quote

alright, i guess that's it huh? thanks for the reply, much appreciated.
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Sat Nov 10, 2007 9:15 pm    Post subject: Reply with quote

Pay attention to your USE flags: start with USE="-*" in /etc/make.conf, run every emerge with -pv, and add USE flags that you want (being careful not to break anything). Run eclean-dist --destructive after updates. Run emerge --depclean (and revdep-rebuild after) from time to time. Use localepurge.
_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum