Re: Which Release to install
From: Ted Spradley (tsprad+usenet_at_spradley.org.invalid)
Date: 09/18/03
- Next message: Guy Middleton: "Re: cdrecord on an IDE drive with atapicam?"
- Previous message: GmH: "remote upgrade from 3.x -> 4.x?"
- In reply to: Steve O'Hara-Smith: "Re: Which Release to install"
- Next in thread: Kris Kennaway: "Re: Which Release to install"
- Reply: Kris Kennaway: "Re: Which Release to install"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 18 Sep 2003 01:49:34 GMT
On Wed, 17 Sep 2003 19:44:52 +0200
Steve O'Hara-Smith <steveo@eircom.net> wrote:
> Yep you'll never get the ports on a 1.2gig drive. Install
> minimal
> with no ports and use packages to install the rest.
Does anybody besides me think maybe this ports thing has gotten a bit
out of hand? I just installed 5.1-RELEASE and a (very) few packages on
an empty box. I never have a problem with sudo and pdksh, but these GUI
things are just completely out of hand. E.g., gaim didn't work --
signal 6 ?!? Well, it's version 0.63, and I was using 0.66 last month,
I'll just upgrade rather than trying figure it out.
So I cvsup the ports tree (except foreign languages which are
meaningless to me) and try "portupgrade -s -i gaim". It fiddled a
little bit and failed. I ran the exact same command again and it
started working, but after a minute or two it quit because I had version
0.11.5 of some library and it wanted 0.12. So I ran it again with the
"-R" option, and now it's rebuilding all of X11! I was running gaim
0.66 on FreeBSD 4.8 and XFree86 4.2.1 last month, but now I need
something newer than FreeBSD 5.1 and XFree86 4.3.0?
> It'll be tight.
Nah, 1200M bytes is plenty, just stay away from the ports/packages. And
from X. 64M for root, 128M for swap, 256M (or less, with no X) for
/usr, the rest (over 700M) in /var. Install the minimal system using
the installer, then edit /etc/fstab to add an mfs filesystem on /tmp,
and create/var/home (symlink to /), /var/src and /var/obj (symlink to
/usr/), move/usr/local/etc to /etc/local and symlink it (this is all so
you can eventually mount /usr read-only).
Create an account for yourself and add it to the wheel group, and use it
rather than root as much as you can. Since I'm the only member of the
wheel group on my systems, I "chmod -R g+w /usr/src" to avoid having to
build kernels as root. Yeah, that's the next thing to do: use
/stand/sysinstall to get the kernel sources (into the /var filesystem,
through the symlink). Go to /sys/i386/conf, make a copy of GENERIC and
delete about 85% of it, like all the 'device's that don't show up in
your dmesg, and all the filesystems and networks you won't use. "cd
../../compile/THISBOX && make depend && make && sudo make install".
Reboot to test it, and remember if you need the space you can "rm -rf
/var/src/*" later, but make a copy of your kernel config file first.
Compare the size of /kernel and /kernel.GENERIC and see why you took the
time to do this.
Now that you have a solid system you can start the learning experience.
Fetch the normal source distributions of the packages you want, Apache,
PHP, etc. Follow the instructions that come with them and figure out
how to configure and compile them yourself, the way you want them.
Don't worry about screwing something up, this is meant to be a learning
experience, isn't it? Just keep this stuff in your home directory,
separate from /usr, until you're satisfied with it (--prefix=$HOME, in
most cases). If you get hopelessly confused, or really botch it up, you
can always "rm-rf" it all and start over.
1200M bytes is plenty for this (if you had less we might have to squeeze
a little, like delete all the kernel modules and use a smaller root).
Have fun.
-- Remember, more computing power was thrown away last week than existed in the world in 1982. -- http://www.tom.womack.net/computing/prices.html
- Next message: Guy Middleton: "Re: cdrecord on an IDE drive with atapicam?"
- Previous message: GmH: "remote upgrade from 3.x -> 4.x?"
- In reply to: Steve O'Hara-Smith: "Re: Which Release to install"
- Next in thread: Kris Kennaway: "Re: Which Release to install"
- Reply: Kris Kennaway: "Re: Which Release to install"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|