Menggelar Debian GNU

45
Menggelar Debian GNU / Linux dengan ICE-Linux White Paper Kertas putih The Debian GNU / LINUX Distribution ........................................... ....................................................... ... Debian GNU / LINUX Distribusi ............................................ .................................................. .... ... 2 2 Debian Mirrors ................................................ ....................................................... ............................. Debian Mirror ................................................ .................................................. .... .............................. 2 2 Debian Distribution .......................................... ....................................................... ............................. Distribusi Debian ................................................ .................................................. .... ........................ 3 3 Debian Install Media .................................................. ....................................................... ................... Instal Debian Media ............................................... . ................................................. ..... ...................... 3 3 Prerequisites .......................................... ....................................................... ....................................... Prasyarat ............................................. .... .................................................. ..................................... 4 4 Modifying Installation Packages ............................................... .......................................................

description

Uploaded from Google Docs

Transcript of Menggelar Debian GNU

Page 1: Menggelar Debian GNU

Menggelar Debian GNU / Linux dengan ICE-Linux White Paper Kertas putih The Debian GNU / LINUX Distribution ..................................................................................................... Debian GNU / LINUX Distribusi ............................................ .................................................. ....... 2 2 Debian Mirrors .................................................................................................................................. .. Debian Mirror ................................................ .................................................. ............................. ..... 2 2 Debian Distribution .............................................................................................................................. Distribusi Debian ................................................ .................................................. ............................ 3 3 Debian Install Media ............................................................................................................................ Instal Debian Media ............................................... .................................................. ........................... 3 3 Prerequisites .................................................................................................................................. ...... Prasyarat ................................................. .................................................. ............................. ........ 4 4 Modifying Installation Packages ......................................................................................................... Memodifikasi Paket Instalasi ............................................... .................................................. ........ 4 4 Root Login .................................................................................................................................. ..... Root Login ................................................ .................................................. ............................. ........ 5 5 Providing PSP - like Support ................................................................................................................. Menyediakan - seperti Dukungan PSP ............................................. .................................................. .................. 5 5

Page 2: Menggelar Debian GNU

Using the HP SIM – ICE - Linux Plug - In to Install Debian .............................................................................. Menggunakan SIM HP - ICE - Linux Plug - In untuk Install Debian .................................... .......................................... 5 5 Step 1: Add a Debian 4.0 Source to Your Repository ........................................................................... Langkah 1: Tambahkan 4,0 Sumber Debian ke Repositori Anda ....................................... .................................... 6 6 Step 2: Copy or Move the Debian ISO Images into the Directory ........................................................... Langkah 2: Salin atau Pindahkan Debian ISO Images ke dalam Direktori ..................................... ...................... 6 6 Step 3: Create Directories and Copy ISO Images ................................................................................ Langkah 3: Membuat Direktori dan ISO Images Salin ......................................... ....................................... 6 6 Step 4: Download the Debian Installer ................................................................................................ Langkah 4: Download Installer Debian ........................................... .................................................. ... 7 7 Step 5: Enable the Debian Installer to Accept a MAC Address .............................................................. Langkah 5: Aktifkan Debian Installer untuk Menerima MAC Address ...................................... ........................ 8 8 Step 6: Create the preseed . cfg Configuration File ................................................................................ Langkah 6: Membuat File preseed . cfg konfigurasi ........................................ ........................................ 9 9 Step 7: Create Archive for the Kernel ................................................................................................. Langkah 7: Membuat Arsip untuk Kernel yang .......................................... .................................................. ..... 9 9 Step 8: Modify ICE - Linux JBOSS Web Server ...................................................................................... Langkah 8: Memodifikasi JBoss Web Server - Linux ICE ........................................ .............................................. 9 9 Step 9: Add Debian 4.0 Installation Configuration File ....................................................................... Langkah 9: Tambahkan Debian 4.0 Konfigurasi File Instalasi ......................................... .............................. 10 10 Step 10: Create a Default Custom OS Configuration File .................................................................... Langkah 10: Membuat Custom OS Default file konfigurasi ........................................ ............................ 11 11 Step 11: Create Agentless Installation Association Configuration Script ................................................ Langkah 11: Buat Script Agentless Instalasi Konfigurasi Asosiasi ......................................... ....... 13 13 Step 12: Installing Debian 4- i 386 on a Target System ......................................................................... Langkah 12: Instalasi

Page 3: Menggelar Debian GNU

Debian 4- i 386 tentang Sistem Target ....................................... .................................. 15 15 For more information .......................................................................................................................... Untuk informasi lebih lanjut ............................................... .................................................. ......................... 17 17

Page 2 Page 22 2 The Debian GNU/LINUX Distribution Debian GNU / LINUX Distribusi Debian® GNU/Linux is a collection of GNU applications compiled and distributed with the Linux® Debian ® GNU / Linux adalah koleksi aplikasi GNU disusun dan didistribusikan dengan Linux ® kernel. kernel. Together they are called a dist, or distribution, of the Linux operating system. Bersama-sama mereka disebut dist, atau distribusi, dari sistem operasi Linux. Debian GNU/Linux is unique. Debian GNU / Linux adalah unik. It is among the most complex of the Linux distributions because of its Ini adalah salah satu yang paling kompleks dari distribusi Linux karena nya flexibility in providing distributions for other hardware architectures and operating system kernels. fleksibilitas dalam menyediakan distribusi untuk arsitektur hardware dan kernel sistem operasi. It Ini also standardizes software packaging on all these hardware platforms and kernels while deliberately juga standarisasi kemasan perangkat lunak pada semua platform perangkat keras dan kernel sementara sengaja presenting the least amount of upstream source code management and code customization. menyajikan paling sedikit pengelolaan hulu sumber kode dan kode kustomisasi. Both the Baik upstream source code maintainers and the users of code from a particular source are often most pengelola kode sumber hulu dan pengguna kode dari sumber tertentu yang paling sering familiar with the defaults provided for their code. akrab dengan default yang disediakan untuk kode mereka. Therefore, there are few surprises when installing a Debian Linux software package. Oleh karena itu, ada beberapa kejutan ketika menginstal paket perangkat lunak Linux Debian. It generally just Hal ini biasanya hanya works the way the programmer intended and works identically on different hardware platforms and bekerja dengan cara programmer dimaksudkan dan bekerja sama pada platform perangkat keras yang berbeda dan under different kernels. dalam kernel yang berbeda. So while Debian provides maximum flexibility and a minimal approach to software management, it Jadi sementara Debian memberikan fleksibilitas maksimum dan pendekatan minimal untuk manajemen software,

Page 4: Menggelar Debian GNU

does provide a means for collecting useful information from a user when a software package is tidak menyediakan sarana untuk mengumpulkan informasi yang berguna dari pengguna ketika sebuah paket perangkat lunak installed. diinstal. Optionally, when a software package is created for a Debian distribution, it can include a list of Opsional, ketika sebuah paket perangkat lunak yang dibuat untuk distribusi Debian, dapat mencakup daftar questions or a template for the debconf system and a script for asking those questions. pertanyaan atau template untuk sistem debconf dan script untuk mengajukan pertanyaan-pertanyaan. Despite its Meskipun nya name, debconf is not a management or configuration system. nama, debconf bukan atau konfigurasi sistem manajemen. It provides a means for a software Ini menyediakan sarana untuk perangkat lunak package maintainer or writer to supply a series of questions for a user in a common user interface pemelihara paket atau penulis untuk menyediakan serangkaian pertanyaan untuk pengguna dalam antarmuka pengguna umum when a software package is installed. ketika sebuah paket perangkat lunak diinstal. The debconf system does not use the answers to configure a Sistem debconf tidak menggunakan jawaban untuk mengkonfigurasi software package, rather the answers are saved into the debconf database and can be referenced paket perangkat lunak, bukan jawaban disimpan ke dalam basis data debconf dan dapat dijadikan acuan by a software packages install script, if the maintainer or software package writer so chooses. oleh sebuah paket perangkat lunak instalasi skrip, jika pengelola atau paket perangkat lunak sehingga penulis memilih. Debian Mirrors Debian Mirror Using an analogy, Debian is a huge spinning accretion disk like that surrounding a large black hole. Menggunakan analogi, Debian adalah pertambahan disk berputar besar seperti yang mengelilingi lubang hitam besar. It tends to absorb the code from other projects and pack them into packages for distribution. Hal ini cenderung untuk menyerap kode dari proyek lain dan pak mereka ke dalam paket untuk distribusi. The The Debian logo is a spinning spiral, which even suggests as much. logo Debian adalah spiral berputar, yang bahkan menyarankan sebagai banyak. To make the collection and distribution of Debian possible, it is founded on the concept of a Untuk membuat pengumpulan dan distribusi Debian mungkin, adalah didasarkan pada konsep distribution mirror, which is a common place to collect and share software packages. distribusi cermin, yang merupakan tempat umum untuk mengumpulkan dan berbagi paket perangkat lunak. Local Mirrors Mirror Lokal are copies of all the shared files from one machine to another on the Internet. adalah salinan dari semua file bersama dari satu mesin ke mesin lainnya di Internet. Debian organizes its mirror in a particular way to make sharing the files easier. Debian mengatur cermin dalam suatu cara tertentu untuk membuat berbagi file lebih mudah.

Page 5: Menggelar Debian GNU

First, Debian recognizes that a mirroring program needs a list of files to copy, so it provides index Pertama, Debian mengakui bahwa program mirroring membutuhkan daftar file untuk menyalin, sehingga menyediakan indeks files of all the files for a particular purpose and where there are located on the server. file dari semua file untuk tujuan tertentu dan di mana ada terletak di server. These index Indeks ini files are kept in directories named for their purpose. file disimpan dalam direktori bernama untuk tujuan mereka. For example, the index files for Debian 3.0 are Sebagai contoh, file indeks untuk Debian 3.0 adalah kept in the Debian3.0 directory, and the index files for Debian 4.0 are kept in the Debian4.0 disimpan di direktori Debian3.0, dan file indeks untuk Debian 4.0 disimpan di Debian4.0 yang directory. direktori. A mirroring program that wants to copy only the files for Debian 4.0 downloads the index Sebuah program mirroring yang ingin menyalin hanya file untuk Debian 4.0 download indeks files for Debian 4.0, and uses those files to fetch and create its local copies. file untuk Debian 4.0, dan menggunakan file-file untuk mengambil dan membuat salinan lokal. To avoid recopying the index files, the index file directories are kept in a directory named dists and Untuk menghindari recopying file indeks, direktori file indeks disimpan dalam sebuah direktori bernama dists dan the software packages are kept in a directory named pools. paket perangkat lunak yang disimpan dalam sebuah direktori bernama kolam. The software packages in pools are paket perangkat lunak yang di kolam renang yang arranged in directories alphabetically beginning with the first letter in the software package name. diatur dalam direktori yang dimulai dengan abjad huruf pertama nama paket perangkat lunak. So Jadi the yang a/ a / directory could have packages for Debian 3.0 and Debian 4.0, but the index files know direktori bisa memiliki paket untuk Debian 3.0 dan Debian 4.0, tetapi file indeks tahu which packages are appropriate for the corresponding distribution. paket mana yang sesuai untuk distribusi yang sesuai.

Page 3 Page 33 3 Debian Distribution Distribusi Debian Initially, Debian did not have an installer. Awalnya, Debian tidak memiliki sebuah installer. You needed to use another operating system to partition Anda yang dibutuhkan untuk menggunakan sistem operasi lain untuk partisi and format a hard disk, copy files to it, install a boot loader, and reboot. dan memformat hard disk, menyalin file ke dalamnya, menginstal boot loader, dan reboot.

Page 6: Menggelar Debian GNU

As of version 3.0 Debian has a new installer, di for Debian Installer. Pada versi 3.0 Debian memiliki installer baru, di untuk Debian Installer. It comes in several forms, but Muncul dalam beberapa bentuk, tetapi is essentially a kernel, an initial RAM disk image, and a program named Anna. pada dasarnya adalah sebuah kernel, RAM disk gambar awal, dan program bernama Anna. Together they Bersama-sama mereka bootstrap a minimal Linux installation operating system which then either prompts for user choices or bootstrap yang beroperasi minimal instalasi sistem Linux yang kemudian baik meminta untuk pilihan user atau reads a configuration file named preseed.cfg to perform the installation. membaca file konfigurasi yang bernama preseed.cfg untuk melakukan instalasi. After Anna is invoked, it connects to an initial store called the mirror source and downloads micro Setelah Anna dipanggil, ia menghubungkan ke toko awal yang disebut sumber cermin dan download mikro debs to complete its feature set, then installs a minimal installation of the Debian distribution. debs untuk menyelesaikan set fitur, maka menginstal instalasi minimal dari distribusi Debian. The The Anna program then configures the Debian package select library tool apt with sources; next it Program Anna kemudian mengkonfigurasi paket alat perpustakaan pilih Debian apt dengan sumber-sumber; berikutnya installs a default group of packages called a task. grup standar menginstal paket disebut tugas. For a fully automated installation, the Debian Installer can read its preseed.cfg file from the initial Untuk instalasi otomatis sepenuhnya, Debian Installer dapat membaca file preseed.cfg dari awal RAM disk image or retrieve it from a network source with http. RAM disk foto atau mengambil dari sumber jaringan dengan http. Both the initial mirror for Anna and the subsequent apt sources can be served from a local http Kedua cermin awal untuk Anna dan sumber apt selanjutnya dapat dilayani dari http lokal repository. repositori. Debian Install Media Instal Debian Media Avoid using a network mirror; they are generally for development and organizational-level sharing of Hindari menggunakan jaringan cermin, mereka umumnya untuk pengembangan dan tingkat berbagi organisasi the Debian package repositories. repositori paket Debian. For most people, it is sufficient and preferable to download a Bagi kebanyakan orang, itu sudah cukup dan lebih baik untuk men-download simple set of ISO media. sederhana set media ISO. You can use BitTorrent™, Jigsaw™, HTTP, or FTP to download the ISO media. Anda dapat menggunakan ™ BitTorrent, Jigsaw ™, HTTP, atau FTP untuk men-download media ISO. BitTorrent is the best BitTorrent adalah yang terbaik choice for the first-time user. pilihan untuk pengguna pertama kali. BitTorrent and Jigsaw each distributes the download process across many BitTorrent dan setiap Jigsaw mendistribusikan proses download di banyak

Page 7: Menggelar Debian GNU

servers and sources, resulting in a faster download for the recipient and a more equitable way to server dan sumber, mengakibatkan download yang lebih cepat untuk penerima dan cara yang lebih adil untuk share the load across many servers. membagi beban di banyak server. HTTP and FTP do not distribute the download process and, as a HTTP dan FTP tidak mendistribusikan proses download dan, sebagai consequence, are not as fast. Karena itu, tidak seperti cepat. Jigsaw download (jigdo) disassembles ISO images and reuses the pieces to assemble newer ISO download Jigsaw (jigdo) disassembles ISO images dan menggunakan kembali potongan-potongan untuk berkumpul ISO yang lebih baru images while downloading only the changed packages from one release to another (the diffs ) to gambar saat men-download paket hanya berubah dari satu rilis ke rilis lain (diffs) untuk make new ISO images. membuat gambar ISO yang baru. Thus, if you have Debian 4.0r2 ISOs and need to ”freshen” them, running Jadi, jika Anda memiliki Debian 4.0r2 ISO dan perlu untuk "menyegarkan" mereka, berjalan Jigsaw download can take those ISO images and use them to create new Debian 4.0r3 ISO images, download Jigsaw dapat mengambil gambar-gambar ISO dan menggunakannya untuk membuat baru Debian 4.0r3 ISO images, downloading only the differences from network sources. men-download hanya perbedaan dari sumber jaringan. This can result in a huge savings in time and Hal ini dapat menghasilkan penghematan besar dalam waktu dan bandwidth. bandwidth. There are many ways of mirroring package repositories and all but a few use the Debian index files Ada banyak cara mirroring repositori paket dan semua tetapi menggunakan beberapa file-file indeks Debian and cannot distinguish between packages for one distribution or another, or from one hardware dan tidak bisa membedakan antara paket untuk satu distribusi atau lainnya, atau dari satu perangkat keras platform to another. platform yang lain. The officially recommended method for making a Debian mirror uses a configurable script named Metode yang direkomendasikan secara resmi untuk membuat mirror Debian menggunakan skrip bernama dikonfigurasi anonftpsync. anonftpsync. However, configuring it properly can be difficult and often replicates more than one Namun, mengkonfigurasi dengan benar dapat menjadi sulit dan sering ulangan lebih dari satu distribution's set of packages. distribusi's set paket. Thus, most early attempts at creating a mirror copy far more packages Dengan demikian, upaya paling awal membuat salinan paket cermin lebih jauh than strictly necessary for the Debian distribution you want to use. dari ketat diperlukan untuk distribusi Debian yang ingin Anda gunakan.

Page 4 Page 44 4

Page 8: Menggelar Debian GNU

ISO media is by far the simpler and more efficient way to get what you want in the smallest amount of media ISO adalah jauh dan lebih efisien cara sederhana untuk mendapatkan apa yang Anda inginkan dalam jumlah terkecil time possible. waktu mungkin. Note that a complete set of ISO media entails the entire set of packages defined to be part of a Perhatikan bahwa satu set lengkap media ISO memerlukan seluruh himpunan paket didefinisikan sebagai bagian dari version and release; it can be quite large. versi dan rilis, bisa cukup besar. At present, Debian 4.0r3 contains over 18,000 packages. Saat ini, Debian 4.0r3 berisi lebih dari 18.000 paket. The CD-ROM ISO media is spread across 22 ISO images. The-ROM ISO media CD tersebar di 22 ISO images. The DVD ISO media is spread across 3 DVD ISO media tersebar di 3 ISO images. ISO images. The size of a complete set of ISO images is about 4.5 GB for each DVD, or 13.5 GB Ukuran satu set lengkap gambar ISO adalah sekitar 4,5 GB untuk setiap DVD, atau 13,5 GB total. total. If you cannot afford the time to download the media, purchasing physical media online is a Jika Anda tidak mampu waktu untuk men-download media, pembelian media online fisik adalah valid alternative, which you can update using a Jigsaw download session. alternatif yang valid, yang Anda dapat memperbarui menggunakan sesi download Jigsaw. Another approach is to download only the ISO media images you need to get started — generally Pendekatan lain adalah untuk men-download hanya media ISO gambar yang Anda butuhkan untuk memulai - umum only the first ISO image for install and then discover which ISO images are required for additional hanya ISO image pertama untuk menginstal dan kemudian menemukan gambar ISO yang dibutuhkan untuk tambahan packages by using the Debian online search engine. paket dengan menggunakan mesin pencari online Debian. Finally, after installation and if you have realtime access to the Internet and trust the sources, you can Akhirnya, setelah instalasi dan jika Anda memiliki realtime akses ke Internet dan kepercayaan sumber, Anda dapat configure the dselect package library apt sources to download additional packages from an mengkonfigurasi dselect sumber perpustakaan paket apt untuk mendownload paket-paket tambahan dari online Mirror. online Mirror. This is not a viable option if you are on a secured network or in a datacenter without Ini bukan pilihan yang layak jika Anda berada di jaringan aman atau di datacenter tanpa Internet access and no local Mirror. Akses internet dan tidak ada Mirror lokal. Consequently, it is good to have a complete local copy of the Akibatnya, itu baik untuk memiliki salinan lokal lengkap dari ISO media for your Debian version. ISO media untuk versi Debian Anda. Prerequisites Prasyarat

Page 9: Menggelar Debian GNU

There are a number of prerequisites to the installation of Debian GNU/Linux. Ada sejumlah prasyarat ke instalasi Debian GNU / Linux. After the prerequisites Setelah prasyarat are fulfilled, the only thing you need to change from one install target to the next is the target MAC terpenuhi, yang hanya Anda perlu mengubah dari satu target instal ke target berikutnya adalah MAC address (media access controller hardware addresses): change it to match the MAC address of the alamat (alamat controller hardware media akses): mengubahnya agar sesuai dengan alamat MAC PXE enabled Ethernet port of the target server. PXE diaktifkan port Ethernet dari server target. Modifying Installation Packages Memodifikasi Paket Instalasi The db403-agentless.cfg configuration file is formatted for self-help, meaning you should be The agentless.cfg file konfigurasi-db403 diformat untuk self-help, berarti Anda harus able to review it and comment or uncomment options to obtain the desired functionality easily at dapat meninjau dan komentar atau opsi komentar untuk mendapatkan fungsi yang diinginkan dengan mudah di install time. waktu menginstal. The most likely thing you would change is to choose a different task for the target. Hal tersebut kemungkinan paling anda akan berubah adalah untuk memilih tugas yang berbeda untuk target. A task Tugas A represents a group of packages to install and represents a familiar typical purpose for the target mewakili sekelompok paket untuk menginstal dan merupakan tujuan khas akrab bagi target server. server. You can choose from many possible tasks, such as: Anda dapat memilih dari tugas banyak kemungkinan, seperti: #tasksel tasksel/first multiselect standard, desktop # Tasksel tasksel / standar pertama multiselect, desktop #tasksel tasksel/first multiselect standard, gnome-desktop # Tasksel tasksel / standar multiselect pertama, gnome-desktop #tasksel tasksel/first multiselect standard, kde-desktop # Tasksel tasksel / standar multiselect pertama, kde-desktop #tasksel tasksel/first multiselect standard, web-server # Tasksel tasksel / standar multiselect pertama, web-server #tasksel tasksel/first multiselect standard, print-server # Tasksel tasksel / standar multiselect pertama, print-server #tasksel tasksel/first multiselect standard, dns-server # Tasksel tasksel / standar multiselect pertama, dns-server #tasksel tasksel/first multiselect standard, file-server # Tasksel tasksel / standar multiselect pertama, file-server #tasksel tasksel/first multiselect standard, mail-server # Tasksel tasksel / standar multiselect pertama, mail-server #tasksel tasksel/first multiselect standard, sql-database # Tasksel tasksel / standar multiselect pertama, sql-database

Page 10: Menggelar Debian GNU

#tasksel tasksel/first multiselect standard, laptop # Tasksel tasksel / standar pertama multiselect, laptop After installation, your Debian system's apt sources are automatically configured to use the Setelah instalasi, apt Teman-sistem sumber Debian Anda secara otomatis dikonfigurasi untuk menggunakan installation source as a source for installing additional packages. sumber penginstalan sebagai sumber untuk menginstal paket tambahan. This means that running the Ini berarti bahwa menjalankan following command from a console will install any additional package that is an official part of the perintah berikut dari konsol akan menginstal paket tambahan yang merupakan bagian resmi dari Debian 4.0r3 distribution: Debian 4.0r3 distribusi: # apt-get install package-name # Apt-get install nama-paket

Page 5 Page 55 5 Some users might prefer to use the new aptitude package browsing, search, and installation tool Beberapa pengguna mungkin lebih memilih untuk menggunakan paket baru bakat browsing, pencarian, dan alat instalasi for picking individual or related groups of packages and resolving dependencies automatically. untuk memilih atau terkait kelompok individu dan mengatasi dependensi paket otomatis. Root Login Root Login By default, the Gnome desktop does not allow the root user to login from the GNOME Display Secara default, desktop Gnome tidak mengizinkan user root untuk login dari GNOME Display Manager (GDM) console. Manager (GDM) konsol. You must login as the user student with password student, then Anda harus login sebagai user siswa dengan siswa password, kemudian proceed to elevate your privilege level to root using su or sudo . melanjutkan untuk meningkatkan tingkat perlakuan Anda untuk root menggunakan perintah su atau sudo. If you want to enable a root login from the GDM console, choose Desktop (from the upper Jika Anda ingin mengaktifkan login root dari konsol GDM, pilih Desktop (dari atas taskbar)→ Administration → Login Window→Security tab. taskbar) → Administration → Login Window → Security tab. Check the box labeled Allow Centang kotak berlabel Allow local system administrator login and close the window. administrator sistem lokal login dan menutup jendela. You should be able to log out and log Anda harus dapat log out dan log back in as the root user with the password root. kembali sebagai user root dengan password root. If you are using the X Window System on the desktop through the iLO Remote Console, you will find it Jika Anda menggunakan X Window System pada desktop melalui ILO Remote Console, Anda akan menemukannya

Page 11: Menggelar Debian GNU

helpful to open a console and enter the following command to synchronize you desktop mouse membantu untuk membuka console dan masukkan perintah berikut untuk melakukan sinkronisasi Anda mengarahkan mouse desktop pointer with the VNC console mouse pointer: pointer dengan mouse pointer konsol VNC: # xset m 1 1 # Xset m 1 1 Add the command to your Xsession startup file to make it a permanent part of your Xsession Tambahkan perintah untuk startup file XSESSION Anda untuk membuatnya menjadi bagian permanen dari XSESSION Anda startup procedure. prosedur startup. Providing PSP-like Support Menyediakan PSP-seperti Dukungan The db4.sh script automatically configures the net-snmp agent to permit HP Systems Insight Script secara otomatis mengkonfigurasi db4.sh-snmp agen bersih untuk memungkinkan HP Systems Insight Manager (SIM) to connect and obtain enough information to create and maintain an association with Manager (SIM) untuk terhubung dan memperoleh informasi yang cukup untuk menciptakan dan memelihara asosiasi dengan the server's management processor. server manajemen prosesor. The management processor must have already been discovered Prosesor manajemen harus telah ditemukan by the HP SIM through either a Manual Add or a normal Discovery scan of the management oleh SIM HP melalui sebuah Tambahkan Manual atau Discovery normal scan dari manajemen processors IP address range. prosesor kisaran alamat IP. There is no ProLiant Support Pack distributed for the Debian operating system at this time; thus, Tidak ada Dukungan ProLiant terdistribusi Pack untuk sistem operasi Debian saat ini, dengan demikian, enhanced performance and hardware management agent functionality are not available. peningkatan kinerja dan perangkat keras agen fungsi manajemen tidak tersedia. However, Namun, this agentless install is sufficient to maintain the association between a server and its management ini instal agentless cukup untuk menjaga hubungan antara server dan manajemen agent, which will enable you to collect some SNMP data and restart the server or perform SSH agen, yang akan memungkinkan Anda untuk mengumpulkan beberapa data SNMP dan restart server atau melakukan SSH management tasks. manajemen tugas. Using the HP SIM – ICE-Linux Plug-In to Install Debian Menggunakan SIM HP - ICE-Linux Plug-In untuk Install Debian This section provides a brief introduction to setting up and deploying Debian 4.0 to one ProLiant Bagian ini memberikan pengenalan singkat untuk mendirikan dan menggunakan Debian 4.0 untuk satu Proliant server; the procedure consists of the following steps, each step is described in its own section: server; prosedur terdiri dari langkah-langkah berikut, setiap langkah dijelaskan dalam bagian sendiri:

Page 12: Menggelar Debian GNU

Step 1: Add a Debian 4.0 Source to Your Repository Langkah 1: Tambahkan 4,0 Sumber Debian ke Repositori Anda Step 2: Copy or Move the Debian ISO Images into the Directory Langkah 2: Salin atau Pindahkan Debian ISO Images ke Direktori Step 3: Create Directories and Copy ISO Images Langkah 3: Membuat Direktori dan ISO Images Salin Step 4: Download the Debian Installer Langkah 4: Download Installer Debian Step 5: Enable the Debian Installer to Accept a MAC Address Langkah 5: Aktifkan Debian Installer untuk Menerima Alamat MAC Step 6: Edit the preseed . cfg Configuration File Langkah 6: Edit File Konfigurasi preseed . cfg Step 7: Create Archive for the Kernel Langkah 7: Membuat Arsip untuk Kernel yang Step 8: Modify ICE - Linux JBOSS Web Server Langkah 8: Memodifikasi JBoss Web Server - Linux ICE Step 9: Add Debian 4.0 Installation Configuration File Langkah 9: Tambahkan Debian 4.0 Konfigurasi File Instalasi Step 10: Create a Default Custom OS preseed . cfg Configuration File Langkah 10: Buat Custom OS preseed . cfg Default file konfigurasi

Page 6 Page 66 6 Step 11: Create Agentless Installation Association Configuration Script Langkah 11: Buat Script Agentless Instalasi Konfigurasi Dasar Step 12: Installing Debian 4- i 386 on a Target System Langkah 12: Instalasi Debian 4- i 386 tentang Sistem Target Step 1: Add a Debian 4.0 Source to Your Repository Langkah 1: Tambahkan 4,0 Sumber Debian ke Repositori Anda Use the following procedure to add a Debian 4.0 source to your repository. Gunakan prosedur berikut untuk menambahkan sumber Debian 4.0 untuk repositori Anda. 1. 1. If your /opt/repository/custom directory is mounted from an NFS share, unmount it. Jika / Anda opt / repositori / direktori kustom di mount dari share NFS, unmount-nya. 2. 2. Use either BitTorrent or Jigdo to collect the three DVD ISO images for Debian 4.0. Gunakan baik BitTorrent atau jigdo untuk mengumpulkan tiga DVD image ISO untuk Debian 4.0. 3. 3. Start HP SIM. Mulai SIM HP. 4. 4. Select the HP SIM Options → Manage ICE-Linux Repository... menu item. Pilih HP SIM Pilihan → Atur ICE-Linux Repository ... item menu. 5. 5. Select New . Pilih Baru.

Page 13: Menggelar Debian GNU

6. 6. Select Custom OS for the Item type menu item, then select Next>. Pilih Custom OS untuk menu Item jenis item, lalu pilih> Next. 7. 7. Enter the following information for each text field: Masukkan informasi berikut untuk setiap field teks: Item type: Custom OS Item type: Custom OS Name Debian4-i386 Nama Debian4-i386 Description Debian Etch Release Deskripsi Debian Etch Release Vendor GNU Vendor GNU Version 4.0 Release 3 Versi 4.0 Release 3 Architecture i386 Arsitektur i386 Item location Local Item lokasi Lokal Kernel name Linux Nama Kernel Linux RAM disk name initrd.gz,Debian4-i386Boot/iram1.gz RAM disk nama initrd.gz, Debian4-i386Boot/iram1.gz 8. 8. Change the file name to Linux. Ubah nama file ke Linux. 9. 9. Select Save . Pilih Simpan. 10. 10. Select Ok . Pilih Ok. Step 2: Copy or Move the Debian ISO Images into the Directory Langkah 2: Salin atau Pindahkan Debian ISO Images ke Direktori Copy or move the DVD ISO images for Debian 4.0 into the Menyalin atau memindahkan gambar DVD ISO untuk Debian 4.0 ke /opt/repository/custom/Debian4-i386 directory. / Opt/repository/custom/Debian4-i386 direktori. Step 3: Create Directories and Copy ISO Images Langkah 3: Membuat Direktori dan ISO Images Salin In general, loopback mounting is possible; however, the default kernel of many distributions only Secara umum, loopback mounting adalah mungkin, namun kernel default dari banyak distribusi hanya permits 8 loopback mounts at a time. izin 8 loopback mount pada suatu waktu. Reserve these resources for other purposes: Cadangan sumber daya ini untuk tujuan lain: HP recommends that you create directories and copy the contents of the ISO images into them as in HP menyarankan Anda membuat direktori dan menyalin isi dari ISO images ke mereka seperti dalam the following procedure: prosedur berikut: 1. 1. Change to the directory specified in Pindahlah ke direktori yang ditentukan dalam Step 2: Copy or Move the Debian ISO Images into the Langkah 2: Salin atau Pindahkan Debian ISO Images ke Directory Direktori : :

Page 14: Menggelar Debian GNU

# cd /opt/repository/custom/Debian4-i386 # Cd / opt/repository/custom/Debian4-i386 2. 2. Make the directories for the mountpoint for the DVD and for the contents of the DVDs: Membuat direktori untuk mount untuk DVD dan isi DVD:

Page 7 Page 77 7 # mkdir cdrom ; mkdir DVD{1,2,3} # Mkdir cdrom; mkdir DVD {1,2,3} 3. 3. Mount the first DVD: Gunung yang pertama DVD: # mount -o loop debian-40r3-i386-DVD-1.iso cdrom #-O loop debian-40r3-i386-DVD-1.iso mount cdrom 4. 4. Copy the contents of the DVD into the DVD1 directory: Salin isi DVD ke direktori DVD1: # # cp -ar cdrom/* DVD1 cp-ar cdrom / * DVD1 5. 5. Unmount the first DVD: Unmount DVD pertama: # # umount cdrom umount cdrom 6. 6. Mount the second DVD: Gunung yang kedua DVD: # mount -o loop debian-40r3-i386-DVD-2.iso cdrom #-O loop debian-40r3-i386-DVD-2.iso mount cdrom 7. 7. Copy the contents of the DVD into the DVD2 directory: Salin isi DVD ke direktori DVD2: # # cp -ar cdrom/* DVD2 cp-ar cdrom / DVD2 * 8. 8. Unmount the second DVD: Unmount DVD yang kedua: # # umount cdrom umount cdrom 9. 9. Mount the third DVD: Gunung yang ketiga DVD: # mount -o loop debian-40r3-i386-DVD-3.iso cdrom #-O loop debian-40r3-i386-DVD-3.iso mount cdrom 10. 10. Copy the contents of the DVD into the DVD2 directory: Salin isi DVD ke direktori DVD2: # # cp -ar cdrom/* DVD3 cp-ar cdrom / DVD3 * 11. 11. Unmount the third DVD: Unmount DVD ketiga:

Page 15: Menggelar Debian GNU

# umount cdrom # Umount cdrom Step 4: Download the Debian Installer Langkah 4: Download Installer Debian The netboot version of the Debian installer is not on the ISO media. Versi netboot dari installer Debian tidak pada media ISO. You must download it and copy it Anda harus men-download dan copy to the /opt/repository/boot/Debian4-i386Boot directory. ke direktori opt/repository/boot/Debian4-i386Boot /. • A plain text mode version of the installer or a graphical installer version is available from the • Versi modus teks biasa installer atau versi installer grafis tersedia dari following site: situs berikut: http :// http . us . debian . org / debian / dists / etch / main / installer - http :// http . us . debian . org / debian / dists / etch / main / installer - i 386/ current / images / netboot i 386/ current / images / netboot • To obtain the graphical version, run the following commands: • Untuk mendapatkan versi grafis, jalankan perintah berikut: # cd /opt/repository/boot/Debian4-i386Boot # Cd / opt/repository/boot/Debian4-i386Boot

Page 8 Page 88 8 # wget http://http.us.debian.org/debian/dists/etch/main/installer- # Wget http://http.us.debian.org/debian/dists/etch/main/installer- i386/current/images/netboot/gtk/debian-installer/i386/linux i386/current/images/netboot/gtk/debian-installer/i386/linux # wget http :// http . us . debian . org / debian / dists / etch / main / installer - # Wget http :// http . us . debian . org / debian / dists / etch / main / installer - i 386/ current / images / netboot / gtk / debian - installer / i 386/ initrd . gz i 386/ current / images / netboot / gtk / debian - installer / i 386/ initrd . gz Step 5: Enable the Debian Installer to Accept a MAC Address Langkah 5: Aktifkan Debian Installer untuk Menerima Alamat MAC Typically, a server has many network interfaces. Biasanya, server memiliki banyak antarmuka jaringan. The Debian installer expects a kernel name for the Installer Debian mengharapkan nama kernel untuk Ethernet interface to use for installation. interface Ethernet yang digunakan untuk instalasi. The kernel does not always give the same kernel name to an Kernel tidak selalu memberikan nama kernel yang sama untuk Ethernet interface from one boot cycle to the next. Interface Ethernet dari satu siklus boot ke yang berikutnya. MACs for Ethernet interfaces are used to MACS untuk interface Ethernet digunakan untuk distinguish one Ethernet interface from another consistently across boot cycles. membedakan satu interface Ethernet dari yang lain secara konsisten di seluruh siklus boot. To enable the Debian Untuk mengaktifkan Debian Installer to accept a MAC address for the network interface to use for installation, create a special file Installer untuk menerima alamat MAC untuk antarmuka jaringan yang akan digunakan untuk instalasi, membuat file khusus

Page 16: Menggelar Debian GNU

called iram1.gz; the procedure follows: iram1.gz disebut; prosedur berikut: 1. 1. Change to the Debian4-i386Boot directory: Pindahlah ke direktori-i386Boot Debian4: # cd /opt/repository/boot/Debian4-i386Boot # Cd / opt/repository/boot/Debian4-i386Boot 2. 2. Create a directory named iram and change to it: Ciptakan sebuah direktori bernama Iram dan perubahan untuk itu: # mkdir iram ; cd iram # Mkdir Iram; Iram cd 3. 3. Invoke the text editor of your choice to create a file named macfinder. Memanggil editor teks pilihan anda untuk membuat sebuah file bernama macfinder. 4. 4. Copy the following bash script and paste it into the text editor's buffer. Salin script bash berikut dan paste ke editor teks's buffer. #!/bin/bash # /! Bin / bash # find the mac address in kernel args # Mencari alamat mac dalam argumen kernel mac=`expr "$(cat /proc/cmdline)" : ".*xdevice=\([^ ]*\)"` mac = `expr" $ (cat / proc / cmdline) ":" .* xdevice = \ ([^] * \) "` # load the net drivers # Memuat driver bersih for i in pcnet32 e1000 bnx2 tg3 untuk i di pcnet32 e1000 bnx2 tg3 do melakukan modprobe $i modprobe $ i done dilakukan # find the device with the mac address # Find perangkat dengan alamat mac eth=`ifconfig -a | grep -i $mac | cut -d" " -f1` eth = `ifconfig-a | grep-i $ mac | cut-d" "-f1` # find the preseed url in kernel args # Find url preseed dalam argumen kernel url=`expr "$(cat /proc/cmdline)" : ".*preseed=\([^ ]*\)"` url = `expr" $ (cat / proc / cmdline) ":" .* preseed = \ ([^] * \) "` echo "----------------------------------" echo "----------------------------------" echo "Hewlett Packard - DEBN4 mac finder" echo "Hewlett Packard - pencari mac DEBN4" echo "----------------------------------" echo "----------------------------------" echo "mac = $mac" echo "mac = $ mac" echo "eth = $eth" echo "eth = $ eth" echo "url = $url" echo "url = $ url" echo "----------------------------------" echo "----------------------------------" # set the interface to use # Mengatur antarmuka untuk menggunakan echo "di netcfg/choose_interface select $eth" >> preseed.cfg echo "di netcfg / choose_interface pilih $ eth">> preseed.cfg # fetch network preseed cfg # Fetch jaringan preseed cfg echo "di preseed/url string $url" >> preseed.cfg echo "di preseed / string url $ url">> preseed.cfg # reset the init cmd # Reset init cmd

Page 17: Menggelar Debian GNU

init='busybox init' init '= busybox' init # start the original initrd init process # Memulai proses init initrd asli

Page 9 Page 99 9 exec $init exec $ init 5. 5. Save the macfinder file and exit the text editor. Simpan file macfinder dan keluar dari editor teks. Step 6: Create the preseed.cfg Configuration File Langkah 6: Membuat File preseed.cfg Konfigurasi In this section you create a precursor preseed configuration file. Pada bagian ini Anda membuat sebuah prekursor preseed file konfigurasi. 1. 1. Invoke the text editor of your choice. Memanggil editor teks pilihan anda. 2. 2. Copy the following text. Salin teks berikut. # locale # Lokal ########################################## ########################################## di debian-installer/locale string en_US di debian-installer/locale string en_US di console-keymaps-at/keymap select us console-keymaps-at/keymap di pilih kita # network # Jaringan ########################################### ########################################### di netcfg/wireless_wep string di netcfg / string wireless_wep di netcfg/get_nameservers string di netcfg / get_nameservers string di netcfg/dhcp_timeout text 60 di netcfg / dhcp_timeout teks 60 3. 3. Paste the text into the text editor buffer. Sisipkan teks ke dalam buffer editor teks. 4. 4. Save it with the file name preseed.cfg. Simpan dengan nama file preseed.cfg. 5. 5. Exit the text editor. Keluar dari editor teks. Step 7: Create Archive for the Kernel Langkah 7: Membuat Arsip untuk Kernel yang Create an archive of the files the kernel will know how to open, and which will be integrated with the Buat sebuah arsip dari file kernel akan tahu cara membuka, dan yang akan diintegrasikan dengan original initramfs file named initrd.gz at kernel start time: initramfs asli file bernama initrd.gz di awal waktu kernel: 1. 1. Change to the iram directory: Pindahlah ke direktori Iram: # cd /opt/repository/boot/Debian4-i386Boot/iram # Cd / opt/repository/boot/Debian4-i386Boot/iram 2. 2.

Page 18: Menggelar Debian GNU

Extend executable permission to the macfinder file: Perluas dieksekusi izin ke file macfinder: # chmod +x macfinder # Chmod + x macfinder 3. 3. Create the archive file and compress it with the GZIP program: Membuat file arsip dan kompres dengan program GZIP: # find . # Find. | cpio -o -H newc | gzip > ../iram1.gz | Cpio-o-H newc | gzip> ../iram1.gz Step 8: Modify ICE-Linux JBOSS Web Server Langkah 8: Memodifikasi JBoss Web Server-Linux ICE Modify the ICE Linux JBoss web server to support 1000 connections per thread before restarting a Memodifikasi ICE Linux web server JBoss untuk mendukung 1.000 koneksi per thread sebelum restart suatu web server connection with a client. web koneksi server dengan klien. Also, optionally configure the JBoss web server to run on port Juga, opsional mengkonfigurasi server web JBoss untuk berjalan pada port 80 80 ∗ * by modifying the port in the /opt/mx/icle/icle.properties file (the JBoss web server dengan memodifikasi pelabuhan di opt / mx / / icle / file icle.properties (web server JBoss ∗ * You should not use port 80 if you already have a web server listening on port 80. Anda tidak harus menggunakan port 80 jika Anda sudah memiliki sebuah server web mendengarkan pada port 80. This white paper uses port 80 as an example, although the Kertas putih ini menggunakan port 80 sebagai contoh, meskipun Apache web server uses port 80. Apache web server menggunakan port 80.

Page 10 Page 1010 10 does not need to run on port 80 if the URL addresses in these scripts are appended with colon and tidak perlu dijalankan pada port 80 jika URL alamat di skrip ini ditambahkan dengan usus dan port 60000, the JBoss web server default port). port 60000, JBoss web server port default). Use the following procedure: Gunakan prosedur berikut: 1. 1. Stop HP SIM with the mxstop command. Berhenti HP SIM dengan perintah mxstop. 2. 2. Use the text editor of your choice to edit the Gunakan editor teks pilihan anda untuk mengedit /opt/mx/jboss/server/icle/deploy/jboss-web.deployer/server.xml file. / Opt / mx / JBoss / server / icle / menyebarkan / JBoss-web.deployer / file server.xml. 3. 3.

Page 19: Menggelar Debian GNU

Locate the specification for Connector Port 60000 as shown here: Cari spesifikasi untuk Konektor Port 60000 seperti yang ditunjukkan di sini: <Connector <Konektor port=60000 port = 60000 4. 4. Make the following changes in the server.xml file: Buat perubahan berikut pada file server.xml: a) a) change the port=6000 to port=80 mengubah port = 6000 ke port = 80 b) b) Insert a line to assign a value of 1000 to the maxKeepAliveRequests variable. Masukkan baris untuk menetapkan nilai 1000 ke variabel maxKeepAliveRequests. The The maxKeepAliveRequests number specified is an indication of the number of packages to maxKeepAliveRequests jumlah tertentu merupakan indikasi dari jumlah paket be installed. diinstal. If you need to add a large number of additional packages, increase this value. Jika Anda perlu menambahkan sejumlah besar paket-paket tambahan, meningkatkan nilai ini. The following reflects the changes to the server.xml file: Berikut ini mencerminkan perubahan ke file server.xml: <Connector <Konektor port=80 port = 80 ... ... maxKeepAliveRequests="1000" maxKeepAliveRequests = "1000" ... ... /> /> 5. 5. Save the server.xml file. Simpan file server.xml. 6. 6. Edit the /opt/mx/icle/icle.properties file to change the association of the Edit / opt / mx / icle / icle.properties file untuk mengubah asosiasi dari REPOSITORY_HTTP_PORT variable from REPOSITORY_HTTP_PORT=60000 to REPOSITORY_HTTP_PORT variabel dari REPOSITORY_HTTP_PORT = 60000 untuk REPOSITORY_HTTP_PORT=80 to match the change in step 4a. REPOSITORY_HTTP_PORT = 80 untuk mencocokkan perubahan 4a langkah. 7. 7. Save the icle.properties file and exit the text editor. Simpan icle.properties file dan keluar dari editor teks. 8. 8. Restart HP SIM with the mxstart command. Restart HP SIM dengan perintah mxstart. Step 9: Add Debian 4.0 Installation Configuration File Langkah 9: Tambahkan Debian 4.0 Konfigurasi File Instalasi

Page 20: Menggelar Debian GNU

Add a Debian 4.0 Installation configuration file to your repository as follows: Tambahkan sebuah file konfigurasi 4.0 Instalasi Debian ke repositori Anda sebagai berikut: 1. 1. Select the HP SIM Options → Manage ICE-Linux Repository... menu item. Pilih HP SIM Pilihan → Atur ICE-Linux Repository ... item menu. 2. 2. Select New . Pilih Baru. 3. 3. Select Installation configuration file (Kickstart/AutoYaST) for the Item type menu item, Pilih Instalasi file konfigurasi (Kickstart / AutoYaST) untuk jenis item menu Item, then select Next>. kemudian pilih> Next. 4. 4. Enter the following information for each text field: Masukkan informasi berikut untuk setiap field teks: Item type: Installation configuration file Jenis item: Instalasi file konfigurasi Name db403-agentless Nama-agentless db403 Description Debian Etch Release Deskripsi Debian Etch Release

Page 11 Page 1111 11 5. 5. Select Custom OS for the Operating Systems menu. Pilih Custom OS untuk menu Sistem Operasi. 6. 6. Select Save . Pilih Simpan. 7. 7. Select Ok . Pilih Ok. Step 10: Create a Default Custom OS Configuration File Langkah 10: Membuat Custom OS file konfigurasi Default Use the following procedure to create the default OS configuration file for Debian4-i386. Gunakan prosedur berikut untuk membuat OS default file konfigurasi untuk Debian4-i386. 1. 1. Determine the HP SIM server that provides service to the target system you want to install Debian Tentukan SIM server HP yang menyediakan layanan dengan sistem target yang ingin anda instal Debian on. pada. Determine the (numeric) IP address of the Ethernet port of that HP SIM server. Tentukan angka) alamat IP (dari port Ethernet dari server SIM HP. You will need the IP Anda akan membutuhkan IP address in step 5. alamat pada langkah 5. 2. 2.

Page 21: Menggelar Debian GNU

Change directory to the location in the repository for the installation configuration file added in Mengubah direktori ke lokasi di repositori untuk file konfigurasi instalasi ditambahkan Step 9: Add Debian 4.0 Installation Configuration File : Langkah 9: Tambahkan Debian 4.0 Instalasi File Konfigurasi : # cd /opt/repository/instconfig/db403-agentless # Cd / opt/repository/instconfig/db403-agentless 3. 3. Use the text editor of your choice to open the db403-agentless.cfg configuration file. Gunakan text editor pilihan Anda untuk membuka file konfigurasi agentless.cfg db403. 4. 4. Copy the following text and paste it into the text editor's buffer. Copy dan paste teks berikut ke editor teks's buffer. # mirror # Cermin ########################################### ########################################### di mirror/country string enter information manually di cermin / string negara memasukkan informasi secara manual di mirror/http/hostname string HP_SIM_Server_IP_Address di cermin / http / hostname string HP_SIM_Server_IP_Address di mirror/http/directory string /custom/Debian4-i386/DVD1/debian di cermin / http / direktori string / custom/Debian4-i386/DVD1/debian di mirror/protocol string http di cermin / protokol http string di mirror/http/proxy string di cermin / http / string proxy di mirror/suite string stable di cermin / string suite stabil # partition # Partisi ########################################### ########################################### di partman-auto/disk string /dev/cciss/c0d0 di partman-auto/disk string / dev/cciss/c0d0 #di partman-auto/disk string /dev/discs/disc0/disc # String partman-auto/disk di / dev/discs/disc0/disc di partman-auto/init_automatically_partition select Guided - use entire disk partman-auto/init_automatically_partition di pilih Dipandu - menggunakan seluruh disk di partman-auto/purge_lvm_from_device boolean true di partman-auto/purge_lvm_from_device boolean benar di partman-auto/method string regular di partman-auto/method string biasa #di partman-auto/method string lvm # Partman-auto/method LVM string di #di partman-lvm/confirm boolean true # Di partman-lvm/confirm boolean benar di partman-auto/choose_recipe select All files in one partition partman-auto/choose_recipe di pilih All file dalam satu partisi # (recommended for new users) # (Disarankan untuk pengguna baru) di partman/confirm_write_new_label boolean true di partman / confirm_write_new_label boolean benar

Page 22: Menggelar Debian GNU

di partman/choose_partition select Finish partitioning and di partman / choose_partition pilih Selesai mempartisi dan write changes to disk menulis perubahan ke disk di partman/confirm boolean true di partman / mengkonfirmasi boolean benar # time # Waktu ########################################### ########################################### di clock-setup/utc boolean true di clock-setup/utc boolean benar di time/zone string US/Central di waktu / US string zona / Tengah # accounts # Akun ########################################### ########################################### # root # Root di passwd/root-login boolean true di passwd /-login root boolean benar di passwd/root-password password root di passwd /-password password root root di passwd/root-password-again password root di passwd / password-lagi password root-root # mortal # Fana di passwd/user-fullname string James T. Kirk di passwd / user-nama lengkap string James T. Kirk di passwd/username string student di passwd / username siswa string di passwd/user-password password student di passwd /-password password user mahasiswa di passwd/user-password-again password student di passwd / password-lagi siswa-user password

Page 12 Page 1212 12 # apt # Apt ########################################### ########################################### di apt-setup/local0/comment string debian-40r3-i386-DVD-1 di apt-setup/local0/comment string debian-40r3-i386-DVD-1 di apt-setup/local0/repository string http:// HP_SIM_Server_IP_Address /custom/ apt-setup/local0/repository string di http:// HP_SIM_Server_IP_Address / custom / Debian4-i386/DVD1/debian stable main (continued from previous line) Debian4-i386/DVD1/debian stabil utama (lanjutan dari baris sebelumnya) di apt-setup/local1/comment string debian-40r3-i386-DVD-2 di apt-setup/local1/comment string debian-40r3-i386-DVD-2 di apt-setup/local1/repository string http :// di apt-setup/local1/repository string http :// HP_SIM_Server_IP_Address / custom / HP_SIM_Server_IP_Address / custom / Debian4-i386/DVD2/debian stable main (continued from previous line) Debian4-i386/DVD2/debian stabil utama (lanjutan dari baris sebelumnya)

Page 23: Menggelar Debian GNU

di apt-setup/local2/comment string debian-40r3-i386-DVD-3 di apt-setup/local2/comment string debian-40r3-i386-DVD-3 di apt-setup/local2/repository string htt p :// string di apt-setup/local2/repository htt p : / / HP_SIM_Server_IP_Address / custom / HP_SIM_Server_IP_Address / custom / Debian4-i386/DVD3/debian stable main (continued from previous line) Debian4-i386/DVD3/debian stabil utama (lanjutan dari baris sebelumnya) di apt-setup/security_host string di apt-setup/security_host string di apt-setup/security-updates boolean false apt-setup/security-updates di boolean false di debian-installer/allow_unauthenticated string true di debian-installer/allow_unauthenticated string benar # popcon # Popcon ########################################### ########################################### popularity-contest popularity-contest/participate boolean false kontes popularitas popularity-contest/participate boolean false # task # Tugas ########################################### ########################################### tasksel tasksel/first multiselect standard, desktop tasksel tasksel / standar pertama multiselect, desktop #tasksel tasksel/first multiselect standard, gnome-desktop # Tasksel tasksel / standar multiselect pertama, gnome-desktop #tasksel tasksel/first multiselect standard, kde-desktop # Tasksel tasksel / standar multiselect pertama, kde-desktop #tasksel tasksel/first multiselect standard, web-server # Tasksel tasksel / standar multiselect pertama, web-server #tasksel tasksel/first multiselect standard, print-server # Tasksel tasksel / standar multiselect pertama, print-server #tasksel tasksel/first multiselect standard, dns-server # Tasksel tasksel / standar multiselect pertama, dns-server #tasksel tasksel/first multiselect standard, file-server # Tasksel tasksel / standar multiselect pertama, file-server #tasksel tasksel/first multiselect standard, mail-server # Tasksel tasksel / standar multiselect pertama, mail-server #tasksel tasksel/first multiselect standard, sql-database # Tasksel tasksel / standar multiselect pertama, sql-database #tasksel tasksel/first multiselect standard, laptop # Tasksel tasksel / standar pertama multiselect, laptop # pkgs # Pkgs ########################################### ########################################### di pkgsel/include string snmpd di pkgsel / menyertakan string snmpd # xorg # Xorg

Page 24: Menggelar Debian GNU

########################################### ########################################### xserver-xorg xserver-xorg/autodetect_monitor boolean true xserver-xorg boolean xserver-xorg/autodetect_monitor benar xserver-xorg xserver-xorg/autodetect_video_card boolean false xserver-xorg boolean xserver-xorg/autodetect_video_card palsu xserver-xorg xserver-xorg/config/device/driver select ati xserver-xorg xserver-xorg/config/device/driver ati pilih xserver-xorg xserver-xorg/config/device/identifier string ATI xserver-xorg xserver-xorg/config/device/identifier string ATI Technologies Inc ES1000 rev 2 Technologies Inc ES1000 rev 2 xserver-xorg xserver-xorg/config/monitor/selection-method select medium xserver-xorg menengah pilih xserver-xorg/config/monitor/selection-method xserver-xorg xserver-xorg/config/monitor/mode-list select 1024x768 @ 60 Xserver-xorg xserver-xorg/config/monitor/mode-list pilih 1024x768 @ 60 Hz Hz xserver-xorg xserver-xorg/config/display/modes multiselect 1024x768, xserver-xorg xserver-xorg/config/display/modes multiselect 1024x768, 800x600 800x600 # grub # Grub ########################################### ########################################### di grub-installer/with_other_os boolean true di grub-installer/with_other_os boolean benar # reboot # Reboot ########################################### ########################################### di finish-install/reboot_in_progress note di finish-install/reboot_in_progress catatan # postscript # Postscript ########################################### ########################################### di preseed/late_command string in-target chroot /target ; in-target wget di preseed / string late_command di-sasaran chroot / target; in-target wget http:// HP_SIM_Server_IP_Address /instconfig/db403-agentless/db4.sh ; in-target chmod +x http:// HP_SIM_Server_IP_Address / instconfig/db403-agentless/db4.sh, di-target chmod + x db4.sh; in-target sh db4.sh (continued from previous line) db4.sh, dalam sh db4.sh target-(lanjutan dari baris sebelumnya) ########################################### ###########################################

Page 13 Page 1313 13 5. 5. Edit the five instances of Edit lima contoh-contoh

Page 25: Menggelar Debian GNU

HP_SIM_Server_IP_Address HP_SIM_Server_IP_Address , replacing it with the IP address of the HP SIM , Menggantinya dengan alamat IP dari SIM HP Console Management Server (CMS) you obtained in step 1; these instances are highlighted to Server Management Console (CMS) yang Anda dapatkan pada langkah 1, ini contoh yang disorot untuk help you locate them. membantu Anda menemukan mereka. 6. 6. Edit the four instances of continued lines. Edit empat contoh baris lanjutan. Ensure that the second of the two lines is joined with the Pastikan bahwa kedua dari dua garis yang bergabung dengan first and remove the text pertama dan menghapus teks (continued from previous line) (Lanjutan dari baris sebelumnya) . . 7. 7. Save the file and exit the text editor. Simpan file dan keluar dari editor teks. Step 11: Create Agentless Installation Association Configuration Script Langkah 11: Buat Script Agentless Instalasi Konfigurasi Dasar Debian GNU/Linux is an operating system that is not supported by the ProLiant Service Pack (PSP), so Debian GNU / Linux adalah sistem operasi yang tidak didukung oleh ProLiant Service Pack (PSP), sehingga you need to create the agentless installation association configuration script. Anda perlu menciptakan konfigurasi script installasi agentless asosiasi. For more information on Untuk informasi lebih lanjut tentang this topic, see the white paper titled Setting up Managed Systems in ICE-Linux without PSPs . topik ini, lihat kertas putih berjudul Menyiapkan Managed Systems di ICE-Linux tanpa PSP. Follow this procedure to create an agentless installation association configuration script named Ikuti prosedur ini untuk membuat script installasi agentless konfigurasi asosiasi bernama db4.sh: db4.sh: 1. 1. Determine the IP address of the Ethernet port of the HP SIM server. Tentukan alamat IP dari port Ethernet dari server SIM HP. You will need the IP address in Anda akan memerlukan alamat IP di step 5. langkah 5. 2. 2. Change directory to the space for the Debian OS in the Repository: Ubah direktori ke ruang untuk OS Debian di Repositori: # cd /opt/repository/instconfig/db403-agentless # Cd / opt/repository/instconfig/db403-agentless 3. 3. Use the text editor of your choice to create a file named db4.sh. Gunakan text editor pilihan Anda untuk membuat sebuah file bernama db4.sh. 4. 4.

Page 26: Menggelar Debian GNU

Copy the following text and paste it to the text editor buffer. Copy dan paste teks berikut ke buffer editor teks. #!/bin/sh #! / Bin / sh ########################################### ########################################### # # # Debian - remove snmpd bind to loopback only # Debian - menghapus mengikat hanya snmpd untuk loopback # # sed -i 's/ 127.0.0.1//' /etc/default/snmpd sed-'i' s / 127.0.0.1 / / / etc / default / snmpd ########################################### ########################################### # # # Debian - add 5 second delay to snmpd start # Debian - menambahkan 5 detik delay untuk memulai snmpd # network isn't ready when snmpd fires # Jaringan tidak siap ketika snmpd kebakaran # coldstart trap # Perangkap coldstart # # sed -i '/ start)/ a\sleep 5' /etc/init.d/snmpd sed-i '/ start) / tidur \ 5' / etc / init.d / snmpd ########################################### ########################################### # # # Debian - set gdm mouse to no acceleration # Debian - set gdm mouse untuk percepatan # # sed -i '/^exit 0/ i\xset m 1 1' /etc/gdm/Init/Default sed-i '/ keluar ^ 0 / i \ xset m 1 1' / / gdm etc / Init / Default ########################################### ########################################### # # # Get Info for HP SIM # Dapatkan Info untuk SIM HP # # set `dmidecode | grep "Product Name"` set `dmidecode | grep" Nama Produk "` ProductNM=$3" "$4 ProductNM = $ 3 "" $ 4

Page 14 Page 1414 14 set `dmidecode | grep "Product ID"` set `dmidecode | grep" ID Produk "` ProductID=${5:0:6} ProductID = $ {05:00:06} set `dmidecode | grep "Serial Number"` set `dmidecode | grep" Serial Number "` SerialNum=${3:0:11} SerialNum = $ {03:00:11} ########################################### ###########################################

Page 27: Menggelar Debian GNU

# # # Make some Info for HP SIM # Buatlah beberapa Info untuk HP SIM # # HostGUID=$ProductID$SerialNum HostGUID = $ ProductID $ SerialNum ########################################### ########################################### # Determine OS for HP SIM # Menentukan OS untuk SIM HP # # osname="Debian 4.0 r3 $arch" osname = "Debian 4.0 r3 $ arch" ########################################### ########################################### # # # Assign the OID Info # Tetapkan Info OID # # cat <<EOF2 > /etc/snmp/CntlrAgentLocation.sh kucing <<EOF2> / etc / snmp / CntlrAgentLocation.sh #!/bin/sh #! / Bin / sh echo .1.3.6.1.4.1.232.9.2.2.10.0 echo .1.3.6.1.4.1.232.9.2.2.10.0 echo integer echo integer echo 1 echo 1 EOF2 EOF2 cat <<EOF3 > /etc/snmp/ProductName.sh kucing <<EOF3> / etc / snmp / ProductName.sh #!/bin/sh #! / Bin / sh echo .1.3.6.1.4.1.232.2.2.4.2.0 echo .1.3.6.1.4.1.232.2.2.4.2.0 echo string echo string echo "$ProductNM" echo "$ ProductNM" EOF3 EOF3 cat <<EOF4 > /etc/snmp/MibStatusArray.sh kucing <<EOF4> / etc / snmp / MibStatusArray.sh #!/bin/sh #! / Bin / sh echo .1.3.6.1.4.1.232.11.2.10.1.0 echo .1.3.6.1.4.1.232.11.2.10.1.0 echo octet_str echo octet_str echo "01 02 08 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 echo "01 02 08 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00" 00 00 00 00 00 00 00 00 00 00 " EOF4 EOF4 cat <<EOF5 > /etc/snmp/HostGUID.sh kucing <<EOF5> / etc / snmp / HostGUID.sh #!/bin/sh #! / Bin / sh

Page 28: Menggelar Debian GNU

echo .1.3.6.1.4.1.232.11.2.10.3.0 echo .1.3.6.1.4.1.232.11.2.10.3.0 echo string echo string echo "$HostGUID" echo "$ HostGUID" EOF5 EOF5 cat <<EOF6 > /etc/snmp/OsName.sh kucing <<EOF6> / etc / snmp / OsName.sh #!/bin/sh #! / Bin / sh echo .1.3.6.1.4.1.232.11.2.2.1.0 echo .1.3.6.1.4.1.232.11.2.2.1.0

Page 15 Page 1515 15 echo string echo string echo "$osname" echo "$ osname" EOF6 EOF6 chmod +x /etc/snmp/CntlrAgentLocation.sh chmod + x / etc / snmp / CntlrAgentLocation.sh chmod +x /etc/snmp/ProductName.sh chmod + x / etc / snmp / ProductName.sh chmod +x /etc/snmp/MibStatusArray.sh chmod + x / etc / snmp / MibStatusArray.sh chmod +x /etc/snmp/HostGUID.sh chmod + x / etc / snmp / HostGUID.sh chmod +x /etc/snmp/OsName.sh chmod + x / etc / snmp / OsName.sh ########################################### ########################################### # # # Configure SNMP to serve the Info # Konfigurasi SNMP untuk melayani Info # # ########################################### ########################################### # # # HP SIM address # HP alamat SIM # # HPSIM=" HPSIM = " HP_SIM_Server_IP_Address HP_SIM_Server_IP_Address " " cat - /etc/snmp/snmpd.conf <<EOF > /etc/snmp/snmpd.conf.new kucing - / etc / snmp / snmpd.conf <<EOF> / etc / snmp / snmpd.conf.new ########################################### # # # HP ICELX authorization # # trapsink $HPSIM rocommunity public $HPSIM rocommunity 127.0.0.1 ########################################### # # # HP ICELX Overrides # #

Page 29: Menggelar Debian GNU

pass .1.3.6.1.4.1.232.9.2.2.10.0 /etc/snmp/CntlrAgentLocation.sh pass .1.3.6.1.4.1.232.2.2.4.2.0 /etc/snmp/ProductName.sh pass .1.3.6.1.4.1.232.11.2.10.1.0 /etc/snmp/MibStatusArray.sh pass .1.3.6.1.4.1.232.11.2.10.3.0 /etc/snmp/HostGUID.sh pass .1.3.6.1.4.1.232.11.2.2.1.0 /etc/snmp/OsName.sh EOF EOF mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.old mv /etc/snmp/snmpd.conf.new /etc/snmp/snmpd.conf 5. 5. Replace the instance of HP_SIM_Server_IP_Address with the IP address of the HP SIM server you found in Step 1. It is highlighted to help you locate it. 6. 6. Save the file and exit the text editor. Step 12: Installing Debian4-i386 on a Target System You can now install the Debian4-i386 operating system on a target managed system. The instructions Instruksi for deploying an operating system to a target managed system are in the section of the HP Insight Control Environment for Linux User's Guide titled Generic Procedure for Deploying an OS to One or More Managed Systems provides the instructions for deploying an operating system. This section Bagian ini supplements the procedure in that Guide.

Page 16 Page 1616 16 You will need the following information before you begin: • The (numeric) IP address of the Ethernet port of the HP SIM server. Note : Sometimes the system does not obtain a HCP addvalid Dress the first time the system is booted. In this case, reboot the system to obtain a valid DHCP address. • The MAC address of the target managed system. You can obtain the MAC address for the NIC selected for PXE boot in the BIOS screen through the iLO console, or you can get a list of possible MAC addresses from the main iLO web page. Follow the procedure to deploy an OS in the HP Insight Control Environment for Linux User's Guide with the following modifications: • Specify Debian4-i386 when you are prompted to select the operating system. • Specify the following kernel append line. Note that, for clarity, the kernel append line is presented on four lines, one for each of the variables. You will need to substitute the appropriate values for

Page 30: Menggelar Debian GNU

the MAC_Addr and the HP_SIM_Server_IP_Address based on the MAC address of the NIC to PXE boot the target system and the IP address of the HP SIM server, respectively. DEBCONF_PRIORITY=critical preseed=http:// HP_SIM_Server_IP_Address /instconfig/db403-agentless/db403-agentless.cfg xdevice= MAC_Addr init=/macfinder vga=788 –- Note : The Task Results window may report completion although the installation might not yet be complete. lengkap. Monitor the console to determine when the installation has been completed