| 1 | [[PageOutline]] |
| 2 | = DRBL Installation of OpenSuSE = |
| 3 | == 1.Software Information == |
| 4 | || OS || OpenSuse 10.3 64bit || |
| 5 | || Kernel || 2.6.22 || |
| 6 | |
| 7 | [[BR]] |
| 8 | == 2.安裝基本套件 == |
| 9 | * 先確定套件庫來源 |
| 10 | {{{ |
| 11 | = 列出套件庫 = |
| 12 | $ zypper lr |
| 13 | = 新增oss套件庫 = |
| 14 | $ zypper ar http://os.nchc.org.tw/opensuse/distribution/10.3/repo/oss/ oss |
| 15 | $ zypper ref oss |
| 16 | = 新增non-oss套件庫 = |
| 17 | $ zypper ar http://os.nchc.org.tw/opensuse/distribution/10.3/repo/non-oss/suse/ non-oss |
| 18 | $ zypper ref non-oss |
| 19 | = 安裝所需套件 = |
| 20 | $ zypper update |
| 21 | $ zypper install gcc make ncurses-devel libxml pyxml quilt |
| 22 | }}} |
| 23 | |
| 24 | [[BR]] |
| 25 | == 3.安裝DRBL == |
| 26 | * 加入DRBL套件庫 |
| 27 | {{{ |
| 28 | = 因安裝DRBL時,是使用yum來安裝相關套件,需確認是否以安裝yum,若無可使用以下址指令安裝 = |
| 29 | $ zypper install yum |
| 30 | = 新增DRBL套件庫 = |
| 31 | $ cd /etc/yum.repos.d |
| 32 | $ cat drbl.repo |
| 33 | [drbl] |
| 34 | name = drbl |
| 35 | baseurl = http://ftp.twaren.net/local-distfiles/drbl-core/x86_64/RPMS.drbl/ |
| 36 | $ yum update |
| 37 | $ yum install drbl |
| 38 | }}} |
| 39 | |
| 40 | [[BR]] |
| 41 | == 佈署DRBL環境 == |
| 42 | {{{ |
| 43 | $ /opt/drbl/sbin/drblsrv -i -l 2 |
| 44 | $ /opt/drbl/sbin/drblpush -i -l 2 |
| 45 | }}} |
| 46 | |
| 47 | [[BR]] |
| 48 | == 可能遇到問題 == |
| 49 | * OpenSuSE到10.3已無nfs-utils套件,此案例是抓OpenSuSE-10.2的nfs-utils套件,強制安裝之。 |