management

Alexander Leidinger Alexander at Leidinger.net
Fri Jan 13 07:27:06 PST 2006


mike at lanline.com wrote:

Answering to some of the questions where I haven't seen an answer to yet...

> details are missing.  Like, can I or should I redirect the obj code to a
> directory on the local machine so I don't have to do a make clean as I go
> from server to server (and if so, can I do this through make.conf)?  Same

There was an implicit answer, but no helpful pointer. The obj code will go to
another directory by default (/usr/obj), but it can be redirected to another
location. Have a look at build(7) manual page.

> thing with ports. Also, I know about portupgrade, but is that the best way
> to manage ports?  Is there something better?  And the port system
> itself... I know it's supposed to provide all this flexibility, but there
> doesn't seem to be any documentation about what variables can be set or
> anything (e.g. can I force the binary to get installed in a certain dir?)

To force the install of a particular port into a certain dir you can use the
PREFIX variable. But you have to take care of changes then (e.g. adding the
directory to your PATH), and this location isn't picked up by portupgrade
automatically, you have to tech portupgrade manually about it.

For more about the variables and possibilities have a look at the ports(7)
manual page.

> I know I could look in the makefiles and stuff, but I really don't have
> that kind of time (damn sys. admining)  Is there some documentation or
> something I don't know about that answers questions like these?  I mean
> the handbook is great for general config. questions, but I'm more
> interested in server farm management and maintenance.

Try "apropos <generic keyword>", it may come up with something (like it does
for ports and build).

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
Indifference will certainly be the downfall of mankind, but who cares?




More information about the freebsd-isp mailing list