DRBL 使用記錄

20131004

1.什麼是 DRBL 企鵝龍 http://drbl.nchc.org.tw/introduction/

2.電腦教室及 DRBL server 使用前的規畫

    1.  對外一張網卡,對內四張網卡,共使用五張網卡。
    2. 對內每一張網卡約可 server 10台 Client,以32台工作站的電腦教室約可降到每張網卡 server 8 台 Client。
    3. 硬碟使用 SSD 128G。
    4. 基本上建議用鎖定學生電腦 MAC address 的方式來分派IP。

3.OS 安裝重點

    1. 下載 ISO (Ubuntu12.04、Centos6.4)後利用 win32diskimager 寫到 USB ,再行安裝。
    2. win32diskimager 下載點:http://sourceforge.net/projects/win32diskimager/
    3. DRBL server 有安裝什麼軟體,Client 才會有什麼軟體。

4.DRBL 安裝重點

    1.  詳細 DRBL 安裝說明:http://drbl.nchc.org.tw/one4all/desktop/
    2. remove network-manager 因要當 server 用所以將 network-manager 移除後再行設定網路。

5.Centos 6.4 network setup

    • remove network-manager
    • The /etc/sysconfig/network file should contain the following line:

NETWORKING=yes

    • The NETWORKING variable must be set to yes if you want networking to start at boot time.
    • dhcp IP

## vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

    • Static IP

## vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=”eth0″
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=static
PADDR=192.168.10.254
NETMASK=255.255.255.0

6.UBUNTU 12.04 network setup

  • 安裝 network-admin sudo apt-get install gnome-network-admin
  • 移除 network-manager sudo apt-get –purge remove network-manager
  • 設定 /etc/network/interfaces

auto eth0
iface eth0
inet dhcp

auto eth1
iface eth1
inet static
address 192.168.11.254
netmask 255.255.255.0

auto eth2
iface eth2
inet static
address 192.168.12.254
netmask 255.255.255.0

Ubuntu 12.04 安裝 行列30輸入法

apt-get install ibus-table-array30

  •  網路資源
  1. http://linux.vbird.org/linux_enterprise/0130drbl_clonezilla.php
  2. http://jainan.blogspot.tw/2011/10/204-drbl-basic_27.html
  • drblpush存了一個設定檔在/etc/drbl/drblpush.conf。
    因此下次如果你要使用同樣的設定檔方式來重新執行一次drblpush,可以這樣執行:
    drblpush -c /etc/drbl/drblpush.conf

 

/etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

#eth1 is manually configured, and slave to the “bond0” bonded NIC
auto eth1
iface eth1 inet manual
bond-master bond0

#eth2 ditto, thus creating a 2-link bond.
auto eth2
iface eth2 inet manual
bond-master bond0

# bond0 is the bonding NIC and can be used like any other normal NIC.
# bond0 is configured using static network information.
auto bond0
iface bond0 inet static
address 192.168.11.1
netmask 255.255.255.0
#bond-mode 802.3ad
bond-mode balance-alb
bond-miimon 100
bond-lacp-rate 1
bond-slaves eth1 eth2

2017/09/15

1.How to upgrade a single package using apt-get?

You just need to do apt-get install --only-upgrade <packagename>.

This will upgrade only that single package, and only if it is installed.

ex:升級 chromium-browser

apt-get install –only-upgrade chromium-browser

Comments on this post

No comments.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *