Here are a list of all the general things I did to install Slackware Linux 8.1 on the eBox. I must say, the Slackware team have done a great job with 8.1 - half of the tweaks I had on my 8.0 instructions page have been done already in 8.1. Of course it also includes the latest versions of all the included software packages as well.
I make a lot of assumptions here, so you'll probably need to know at least roughly what you're doing (ie. don't just follow these blindly). In particular, with my system Samba is running but NFS is disabled, I'm not using devfs, and I use ext3. Anyway, here we go:
You will need to select "expert package selection" to be given the option of selecting which packages you want to install.
Deselect disksets E, F, T, and Y.
This list describes what you need to select and deselect (differences from the default settings). Anything else, just leave it as is. The idea here is to create a cut-down installation with the necessary libraries and utils so that you can compile and run most applications if you need to, but without all the junk that you don't need (ie, exclude most desktop and server apps). Of course, feel free to adjust this list to suit your preferences.
Diskset | Deselect | Select |
A | devfsd, genpower, jfsutils, loadlin, lprng, pcmcia_cs, reiserfsprogs, umsdos_progs, tcsh, xfsprogs | |
AP | apsfilter, a2ps, ghostscript, gimp-print, gnu-gs-fonts, hpijs, jed, joe, ksh93, mc, mt-st, quota, raidtools, rexima, seejpeg, zsh | at, cdparanoia, sudo |
D | nasm, python | |
K | ||
KDE | kdeaddons, kdeadmin, kdeartwork, kdeedu, kdegames, kdegraphics, kdenetwork, kdepim, kdetoys, koffice | |
L | ||
N | apache, bind, bitchx, dhcp, epic4, fetchmail, inn, ipchains, lynx, mailx, metamail, mutt, ncftp, pidentd, popa3d, ppp, procmail, sendmail, tcpdump, tin, trn, ytalk | ntp, samba |
TCL | expect | |
X | xfree86-fonts-100dpi | |
XAP | Fvwm, fvwm95, gimp, gnuchess, gv, imagemagick, mozilla, netscape, rxvt, sane, windowmaker, xgames, xfce, xfractint, xsane, xvim, xxgdb | |
GNOME | abiword, bug-buddy, dia, enlightenment, eog, eterm, evolution, gaim, gal, galeon, gedit, gftp, ggv, ghex, glade, gnome-pilot, gnome-pim, gnome-print, gnome-userdocs, gnome-utils, gnomeicu, gnotepad+, gnumeric, gqmpeg, gqview, gtk-engines, gtm, gtop, guppi, nautilus, pan, pilot-link, sodipodi, xchat, xalf |
/etc/fstab
(enables the USB device file system, which is required for a lot of USB stuff):
none /proc/bus/usb usbdevfs defaults 0 0
ln -s /dev/hdX /dev/dvdWhere hdX is the device for your DVD drive (hdc in my case, because it's the master IDE device on the second channel).
cd /etc/rc.d chmod a-x rc.nfsd
In case you didn't already know, Samba allows Windows machines on a network to access files (and printers as well) on your Linux machine through My Network Places/Network Neighbourhood, and vice versa.
installpkg /mnt/cdrom/slackware/n/samba-2.2.4-i386-3.tgz
)load printers = no encrypt passwords = yes smb passwd file = /etc/samba/private/smbpasswd map to guest = bad user
useradd guest smbpasswd -a guest
cp /usr/doc/samba-2.2.4/examples/rc.samba /etc/rc.d
For a system like the eBox, it's worth recompiling the kernel so you have what you need and no extra junk. If nothing else, it will speed up starting the machine.
make xconfig
which brings up a nice Tk windowed configuration system, which I prefer.
Otherwise use make menuconfig
instead.make dep make clean make bzImage make modules rm -rf /usr/lib/modules/2.4.18 make modules_install cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.18-custom
image=
block of lines and edit as
appropriate. Don't forget to make sure each item has a unique label
line. You may also want to make sure the option for
the new kernel you just made is the first image=
block defined in the file, and set the timeout
to 20
(this means 20 decisections, ie. 2 seconds).
Make sure that the boot=
line is correct - generally unless you're using some other boot menu as well as LILO
I would suggest setting it to /dev/hda
(this way LILO goes into the master boot record of the hard drive and is guaranteed
to be booted first).
lilo -v