IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Changing student desktops from Red Hat
As I may have mentioned elsewhere, I've created a standard hard drive build for our programming classes based on Red Hat. However, I'm seriously considering moving away from this distro for several reasons:

- It seems kind of pokey on our hardware (p3-800, 128 MB RAM, 16 MB VRAM)
- Red Hat Network updates seemed like a good idea at first, but now they're beginning to drive me a bit nuts as I attempt to maintain multiple desktops.

I'm currently looking at a hard disk install of Knoppix as I've been impressed with its ease of use as a CD-based distro plus it comes "out of the box" with all the tools my coders need. I've read the docs and FAQs at knoppix.net but I have a few questions, though:

- I realize that it's a Debian-based distro so apt-get will become my close and personal chum. Is there an equivalent to rpmfind.net for .deb packages?
- Would it be worth my time to set up a local file server for updates and new .deb packages?
- How risky is it to use Debian 'unstable'?
- Are there any gotchas I should be wary of

Please note that I'm not trying to start a flame war here. I'm looking for folks with day-to-day hands-on experience with HD-based Knoppix installs.

I'm sure I'll think of more questions as time goes on.
Tom Sinclair

Fry: "I betcha Leela's holding out for a nice guy with one eye."
Bender: "That'll take forever. What she oughta do is find a nice guy with two eyes and poke one out."
Fry: "Yeah, that'd be a time saver."
'Love's Labours Lost In Space', Futurama
New Answers:
I realize that it's a Debian-based distro so apt-get will become my close and personal chum. Is there an equivalent to rpmfind.net for .deb packages?
[link|http://www.debian.org/distrib/packages|Descripton of the Debian Archive and packaging system with SEARCHING!]

and output from apt-cache stats:
greg@duke:~$ apt-cache stats\nTotal Package Names : 16490 (660k)\n  Normal Packages: 12885\n  Pure Virtual Packages: 367\n  Single Virtual Packages: 464\n  Mixed Virtual Packages: 197\n  Missing: 2577\nTotal Distinct Versions: 16238 (779k)\nTotal Dependencies: 92353 (2586k)\nTotal Ver/File relations: 50101 (802k)\nTotal Provides Mappings: 2910 (58.2k)\nTotal Globbed Strings: 112 (1280)\nTotal Dependency Version space: 424k\nTotal Slack space: 106k\nTotal Space Accounted for: 4992k
That doesn't even really account for the fact I only have experimental and unstable sources in my cache. But, I do have ftp.gnome.org in my sources and a few others.

Would it be worth my time to set up a local file server for updates and new .deb packages?
I have done JUST that for only the architectures I support. I can help you out there if you want help with the scripts and mirror selections and so on. It makes it *SOOOO* much nicer to have a partial local mirror!

How risky is it to use Debian 'unstable'?

Depends on what you call risky... I am currently defaulted to experimental, with unstable and testing as fallbacks (for deps only with testing). But there are currently alot of things in flux right now. For teaching, I'd stick to testing for now. z.iwethey.org is testing. With some restriction I have placed on myself. I basically do an apt-get --no-remove dist-upgrade regularly... until it becomes clear that few if any removals will happen if I do an apt-get dist-upgrade. Yes, you will know what I mean once your really swish the Kool-Aid in your mouth and swallow. I have posted about how the change just happened for me elsewhere. It just may happen for you as well. I used to live (and die sometimes) by the Hand of RedHat, I was happy it being that way... until, I discovered debian.

And, it being unstable, I'd akin it to being == *.0 release from RedHat. Being on testing == being on a *.1-*.3 release from RedHat. Being on Stable == There is no RedHat comparison there. That analogy kind of holds true for MOST Distros as well. Except may the Other Debian Stable Derived Distros. Knoppix is a COMBO of experimental, unstable, testing, stable and some RPMs installed using Alien... so beware what you do. One thing KNOPPIX does have is a nice Shell setup for Bash. It's big but it works nicely.

Are there any gotchas I should be wary of
Yes, many. Although,none you really need to aware of until you need to be aware of them. There have been a few times where (in unstable) it has broken itself mightily... for a day or so. By then someone here usually has a fix for the problem area (until it get's fixed by the regular maintainers)

[link|mailto:greg@gregfolkert.net|greg] - IT Grand-Master for Anti-President
[link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!]

THEY ARE WATCHING YOU.
The time has come for you to take the last step.
You must love THEM.
It is not enough to obey THEM.
You must love THEM.

PEACE BEGETS WAR, SLAVERY IS FREEDOM, STRENGTH IN IGNORANCE.
New Thanks!
This is clearly not going to be a casual decision.

I think I'll probably set up a partial mirror here on a local box.

How's the Debian installer, assuming I go with the original instead of a derivative (i.e. Knoppix)?

I originally selected Knoppix because:
- It's on one CD
- Installation seems pretty straightforward
- I can give out the CD to my students and they can have the same environment at home as they do in class.
Tom Sinclair

Bender: "Death to humans!" (cheers)
Fry: "Aww, it's good to hear his voice."
- 'Fear of a Bot Planet', Futurama
New Re: Thanks!
Tom wrote:

How's the Debian installer, assuming I go with the original instead of a derivative (i.e. Knoppix)?

Just to make sure I'm being clear about this: Running Knoppix's optional /usr/local/bin/knx-hdinstall installation does result in a Debian system, as one would understand that term in all meaningful senses. So would running the Progeny Graphical Installer ISO image, either the downloadable or the retail-box version of Libranet, the retail-box Xandros Desktop OS installer, the plain-vanilla Official Debian installer, or various others.

The plain-vanilla Official Debian installer is designed to be fairly modular, to support installation from the widest possible range of installation sources (local CD, hard disk, NFS, http, ftp, Zip disk, etc.) and to work across all 11 supported CPU architectures. In order to support installation onto the widest possible range of target hardware, it eschews aggressive autoprobing of hardware: Instead, at a point early in the installer, you can pick appropriate drivers from lists of such things by category, at which point the installer attempts an insmod. If the insmod succeeds, then you must have guessed right (*grin*) and the device (/filesystem/etc.) immediately becomes visible to the installer. Also, it gets added to the /etc/modules that will be written to the target hard drive.

Later on in the installer, you are given a choice of either simple or advanced package selection. You're advised to go for the former, which gives you a choice of metapackages (package groups). The "advanced" branch takes you into the modestly infamous dselect program, which many of us have never warmed to and consider a human-engineering debacle.

In either case, the installer then takes a fairly significant amount of time retrieving needed packages, and then installing them, and then configuring them (in that order). The command-line processes invoked in background to carry out those steps (apt-get, dpkg -i, and dpkg --configure) are fairly verbose, so there's a lot of scrolling screen output. The "configure" step asks the admin questions for some of the packages (typically maybe around 1/4 of them), on the basis of which it constructs their configuration files. A typical example would be the questions for Exim, the default SMTP server, for which they ask you which of four general types of mail service you need (local-only delivery, full Internet host, handing off to smarthost, etc.), and a couple of other basic questions.

The imposition of a "configure" step is in contrast to installers such as RH's (or knx-hdinstall), which do bulk-copy of generic configurations to the target drive, rather than consulting the admin to build system-tailored ones. In exchange for spending a bit more time answering questions, you get a system that better fits what you need to do without post-installation work.

Other than those two points, I can't see a lot of difference between the plain-vanilla Debian installer and other ncurses-oriented console installers for other *ixes. People gripe about it, so maybe some of those who have particular problems with it will speak up.

Oh, a few other things: (1) If you start your installation using floppy disk images, you have your choice of several diverse floppy sets, some of which deliberately omit some categories of hardware drivers so that you can successfully install onto machines with problem components in those categories. (2) When installing from CD, provided that your BIOS supports Joliet alternate boot images (most do), you can pick alternate boot "flavours" including "bf2.4" (boot flavour 2.4), which causes installation using a 2.4.x kernel. Otherwise, installation uses a 2.2.x kernel. Regardless, you should "apt-get install kernel-image-2.4.*" after installation, where * is some suitable version number, CPU type, etc. Fire up aptitude or synaptic to see what precompiled images are available on the package mirror sites.

I originally selected Knoppix because:
[...]
- I can give out the CD to my students and they can have the same environment at home as they do in class.


Knoppix has distinctive eye-candy, but it's nonetheless fundamentally Debian. You could install Debian to the workstations using the plain-vanilla installer and give the students Knoppix disks, and they'll basically have the same thing in both places. That make sense?

Rick Moen
rick@linuxmafia.com


If you lived here, you'd be $HOME already.
New Makes sense
Obviously, I'm very new to Debian. I was aware that there are many distros based on it and I was looking at Libranet for a while.

My original question referred to the vanilla Debian installer, but you answered that nicely. (And then some.)

Tom Sinclair

"Man, I love it when the complete absence of a plan comes together."
- [link|http://radio.weblogs.com/0104634/|Ernie the Attorney]
New Re: Changing student desktops from Red Hat
Tom wrote, concerning Red Hat:

- It seems kind of pokey on our hardware (p3-800, 128 MB RAM, 16 MB VRAM)
- Red Hat Network updates seemed like a good idea at first, but now they're beginning to drive me a bit nuts as I attempt to maintain multiple desktops.


Both problems can be addressed without leaving Red Hat. Go to [link|http://apt.freshrpms.net/|http://apt.freshrpms.net/] and pull down the apt tools and prototype sources.list file for your Red Hat release. Install onto your Red Hat boxes, and now you have not only a standard means of maintaining all student systems incrementally, but also network access to not only all official Red Hat updates but also ancillary packages like additional window managers. If, as seems likely, you have already pared down what services those machines run, the other likely cause of pokey performance is that RH's default GNOME/KDE configuration has gotten steadily more RAM-hungry over the years. Simply switching to a traditionalist's window manager such as ICEwm, Window Maker, Blackbox, etc. might be all the performance gain you need.

I run Debian's Window Maker on a variety of aging systems, and none of them has more CPU or RAM than the systems you describe. All of them strike me as having fine performance. Last time I tried Window Maker retrieved via apt onto Red Hat (RH8, I believe), it was perfectly fine, too.

I'm currently looking at a hard disk install of Knoppix as I've been impressed with its ease of use as a CD-based distro plus it comes "out of the box" with all the tools my coders need.

Bear in mind that the sheer quantity of what Knoppix includes can actually be a bit excessive. If you'd rather build Debian systems a bit more sparsely, you'll want to start them using a different installer. (There are quite a few to choose from.)

Is there an equivalent to rpmfind.net for .deb packages?

Not really very necessary. Debian-stable has something over 8,000 packages available in the official package mirrors. Debian-testing and Debian-unstable have passed 12,000 packages and still growing.

What you might have in mind is the site that chronicles unofficial apt repositories, [link|http://www.apt-get.org/|http://www.apt-get.org/]. If something isn't available from official sources for your branch, you might find it packaged unofficially there, instead. For example, suppose you had an NVidia GeForce 4 video card and need XFree86 4.3.0 compiled for Debian 3.0 = current stable = woody. There's an unofficial source for those packages, whose package-source line you just copy into /etc/apt/sources.list and away you go. Beware that unofficial packages inherently carry much less assurance (i.e., no guarantee at all) of meeting Debian Policy-compliance and security standards for official packages.

Would it be worth my time to set up a local file server for updates and new .deb packages?

Sure. This is easy to do. Install apt-proxy. Its home page and some documentation are at [link|http://apt-proxy.sourceforge.net/|http://apt-proxy.sourceforge.net/].

How risky is it to use Debian 'unstable'?

The downside is that something serious (or non-serious) may break whenever you perform the apt-get dance, so it's recommended only for people who've gained considerable experience and confidence with understanding and debugging Debian and its package subsystem. If you're new to Debian and willing to be a bit bold, venture as far as Debian-testing, but not Debian-unstable.

Are there any gotchas I should be wary of?

Well, if you're installing Knoppix to a hard drive, you're starting with a slightly variant system that's eight parts Debian-testing, one part Debian-unstable, and one part God-knows-what. That hasn't been a problem in my experience (the natural thing to do is track Debian-testing, thereafter), but be aware that there will be occasional slight differences from orthodox Debian systems. For example, your initial default runlevel will be 5 (like RH) rather than Debian's more usual runlevel 2.

You may want to delete the username and groupname "knoppix" created as an artifact of using this method of installation:

# deluser knoppix
# delgroup knoppix

Also, Knoppix's provision of literally dozens of locales settings is excessive for an installed system, and results in much wasted time every time package "locales" gets upgraded. So, do:

# dpkg-reconfigure locales

...and unmark all language/country settings (locales) you expect never to use, mark the ones you wish to add, then select the one locale you wish to be primary. Locales will be regenerated one more time.

You may find other useful ideas in my perennially disorganised list of Debian tips, [link|http://linuxmafia.com/debian/tips|http://linuxmafia.com/debian/tips] . Mind the dust; newer material is generlaly closer to the bottom.

Rick Moen

rick@linuxmafia.com


If you lived here, you'd be $HOME already.
Expand Edited by rickmoen June 9, 2003, 06:36:05 PM EDT
New Good point
I'll look into apt.freshrpms.net. I considered doing a re-install of the build from scratch (I took copious notes when I did it last time) and tweaking for performance. The freshrpms option may allow me to do that instead and ditch Red Hat network.

I agree, Knoppix has a ton of stuff pre-installed that they don't necessarily need. On the other hand, the ability to simply hand them a CD to give them the same desktop at home as they use in school is tempting.
Tom Sinclair

Professor: "Behold, the death clock! Simply jam your finger in the hole and this readout tells you exactly how long you have left to live."
Leela: "Does it really work?"
Professor: "Well, it's occasionally off by a few seconds, what with free will and all."
- 'A Big Piece of Garbage', Futurama
Expand Edited by tjsinclair June 10, 2003, 05:49:23 PM EDT
     Changing student desktops from Red Hat - (tjsinclair) - (6)
         Answers: - (folkert) - (3)
             Thanks! - (tjsinclair) - (2)
                 Re: Thanks! - (rickmoen) - (1)
                     Makes sense - (tjsinclair)
         Re: Changing student desktops from Red Hat - (rickmoen) - (1)
             Good point - (tjsinclair)

It's not rocket surgery!
53 ms