Article title: offline installation of DRBL diskless system under FedoraLinux8. Linux is a technology channel of the IT lab in China. It includes desktop applications, Linux system management, kernel research, embedded systems and open-source systems. DRBL is an open-source, diskless, remote startup Linux system, and the installation of DRBL is relatively simple, especially when your computer is able to access the Internet, it is very simple. But there are also some problems that need to be noted: DRBL requires support from more than two Nics. if your computer only has one Nic, you need to set two Ip addresses (using alias Ip addresses ). In addition, you need to bind an IP address to the client in the following step.
1. install the Ora 8 operating system
Here we will not talk about the installation of Fedora 8, which is relatively simple. I did not divide partitions according to what I said on the DRBL website. There are three partitions in total, one swap zone (swape) and one root partition (/), A home area (/home ). If you don't want to see the English version of drbl, you can install Fedora in traditional Chinese.
Fedora 8 has three installation modes: office, software development, and network server. I have no choice but to directly follow the next step. I did not perform any operations on subsequent software customization.
After the installation of Fedora 8 is complete, restart the computer for configuration. firewall must be disabled and SELinux should also be disabled. Nothing else.
If your computer only has one network card, you need to configure two IP addresses for the network card.
The way to configure multiple IP addresses is like this, under/etc/sysconfig/network-script/You can see there is a ifcfg-eth0 file, this is your Nic configuration file, cp ifcfg-eth0 ifcfg-eth0: 1 is good. Then vi ifcfg-eth0: 1 modifies the corresponding item in ifcfg-eth0: 1.
# VIA Technologies, Inc. VT6102 [Rhine-II]
DEVICE = eth0 // the DEVICE must be changed to eht0: 1.
BOOTPROTO = none
BROADCAST = 192.168.1.255 // BROADCAST address of the IP address, corresponding
HWADDR = 00: 14: 2A: 2D: 59: 6B // The Mac address of the NIC, which does not need to be modified.
IPADDR = 192.168.1.17 // change the IP address to the one you want
IPV6INIT = yes
IPV6_AUTOCONF = yes
NETMASK = 255.255.255.0 // subnet mask, corresponding
NETWORK = 192.168.1.0 // NETWORK address, corresponding
ONBOOT = yes
GATEWAY = 192.168.1.1 // The GATEWAY address.
TYPE = Ethernet
PEERDNS = yes
USERCTL = no |
After modification, save and restart.
II. import the DRBL Resource Library address
From now on, all your operations are performed on the terminal. First, you must obtain the root permission, use su, and enter the root password.
If your computer cannot access the Internet, installation will be troublesome, because the DRBL operation requires a lot of library support, you must be able to integrate these support libraries. The following is a list of programs that support DRBL running:
Dhcp tftp-server nfs-utils ypserv ypbind yp-tools uninstall ntp firstboot iptables wget diind initscripts rsync parted tcpdump bc grub dos2unix curl lftp openssh-server openssh-clients coreutils gzip bzip2 nc file ethtool -tools syslinux lvm2 NTFS-3G lshw
Partclone mkpxeinitrd-net clonezilla mkswap-uuid drbl-partimage drbl-ntfsprogs drbl-chntpw drbl-lzop udpcast drbl-etherboot freedos
These programs have been installed when the operating system is installed. Finally, we only need to install the following files.
========================================================== ===================================== Package Arch Version Repository Size
========================================================== ====================================== Installing:
Perl-Digest-SHA1 i386 2.07-5 fedora 19.2 k
Dhcp i386. 0.6-12. fc8 fedora 866 k
Xinetd i386. 3.14-14. fc8 fedora 123 k
Tftp-server i386 0.42-5 fedora 28 k
Ypserv i386 2.19-7. fc8 fedora 135 k
Mtools i386 3.9.11-2. fc8 fedora 210 k
Syslinux i386 3.36-7. fc8 fedora 678 k
Dialog i386 1.1-2.20070704 fedora 200 k
Installing for dependencies:
Drbl-partimage i386 0.6.7-1 drbl 1.1 M
Mkswap-uuid i386 0.1.0-3 drbl 210 k
Udpcast i386 20070602-1drbl drbl 491 k
Clonezilla i386 2.2.4-12 drbl 235 k
Drbl-chntpw i386 0.0.20040818-7 drbl 48 k
Drbl-etherboot i386 5.4.3-2 drbl 12 M
Drbl-lzop i386 1.02-0.8 drbl 256 k
Drbl-ntfsprogs i386 2.0.0-1 drbl 1.0 M
Freedos i386 1.0-11 drbl 174 k
Partclone i386 0.0.5-16 drbl 1.34 M
Mkpxeinitrd-net i386 1.2-20 drbl 793 k |
We also need the Fedora kernel installation package, which can be found in the Packages of the Fedora 8 installation disc, named kernel-PAE-2.6.23.1-42.fc8.i686.rpm and copied to the root folder.
Download the preceding package at the following address:
All installation packages of DRBL:
Http://ftp.twaren.net/local-dist ...... 6/RPMS. drbl-stable/or
Http://drbl.sourceforge.net/drbl-core/i386/RPMS.drbl-stable/
All installation packages of Fedora:
Http://download.fedora.redhat.co ...... G/i386/OS/Packages/
Use rpm-Uvh for installation after the download is complete.
Last download drbl-1.8.2-38.i386.rpm
3. start to install DRBL
Rpm-Uvh drbl-1.8.2-38.i386.rpm for installation, after installation is complete into/opt, you will see a drbl Directory, drbl package has been installed.
Next, run/opt/drbl/sbin. /Drblsrv-offline? K/root/kernel-PAE-2.6.23.1-42.fc8.i686.rpm to start the installation service. Press enter directly. it will soon be finished.
After the installation is complete, run/opt/drbl/sbin/drblsrv? I.
4. configure DRBL
Run/opt/drbl/sbin/drblpush? I
The first step requires you to enter a domain name. if you have your own domain name, enter it. I press enter directly. The second step requires you to enter an NIS domain name. press enter directly, step 3: enter a prefix of the host name of the customer's computer. DRBL automatically assigns the host name to the customer's computer.
Next, drblpush will automatically allocate IP addresses on the server, and then you will be asked how many remote client computers you will have, and then you will be asked if you want to collect client information, select Y, wait to start the client computer.
5. start the customer's computer
Change the client startup mode to network startup and restart the computer. if there is no problem with the network, you will see a Linux Screen on the client.