Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What gentoo install to use...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Korr.ban
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2004
Posts: 98
Location: Ex Inferis

PostPosted: Thu Jul 22, 2004 11:04 pm    Post subject: What gentoo install to use... Reply with quote

I have successfully configured my Gentoo box as all of that and more. However, It was my first gentoo install and so it is a stage3 tarball. I am wondering what the most BASIC gentoo install would be. Also, should I reinstall the gentoo system with this BASIC setup or "If it aint broke don`t fix it"

My goal is to have a very clean system working as a firewall/router/proxy/DNS/DHCP/File server

I dont need alot of the tools that my current gentoo has installed. I just want enough tools to be installed for me to be able to emerge those things that I mentioned above.

I am thinking "Stage1 tarball"...however my router is a 233mhz P1-mmx LOL... 4days to compile?? Not that I mind... any suggestions/recommendations?
_________________
Registered Linux User #375052

DevShell - Viva La Revolusion!


Last edited by Korr.ban on Fri Jul 23, 2004 1:31 am; edited 1 time in total
Back to top
View user's profile Send private message
RedDawn
Guru
Guru


Joined: 22 Sep 2003
Posts: 368
Location: Los Angeles, California

PostPosted: Thu Jul 22, 2004 11:14 pm    Post subject: Re: What gentoo install to use... Reply with quote

Korr.ban wrote:
I have successfully configured my Gentoo box as all of that and more. However, It was my first gentoo install and so it is a stage3 tarball. I am wondering what the most BASIC gentoo install be. Also, should I reinstall the gentoo system with this BASIC setup or "If it aint broke don`t fix it"

My goal is to have a very clean system working as a firewall/router/proxy/DNS/DHCP/File server

I dont need alot of the tools that my current gentoo has installed. I just want enough tools to be installed for me to be able to emerge those things that I mentioned above.

I am thinking "Stage1 tarball"...however my router is a 233mhz P1-mmx LOL... 4days to compile?? Not that I mind... any suggestions/recommendations?



Hey me again! :lol:

Well what you can do is a HD swap.. ( :P ) what that is. is basically you take out the hd of the computer your going to install gentoo on and put in the Fastets computer you have.. (thus) compiling gentoo for the other computer on the faster one... all you have to do is set the cflags to either something compatible for another system..

i did it once and i thinkg the cflags for that system were..


Code:

CFLAGS="-Os -mcpu=i686 -pipe -fomit-frame-pointer"


and it work.. i moved that system from a p3 for a p4 and finally a AMD and no problems whathoever...

well i hope i helped and ill post those configuration files in a while..

take care!
Back to top
View user's profile Send private message
Gherald2
Guru
Guru


Joined: 02 Jul 2003
Posts: 326
Location: Madison, WI USA

PostPosted: Thu Jul 22, 2004 11:19 pm    Post subject: Re: What gentoo install to use... Reply with quote

If it aint broke don't fix it.
Korr.ban wrote:
I am thinking "Stage1 tarball"...however my router is a 233mhz P1-mmx LOL... 4days to compile?? Not that I mind... any suggestions/recommendations?

Yes, stage1 on such a slow machine is pointless unless you are a gcc optimization guru and have your cflags tweaked to perfection. Just do a stage3, the defaults are good enough.
_________________
Unregistered Linux User #17598363
Back to top
View user's profile Send private message
Korr.ban
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2004
Posts: 98
Location: Ex Inferis

PostPosted: Thu Jul 22, 2004 11:25 pm    Post subject: Re: What gentoo install to use... Reply with quote

[quote="RedDawn"]
Korr.ban wrote:
I have successfully configured my Gentoo box as all of that and more. However, It was my first gentoo install and so it is a stage3 tarball. I am wondering what the most BASIC gentoo install be. Also, should I reinstall the gentoo system with this BASIC setup or "If it aint broke don`t fix it"



LOL I was thinking of doing just that. I have an old 6gig HD connected to my amd 1.2gighz with 500mb ram. Funny thing is that I was doing something very similar at work with an old computer who`s IDE CD-rom wouldnt read the gentoo-bootdisk

I guess I will wait a bit until I buy a power supply for a case I have then try it out on that computer with a stage1 tarball then make a stage4 with it and put it on the router...
_________________
Registered Linux User #375052

DevShell - Viva La Revolusion!
Back to top
View user's profile Send private message
RedDawn
Guru
Guru


Joined: 22 Sep 2003
Posts: 368
Location: Los Angeles, California

PostPosted: Thu Jul 22, 2004 11:37 pm    Post subject: Re: What gentoo install to use... Reply with quote

[quote="Korr.ban"]
RedDawn wrote:
Korr.ban wrote:
I have successfully configured my Gentoo box as all of that and more. However, It was my first gentoo install and so it is a stage3 tarball. I am wondering what the most BASIC gentoo install be. Also, should I reinstall the gentoo system with this BASIC setup or "If it aint broke don`t fix it"



LOL I was thinking of doing just that. I have an old 6gig HD connected to my amd 1.2gighz with 500mb ram. Funny thing is that I was doing something very similar at work with an old computer who`s IDE CD-rom wouldnt read the gentoo-bootdisk

I guess I will wait a bit until I buy a power supply for a case I have then try it out on that computer with a stage1 tarball then make a stage4 with it and put it on the router...


Good thinking that also works.. Stage4 :P thats my backup system.. 8)
Back to top
View user's profile Send private message
Gherald2
Guru
Guru


Joined: 02 Jul 2003
Posts: 326
Location: Madison, WI USA

PostPosted: Fri Jul 23, 2004 12:07 am    Post subject: Reply with quote

My god, building a system from stage1 with generic cflags on a surrogate machine when you could just use a better optimized stage3 to begin with?

If wasting a lot of time and ending up with an unoptimized system are your goals.... I think you picked the wrong distro, folks.
_________________
Unregistered Linux User #17598363


Last edited by Gherald2 on Fri Jul 23, 2004 12:11 am; edited 1 time in total
Back to top
View user's profile Send private message
Korr.ban
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2004
Posts: 98
Location: Ex Inferis

PostPosted: Fri Jul 23, 2004 12:10 am    Post subject: Reply with quote

Gherald wrote:
My god, building a system from stage1 with generic cflags on a surrogate machine when you could just use a more-than-reasonably optimized stage3 to begin with?

If wasting a lot of time and ending up with an unoptimized system are your goals.... I think you picked the wrong distribution, folks.



LOL always with the negative ways...
Ill just have to get my proxy server to work as a temp router while my 233 builds a stage1... no worries...

Ill still have to make a stage4 cd though for when the HD dies on the router/DNS server...


Also...as for this optimized stage3... where are some instructions to optimize...
_________________
Registered Linux User #375052

DevShell - Viva La Revolusion!
Back to top
View user's profile Send private message
Gherald2
Guru
Guru


Joined: 02 Jul 2003
Posts: 326
Location: Madison, WI USA

PostPosted: Fri Jul 23, 2004 12:14 am    Post subject: Reply with quote

stage4... I guess a backup never hurts, but starting from stage1 is madness.

What cflags are you going to be using, anyway?
_________________
Unregistered Linux User #17598363
Back to top
View user's profile Send private message
Korr.ban
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2004
Posts: 98
Location: Ex Inferis

PostPosted: Fri Jul 23, 2004 12:51 am    Post subject: Reply with quote

Quote:

What cflags are you going to be using, anyway?


CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=pentium-mmx -O3 -pipe"


USE="-gtk -gnome qt kde alsa cdr"
Although - this server will be console only and function as firewall/router/DNS/DHCP server... Any suggestions would be appreciated.
_________________
Registered Linux User #375052

DevShell - Viva La Revolusion!
Back to top
View user's profile Send private message
Gherald2
Guru
Guru


Joined: 02 Jul 2003
Posts: 326
Location: Madison, WI USA

PostPosted: Fri Jul 23, 2004 12:57 am    Post subject: Reply with quote

Console only and yet you do not have -kde and -qt in your use flags? Have fun injecting packages.

And you're not even doing a -march=pentium-mmx..... what a sad waste of compilation time.

Do yourself a favor, stage3 and be done with it.
_________________
Unregistered Linux User #17598363
Back to top
View user's profile Send private message
Korr.ban
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2004
Posts: 98
Location: Ex Inferis

PostPosted: Fri Jul 23, 2004 1:03 am    Post subject: Reply with quote

Gherald wrote:
Console only and yet you do not have -kde and -qt in your use flags? Have fun injecting packages.

And you're not even doing a -march=pentium-mmx..... what a sad waste of compilation time.

Do yourself a favor, stage3 and be done with it.


Why not make a suggestion... tell me what you recommend rather than use sarcasm... please?


Quote:
Console only and yet you do not have -kde and -qt in your use flags? Have fun injecting packages.

USE="-gtk -gnome qt kde alsa cdr"
isnt that what I have...?
_________________
Registered Linux User #375052

DevShell - Viva La Revolusion!
Back to top
View user's profile Send private message
Gherald2
Guru
Guru


Joined: 02 Jul 2003
Posts: 326
Location: Madison, WI USA

PostPosted: Fri Jul 23, 2004 1:10 am    Post subject: Reply with quote

Well, I told you what I recommend. But if you're one of those people who learns by repetition:

You have "qt" and "kde" in your use flags, yes. You want "-qt" and "-kde" and probably "-X" as well.

Use stage3.
_________________
Unregistered Linux User #17598363
Back to top
View user's profile Send private message
Korr.ban
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2004
Posts: 98
Location: Ex Inferis

PostPosted: Fri Jul 23, 2004 1:28 am    Post subject: Reply with quote

Here is what it looks like now... any suggestions for what you would change would be appreciated.

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium-mmx -O3 -pipe"
USE="-gtk -gnome -X -qt -kde alsa cdr"
_________________
Registered Linux User #375052

DevShell - Viva La Revolusion!
Back to top
View user's profile Send private message
Gherald2
Guru
Guru


Joined: 02 Jul 2003
Posts: 326
Location: Madison, WI USA

PostPosted: Fri Jul 23, 2004 1:43 am    Post subject: Reply with quote

That's fine. I personally use -O2 instead of -O3, but that's a judgement call.
_________________
Unregistered Linux User #17598363
Back to top
View user's profile Send private message
Korr.ban
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2004
Posts: 98
Location: Ex Inferis

PostPosted: Fri Jul 23, 2004 2:00 am    Post subject: Reply with quote

Gherald wrote:
That's fine. I personally use -O2 instead of -O3, but that's a judgement call.


Whats the dif between O2 and O3 ?
_________________
Registered Linux User #375052

DevShell - Viva La Revolusion!
Back to top
View user's profile Send private message
RedDawn
Guru
Guru


Joined: 22 Sep 2003
Posts: 368
Location: Los Angeles, California

PostPosted: Fri Jul 23, 2004 2:04 am    Post subject: Reply with quote

Korr.ban wrote:
Gherald wrote:
That's fine. I personally use -O2 instead of -O3, but that's a judgement call.


Whats the dif between O2 and O3 ?


O2 is like a mid Optimization O3 does full optimization and the expence of Binarys being huge..

I personally use -Os i has never given me a problem...
Back to top
View user's profile Send private message
Korr.ban
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2004
Posts: 98
Location: Ex Inferis

PostPosted: Fri Jul 23, 2004 2:19 am    Post subject: Reply with quote

I will use O2 then... it sounds like its a middle of the road setting with O3 being the most extreme...although what do you mean by expence of Binarys being huge...
_________________
Registered Linux User #375052

DevShell - Viva La Revolusion!
Back to top
View user's profile Send private message
RedDawn
Guru
Guru


Joined: 22 Sep 2003
Posts: 368
Location: Los Angeles, California

PostPosted: Fri Jul 23, 2004 2:29 am    Post subject: Reply with quote

Korr.ban wrote:
I will use O2 then... it sounds like its a middle of the road setting with O3 being the most extreme...although what do you mean by expence of Binarys being huge...


like the END result you the compile package is big because of all those optimization.. or so i 've heard... search the forums for -O2 vs. -03 or cflags
Back to top
View user's profile Send private message
Korr.ban
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2004
Posts: 98
Location: Ex Inferis

PostPosted: Fri Jul 23, 2004 3:11 am    Post subject: Reply with quote

I found some info at
https://forums.gentoo.org/viewtopic.php?t=5717

Waiting for some input there... thanks for the help.
_________________
Registered Linux User #375052

DevShell - Viva La Revolusion!
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Fri Jul 23, 2004 7:12 am    Post subject: Reply with quote

I've never compiled a system on a straight pentium, but isn't that an i586 so it would need a chost of i586-pc-linux-gnu i686 is for pentium pro up, the pentium mmx is the one before the pro.
Also to save you some time you might want to add -java to your USE and while your at it get rid of alsa
Back to top
View user's profile Send private message
HydroSan
l33t
l33t


Joined: 04 Mar 2004
Posts: 764
Location: The Kremlin (aka Canada)

PostPosted: Fri Jul 23, 2004 7:39 am    Post subject: Re: What gentoo install to use... Reply with quote

Gherald wrote:
If it aint broke don't fix it.
Korr.ban wrote:
I am thinking "Stage1 tarball"...however my router is a 233mhz P1-mmx LOL... 4days to compile?? Not that I mind... any suggestions/recommendations?

Yes, stage1 on such a slow machine is pointless unless you are a gcc optimization guru and have your cflags tweaked to perfection. Just do a stage3, the defaults are good enough.


Yes, but Stage3 is old, and you end up having to recompile everything with emerge -u world anyhow.
_________________
I was a Gangster for Capitalism, by Major General Smedley Butler.

Server status: Currently down, being replaced with fresh install - 20% completed.
Back to top
View user's profile Send private message
Gherald2
Guru
Guru


Joined: 02 Jul 2003
Posts: 326
Location: Madison, WI USA

PostPosted: Fri Jul 23, 2004 7:47 am    Post subject: Reply with quote

Not everything, and you certainly don't have to bootstrap, which is unecessary and error prone.
_________________
Unregistered Linux User #17598363
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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