----------PREPARE--------------------------------- * Boot from the CD. You'll be in Toms-Mini-Linux. Login as root with pass xxxx. * Mount the CD. (i.e. mount /dev/hdb /cdrom) * create the three boot-disks: cd to /cdrom/bootdisks - Create the boot disk [dd if=boot.i of=/dev/fd0] - Create the root disk [dd if=root.gz of=/dev/fd0] - Create the util disk [dd if=util.i of=/dev/fd0] --------BUILD CORE LINUX------------------------------ * - Insert the boot disk and reboot - At the prompt, insert the root disk and hit ENTER - Mount the util disk [mount /dev/fd0 /mnt/floppy] - Mount the cdrom [mount /dev/hdb /mnt/cdrom] * - Partition (fdisk) and format (mke2fs) a root filesystem. Note that if you have a large hard drive, it may be necessary to create a small partition at the front of the disk to store boot files [mounted at /boot]. Only e2fs and e3fs support acl and ea. - Create a swap partition [optional](mkswap + swapon). * - Mount the root filesystem under /mnt/root [including any /boot or /usr partitions] - cd /mnt/cdrom/core - run the install_core script. As an argument, it takes the path to the root filesystem in which to install Core. [ex: ./install_core /mnt/root] * - Extract the Linux kernel source into the /usr/src directory of the new root filesystem (cd /mnt/root/usr/src : tar -xzvf /mnt/cdrom/packages/linux-2.4.18acl.tar.gz) - Chroot into the new root filesystem - Increase the $PATH (PATH=$PATH:/usr/bin:/usr/sbin) - Configure and install the Linux kernel: cd /usr/src/linux make menuconfig make dep && make bzImage && make modules && make modules_install cp arch/i386/boot/bzImage /boot/vmlinuz cp system.map /boot/ - Run lilo [be sure to check the /etc/lilo.conf file before] ### Note: core-linux comes with the editor nano ### - Configure all files under the /etc directory (have a look to the sample-scripts in archive on the cdrom/packages) - for successfully reboot check again your /ets/fstab and /etc/lilo.conf. * - Reboot. ---------INSTALL THE PACKAGES---------------------------- - If you don't have an us-keyboard, you may find the kbd-package quite comfortable. - Mount the CD and cd to /usr/src. - just tar xzvf /mnt/cdrom/packages/kbd-1.06.tar.gz. - cd to kbd-1.06. - ./configure : make : make install - loadkeys de-latin1-nodeadkeys.map.gz (for german) - cd- - do the same with the libtools. - do the same with the e2fsprogs: ./configure --prefix=/ - do the same with the attr: ./configure --prefix=/usr --enabled-shared --enabled-static : make : install : install-lib : install-dev - do the same with the acl: ./configure --prefix=/usr --enabled-shared --enabled-static : make : install : install-lib : install-dev - do the same with the fileutils: ./configure --prefix=/ - do the same with the xinetd: ./configure --prefix=/usr copy my xinetd.conf from sample-scripts to /etc/xinetd.conf and modify it. - do the same with the samba: ./configure --prefix=/usr --enable-cups --with-smbmount --with-acl-support. copy my smb.conf from sample-scripts to /etc/smb.conf and modify it. create a link ln -s /etc/smb.conf /usr/lib/smb.conf - if you want to administer your domainix-box remotely, please setup the inetutils: ./configure --prefix=/usr. Don't forget to create a telnet-section in xinetd.conf. - if you are working via telnet remotely, you may like the editor vim better than nano:./configure --prefix=/usr. create a link ln -s /usr/bin/vim /usr/bin/vi. * - config all /etcs. - enjoy...