/etc/network
interfaces 파일 편집
================================================================================
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.10.100
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
gateway 192.168.10.1
iface eth0:1 inet static
address 192.168.20.1
netmask 255.255.255.0
# network 192.168.20.0
# broadcast 192.168.20.255
# gateway 192.168.20.1
================================================================================
debian 5.0 lenny 소스 List
/etc/apt/source.list 에 추가해주세요
deb http://drbl.sourceforge.net/drbl-core drbl stable
암호화 key 받기
root 계정 획득후 다음과 같이 한다.
wget -q http://drbl.org/GPG-KEY-DRBL -O- | apt-key add -
결과값이 다음과 같이 출력 된다.
mbox:/etc/network# wget -q http://drbl.org/GPG-KEY-DRBL -O- | apt-key add -
OK
apt-get update 로 package list update 한다.
================================================================================
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음 새 패키지를 설치할 것입니다:
drbl
0개 업그레이드, 1개 새로 설치, 0개 지우기 및 3개 업그레이드 안 함.
2573k바이트 아카이브를 받아야 합니다.
이 작업 후 7926k바이트의 디스크 공간을 더 사용하게 됩니다.
받기:1 http://drbl.sourceforge.net drbl/stable drbl 1.9.6-35 [2573kB]
================================================================================
아래 경로에 drbl4aimp 외 운영에 필요한 파일들이 설치 된다.
/opt/drbl/sbin
ls
Makefile drbl-client-service drbl-fuu drbl-live.sh drbl-user-env-reset drblsrv-offline
check_drbl_setup_space drbl-client-switch drbl-fuu-get drbl-login-switch drbl-user-get generate-pxe-menu
dcs drbl-client-system-select drbl-fuu-put drbl-nat-rules drbl-user-rm install-kernel-for-client
deb-preconf-drbl drbl-client-xfs-switch drbl-fuu-rm drbl-netinstall drbl-useradd mknic-nbi
drbl-3n-conf drbl-collect-mac drbl-gen-client-files drbl-nfs-conf drbl-useradd-file prepare-files-for-PXE-client
drbl-SL.sh drbl-conf-functions drbl-gen-pxe-nbi drbl-nfs-exports drbl-useradd-list select-drbl-clients
drbl-all-service drbl-cp drbl-gen-ssh-host-keys drbl-perl-functions drbl-useradd-range set-default-pxe-img
drbl-aoe-img-dump drbl-cp-host drbl-gen-ssi-files drbl-powerful-thin-client drbl-userdel switch-pxe-bg-mode
drbl-aoe-serv drbl-cp-user drbl-get-host drbl-pxelinux-passwd drbl-userdel-file switch-pxe-menu
drbl-autologin-env-reset drbl-etc-hosts drbl-get-user drbl-rm-host drbl-userdel-list tune-clientdir-opt
drbl-autologin-home-reset drbl-fuh drbl-host-cp drbl-rm-user drbl-userdel-range tune-debian-dev-group-perm
drbl-clean-autologin-account drbl-fuh-get drbl-host-get drbl-ssi-client-prepare drbl-yp-securenets update-drbl-client-kernel-from-server
drbl-clean-dhcpd-leases drbl-fuh-put drbl-host-rm drbl-swapfile drbl4imp
drbl-client-reautologin drbl-fuh-rm drbl-live-boinc drbl-syslinux-netinstall drblpush
Follow this doc to install the package drbl (drbl >= 1.9.6-15).
Remember to configure the network settings for all the network cards, as shown in this doc.
With pacakge drbl is installed, say, if you want to create a Clonezilla server, using i686 Clonezilla live as the OS of clients,each network card will provide Clonezilla service to 40 clients, you can run:
The options used here:
-r [0|1|2] Assign DRBL mode (0: Full DRBL mode, 1: DRBL SSI mode, 2:Do NOT provide diskless Linux service to clients). Default value is 0.
-u [0|1|2] Assign the CPU mode for client when doing Clonezilla job with Clonezilla live (0: i486, 1: i686, 2: amd64). This option should be used with -z = 3.
-z [0|1|2|3] Assign Clonezilla mode (0: Full DRBL mode, 1: Clonezilla box mode, 2: Do NOT provide clonezilla service to clients, 3: Use Clonezilla live as the OS of clients). Default value is 0.
For the available options of drbl4imp, run: "/opt/drbl/sbin/drbl4imp --help"
'IT' 카테고리의 다른 글
Debian network 예제 (0) | 2010.10.16 |
---|---|
Debian: dmesg output contains “Error: Driver 'pcspkr' is already (0) | 2010.10.16 |
samba conf debian (0) | 2010.10.03 |
iphone 4 와 연아 폰 .. (0) | 2010.09.18 |
TEXT 이미지 사진처럼 보이시 나요 (0) | 2010.09.16 |