View previous topic :: View next topic |
Author |
Message |
cipherus Apprentice
Joined: 07 May 2004 Posts: 174
|
Posted: Sat Nov 10, 2007 4:55 am Post subject: trimming os footprint |
|
|
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 |
|
|
NaturalRandom n00b
Joined: 07 Dec 2004 Posts: 24 Location: Next to neighbour
|
Posted: Sat Nov 10, 2007 5:11 am Post subject: |
|
|
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 |
|
|
cipherus Apprentice
Joined: 07 May 2004 Posts: 174
|
Posted: Sat Nov 10, 2007 8:39 pm Post subject: |
|
|
alright, i guess that's it huh? thanks for the reply, much appreciated. |
|
Back to top |
|
|
tarpman Veteran
Joined: 04 Nov 2004 Posts: 1083 Location: Victoria, BC, Canada
|
Posted: Sat Nov 10, 2007 9:15 pm Post subject: |
|
|
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 |
|
|
|