View previous topic :: View next topic |
Author |
Message |
jrknowles1 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Sep 2002 Posts: 46
|
Posted: Fri Sep 27, 2002 3:46 am Post subject: network server install |
|
|
Hello, I recently installed Gentoo 1.4r1 and think that this is a great distribution. So much so that I would like to redo my network server so that I can run the same distro on both machines. The only thing is the network server has a limited space (1.2 GB) and a slow processor (AMD K6-2 266). I'm not so much concerned with it being slow as I am to the amount of space that it has. When I installed gentoo on my desktop computer it took up a lot of space. Whether or not I did something to influence that I'm not sure. So, my question is how would I go about installing the same version but with only the minimum amount of stuff. Some of the things that I would like to run is webmin so that I can configure the machine openssl for secure conections iptables of course and possibly some other networking programs. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rac Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/42db5dbb3e1c92424d747.jpg)
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Sep 27, 2002 3:53 am Post subject: |
|
|
The #1 biggest hog of disk space in my experience with Gentoo is compiling xfree. If you don't need X, you will save a lot of space. If you can afford some downtime (or buying a spare hard disk), you can install the Gentoo for your slow machine when the disk is in your fast machine, and that way you can use extra disk space on the fast machine as build scratch space. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jrknowles1 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Sep 2002 Posts: 46
|
Posted: Fri Sep 27, 2002 4:17 am Post subject: |
|
|
That's actually a really good idea. Is 1.2 GB enough space though. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
de4d Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 12 Sep 2002 Posts: 181 Location: fr. i. br. (ger)
|
Posted: Fri Sep 27, 2002 8:20 am Post subject: |
|
|
some ideas:
1) remove all unwanted USE flags (better yet: dont forget to remove ...;)
2) maybe put your compile area on an nfs mount if not enuff space
3) use distcc (compiling on 266mhzCPU takes forever) if u dont want to exchange/buy HDs
4) if u dont like downtime, just put gentoo over ur existing system. assuming that u use your server mainly for routing/NAT purposes, the install procedure wont touch your system until reboot (imho). _________________ void main(){fork();main();} |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mrchuckles Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/41d88fb53d94a5d3abadf.jpg)
Joined: 09 Jul 2002 Posts: 125 Location: Severn, MD
|
Posted: Fri Sep 27, 2002 6:30 pm Post subject: |
|
|
Not to be a voice of disent here, but Gentoo is not really ideal in this situation. Maybe it's the network admin in me coming out, but Gentoo is not what I'd call stable for server use. That, combined with your low-end hardware and small hard drive space, leads me to recommend Debian over Gentoo in this instance. Don't get me wrong, I love Gentoo, and use it on my PC and laptop, but all my servers run Debian. Compiling security updates on a low-end server is not my idea of fun, particuarly if I have a large number of users hitting that machine at the time. It's just as soon do an apt-get off the security-updates section of any Debian mirror.
Okay, let the flames fly... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
phong Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/39388006940208f6374aea.gif)
Joined: 16 Jul 2002 Posts: 778 Location: Michigan - 15 & Ryan
|
Posted: Fri Sep 27, 2002 7:03 pm Post subject: |
|
|
There are a few other things you can do to trim it down - first, clean out /var/tmp/portage and /usr/portage/distfiles periodically. If you start from stage 1, check out this howto to avoid installing extra locale info. If things get really tight, try compiling with "-Os" instead of "-O3". Actually, it would be even better to use the program mentioned here. There are a number of packages in a default install that aren't really necessarly for everyone. You can take out what you don't want/need (though be aware that that file gets restored with each emerge rsync). The trimming of USE variables is a good idea. Some ebuilds can probably be modified to install lighter weight versions of some things too (like you could probably install a version of gcc that doesn't have so many extra languages like fortran, java, etc.). _________________ "An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jeld Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/2643778163eb0695fa500b.jpg)
Joined: 28 Jun 2002 Posts: 84 Location: NYC, US
|
Posted: Fri Sep 27, 2002 11:10 pm Post subject: Nice signature |
|
|
Nice signature. Star Control 3 is it? _________________ package JAPH;sub x{$/='$';@1=map{$_=ord;$_--;chr}
split//,<DATA>;@2=map{$_=ord;$_++;chr}split//
,<DATA>;$_=sub{$.++%2?shift@2:shift@1};bless$_;}
1;$x=JAPH->x;for(1..25){print&$x,;}__DATA__
Kt!ouf!fmIdf"$ts@ngqOq`jq |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|