23.47 Edit This 0 Comments »
Redhat Server Setup
This section explains how to set up your server machine to be an install server for Redhat Linux. Bagian ini menjelaskan cara mengatur mesin server anda menjadi server untuk menginstal Redhat Linux. You can set up any Linux distribution to be a Redhat install server, this machine does not necessarily have to be running Redhat. Anda dapat mengatur apapun distribusi Linux untuk menjadi menginstal Redhat server, mesin ini tidak perlu harus menjalankan Redhat.
This guide starts from the point where you have a machine installed with Linux which is already up and running and connected to your network. Panduan ini dimulai dari titik di mana Anda memiliki mesin diinstal dengan Linux yang sudah bangun dan berjalan dan terhubung ke jaringan anda. If you require help with installing Linux on your server then please consult the Further Information section of this HOWTO in Appendix A . Jika Anda memerlukan bantuan dengan menginstal Linux di server Anda maka silakan membaca bagian Informasi lebih lanjut HOWTO ini dalam Lampiran A.
1 Setting Up Filespace Menyiapkan 6,1 filespace
In order for your server to act as a Redhat network install server you will need to put on all the required data that will be needed to perform a full installation of the Redhat version you are serving. Agar server Anda untuk bertindak sebagai jaringan Redhat menginstal server yang Anda akan perlu untuk memasukkan semua data yang dibutuhkan yang akan dibutuhkan untuk melakukan instalasi penuh dari versi Redhat melayani Anda. For example, if you are used to installing Redhat using CDs then you will need space on your server to copy ALL the contents of each CD onto your server. Sebagai contoh, jika Anda digunakan untuk menginstal Redhat menggunakan CD maka Anda akan membutuhkan ruang pada server Anda SEMUA untuk menyalin isi dari setiap CD ke server Anda.
So, before you even think about setting up your machine as an install server, you must check that you have the required space available. Jadi, sebelum Anda berpikir tentang pengaturan mesin anda sebagai server menginstal, Anda harus memeriksa bahwa Anda memiliki ruang yang dibutuhkan tersedia. This sounds like a trivial thing to check but it is very important and easily forgotten when you're setting up. Ini kedengarannya seperti hal yang sepele untuk memeriksa tapi sangat penting dan mudah terlupakan ketika Anda sedang menyiapkan.
How much space will you need? Berapa banyak ruang yang akan Anda butuhkan?
A guide for the amount of space that you will require will be the amount or space of install media that you are intending to copy from later. Petunjuk Untuk jumlah ruang yang akan Anda akan memerlukan jumlah atau ruang menginstal media yang Anda berniat untuk menyalin dari kemudian. This might be one of the following examples: Ini mungkin salah satu contoh berikut:
Number of CDs x 650Mb Jumlah CD x 650Mb
Number of ISO images x 650Mb Jumlah ISO images x 650Mb
How much space do you have? Berapa banyak ruang yang Anda miliki?
You will need the appropriate amount of space available to your system on some local filesystem. Anda akan memerlukan jumlah yang sesuai ruang yang tersedia untuk sistem Anda pada beberapa filesystem lokal. It does not matter what form this takes, whether it's a RAID device, local disk (either SCSI or IDE), etc. Ensure that the space you intend to use is formatted with your chosen filesystem and is mounted. Tidak peduli bentuk apa yang diperlukan, entah itu sebuah perangkat RAID, disk lokal (baik SCSI atau IDE), dll ruang Pastikan bahwa Anda berniat untuk menggunakan diformat dengan filesystem yang dipilih dan di-mount.
You can check this space with the command: Anda dapat memeriksa ruang ini dengan perintah:
df -h df-h
If this output shows you have enough space to copy your install media then great, you can continue installation. Jika output ini menunjukkan bahwa Anda memiliki cukup ruang untuk menyalin media kemudian menginstal besar, Anda dapat melanjutkan instalasi. If not then it's time to think about an upgrade to your intended server machine! Jika tidak maka sudah saatnya untuk berpikir tentang upgrade ke mesin server yang Anda maksudkan!
2 Copy Installation Media 6,2 Salin Media Instalasi
Once you know you have enough space available it's time to start copying your install media to your chosen filesystem and directory. Setelah Anda tahu bahwa Anda memiliki cukup ruang yang tersedia sudah waktunya untuk mulai menyalin media instalasi Anda ke filesystem dan direktori yang dipilih. For the purposes of this HOWTO we will use the following example to represent the directory from which our install server will be setup and running: Untuk keperluan HOWTO ini kita akan menggunakan contoh berikut untuk mewakili direktori dari server yang kita akan menginstal setup dan menjalankan:
/install / install
Copy your install media to /install . Salin Anda media untuk menginstal /install The following example shows you how to do this for copying your Redhat CD images to /install : Contoh berikut menunjukkan kepada Anda bagaimana untuk melakukan hal ini untuk menyalin gambar CD Redhat anda ke /install
1.Mount your CD Mount CD
eg mount /mnt/cdrom misalnya mount /mnt/cdrom
2.Copy the data from CD Copy data dari CD
eg cp -av /mnt/cdrom /install misalnya cp -av /mnt/cdrom /install
3.Unmount the CD Unmount CD
eg umount /mnt/cdrom misalnya umount /mnt/cdrom
4.Now swap CDs and repeat from step 1 for each of your CDs you have. Sekarang swap CD dan ulangi dari langkah 1 untuk setiap CD yang anda miliki.
3 Enable Remote Access 6,3 Aktifkan Remote Access
Time to make your install data available to other machines on the network. Redhat can be installed over the network using NFS, HTTP and FTP protocols. You can select which of these will be used at install time on the client. Waktu untuk membuat data instalasi anda tersedia untuk komputer lain pada jaringan. Redhat dapat diinstal melalui jaringan menggunakan NFS, HTTP dan protokol FTP. Anda dapat memilih mana yang akan digunakan pada waktu menginstal di klien. If one of the services is not setup on the machine then it will still be available for selection by the client but the install will not work. Jika salah satu layanan ini tidak setup pada mesin maka akan tetap tersedia untuk seleksi oleh klien tetapi instalasi tidak akan bekerja. Therefore, it is either best to enable all three services on your server (so they all work on each client machine) or if you don't enable all three then advertise the fact very well and say which service should be used for your particular install server. Oleh karena itu, baik yang terbaik untuk mengaktifkan layanan ketiga pada server Anda (sehingga mereka semua bekerja pada setiap mesin klien) atau jika anda tidak mengaktifkan ketiga kemudian mengiklankan sebenarnya sangat baik dan mengatakan layanan mana yang harus digunakan untuk menginstal khusus Anda server.
NFS NFS
The NFS protocol is the only one which will work with the graphical install method of Redhat when installing your client machine. NFS protokol adalah satu-satunya yang akan bekerja dengan metode instalasi grafis Redhat ketika menginstal mesin klien Anda. Therefore, if you want to do graphical (as opposed to text based) installations then you must enable this service on your server. Oleh karena itu, jika Anda ingin melakukan grafis (sebagai lawan berbasis teks) instalasi maka anda harus mengaktifkan layanan ini pada server Anda.
To install over NFS you need to meet certain conditions on the server: Untuk menginstal melalui NFS, Anda harus memenuhi syarat-syarat tertentu pada server:
Your install directory is exported Direktori menginstal Anda diekspor
NFS is installed and running NFS terinstal dan dijalankan
Portmap is running Portmap berjalan
To export your install directory edit the /etc/exports file and add an entry for /install to it. Untuk mengekspor direktori menginstal mengedit /etc/exports file dan tambahkan entri untuk /install untuk itu. In our example, we would use the folowing line: Dalam contoh ini, kita akan menggunakan baris folowing:
/install *(ro) / install * (ro)
When you have saved your exports file you must then get your NFS daemon to read its configuration file again in order to export the directory you just added. Do this by running the command: Bila Anda telah menyimpan file ekspor Anda harus kemudian mendapatkan daemon NFS Anda baca lagi file konfigurasi untuk mengekspor direktori saja anda tambahkan. Lakukan ini dengan menjalankan perintah:
exportfs -r exportfs-r
This gives us the most simple read-only export to all hosts on our network. Ini memberi kita yang paling sederhana hanya-baca ekspor ke semua host di jaringan kami. If you want to include more advanced options in your export eg only exporting to certain hosts on the network or a certain subnet, etc then see your man page for the exports file at exports (5). Jika Anda ingin memasukkan lebih banyak pilihan lanjutan dalam misalnya ekspor hanya mengekspor ke host tertentu pada jaringan atau subnet tertentu, dll kemudian melihat halaman manual untuk exports di ekspor (5).
FTP FTP
The FTP protocol will only allow text installs to be performed by your clients. This may or may not be ideal for your situation but bear it in mind. Protokol FTP hanya akan mengijinkan menginstall teks harus dilakukan oleh klien Anda. Hal ini mungkin atau mungkin tidak ideal untuk situasi anda, tetapi beruang itu dalam pikiran.
To install over FTP you need to allow FTP access to the directory that you have setup on the server as the installation directory. Untuk menginstal melalui FTP Anda perlu untuk memungkinkan akses FTP ke direktori yang telah Anda setup pada server sebagai direktori instalasi. This can be either anonymous FTP access or access through a named account with a password. Hal ini dapat berupa akses FTP anonim atau akses melalui account bernama sandi. Anonymous access is probably best unless you have a reason to protect your install server via a password. Akses anonim mungkin terbaik kecuali jika Anda memiliki alasan untuk melindungi Anda menginstal server melalui sebuah password.
If you want anonymous FTP to point to a different directory then you can use sym links to point to the directory that you have set up as the install directory on the server. Jika Anda ingin anonymous FTP untuk menunjuk pada sebuah direktori yang berbeda maka anda dapat menggunakan link sym untuk menunjuk ke direktori yang telah ditetapkan sebagai direktori install pada server. This will allow FTP into a chrooted environment but still give you access to the install images in a different location. Ini akan memungkinkan FTP ke lingkungan chroot tetapi masih memberikan Anda akses ke gambar instalasi di lokasi yang berbeda.
HTTP HTTP
Similarly to the FTP protocol, HTTP will only allow text installs on the client side. Demikian juga dengan protokol FTP, HTTP hanya akan mengijinkan menginstal teks di sisi klien. If you have a web server running and want to enable HTTP access to your install server then add sym links from your document root to the install server directory and this will grant access. Jika Anda memiliki web server berjalan dan ingin mengaktifkan akses ke HTTP server instal sym kemudian menambahkan link dari akar dokumen Anda ke direktori server menginstal dan ini akan memberikan akses. If you are not familiar with web servers or are not comfortable with this approach then leave out HTTP access from your install server as it provides no benefits over NFS or FTP installs which may be simpler to set up. Jika Anda tidak terbiasa dengan web server atau tidak nyaman dengan pendekatan ini kemudian pergi keluar HTTP akses dari server instalasi Anda tidak memberikan manfaat atas menginstall NFS atau FTP yang dapat mudah untuk mengatur.
If you do choose to use HTTP then basically all you have to do is make the install directory visible to your web server by making it appear under the document root by some means. Jika Anda memilih untuk menggunakan HTTP maka pada dasarnya semua yang harus Anda lakukan adalah membuat direktori instalasi terlihat ke server web Anda dengan membuatnya muncul di bawah akar dokumen dengan beberapa cara.
You have now completed the basic setup of your install server. Anda sekarang telah menyelesaikan konfigurasi dasar menginstal server Anda.
4 Package Customisation Paket 6,4 penyesuaian
You can, if you wish, add your own packages to the Redhat distribution so that they are installed along with Redhat over the network when you install your clients. Anda bisa, jika anda ingin, tambahkan paket Anda sendiri dengan distribusi Redhat sehingga mereka diinstal bersama dengan Redhat melalui jaringan ketika anda menginstal klien Anda. The advantage of this is that you don't have to spend time configuring each machine for packages that you may want installed that are not included with Redhat. Keuntungan dari ini adalah bahwa Anda tidak perlu menghabiskan waktu konfigurasi setiap mesin untuk paket-paket yang Anda mungkin ingin menginstal yang tidak disertakan dengan Redhat. Examples of this might be your own RPM packages that you have created or some specialised package. Contoh ini mungkin Anda sendiri paket RPM yang telah Anda buat atau beberapa paket khusus.
Make sure you have the anaconda-runtime package installed on your server. Pastikan Anda memiliki anaconda-runtime paket terinstal pada server Anda. This is normally installed if you're running Redhat but if you have another distribution on the server then you should be able to install the Redhat RPM without too much trouble. Hal ini biasanya dipasang jika Anda menjalankan Redhat tetapi jika Anda memiliki distribusi lain pada server, maka Anda harus dapat menginstal Redhat RPM tanpa terlalu banyak kesulitan. To check if you have the correct package enter the command Untuk memeriksa apakah Anda memiliki paket yang benar masukkan perintah
rpm -q anaconda-runtime rpm-q anaconda-runtime
If the name of the package is returned then you have it installed, if nothing is returned the install the RPM as required. Jika nama paket dikembalikan maka anda menginstalnya, jika tidak ada yang mengembalikan menginstal RPM yang diperlukan.
Now simply copy your RPM package files into the following directory Sekarang Anda cukup menyalin paket RPM file ke dalam direktori berikut
/install/Redhat/RPMS / install / Redhat / RPMS
This is the directory that should already contain all the Redhat standard RPMS for the Redhat version you have setup on your install server. Ini adalah direktori yang seharusnya sudah berisi semua standar Redhat RPMS untuk versi Redhat telah Anda setup pada server instalasi.
Once you have copied your custom RPMS you need to regenerate Redhat's list of packages that it can install. Sekali Anda telah menyalin kustom Anda RPMS Anda perlu untuk menumbuhkan Redhat daftar paket yang dapat menginstal. Do this using the following command: Lakukan ini dengan menggunakan perintah berikut:
/usr/lib/anaconda-runtime/genhdlist /install / usr / lib / anaconda-runtime / genhdlist / install
The directory used here of /install is the example directory we have been using so far. Direktori yang digunakan di sini dari /install adalah direktori contoh telah kita gunakan sejauh ini. Replace this with the directory where you copied the Redhat CD images to. Ganti ini dengan direktori di mana Anda menyalin gambar ke CD Redhat. The directory should be the base directory of the Redhat CD set ie the one that contains a subdirectory called Redhat before the directory called RPMS Harus direktori direktori dasar dari set CD Redhat yaitu satu yang berisi subdirektori bernama Redhat sebelum direktori yang disebut RPMS
Your custom RPM packages should now be available to the clients. Paket RPM kustom Anda sekarang harus tersedia bagi klien.
Further Customisation Penyesuaian lebih lanjut
In addition to adding your own RPMS to Redhat you can also create RPM groups for the installation process. Selain RPMS menambahkan Anda sendiri untuk Redhat Anda juga dapat membuat kelompok RPM untuk proses instalasi. These will be similar to the standard groups offered by the Redhat install already such as the "Software Development" group which will install all packages for this purpose onto your system. Ini akan mirip dengan kelompok standar yang ditawarkan oleh menginstal Redhat sudah seperti "Software Development" kelompok yang akan menginstal semua paket untuk tujuan ini ke sistem anda.
This allows quick installation of many RPMS for a specific purpose on your systems and the groups will become available like the normal Redhat groups (and are used in the same way) upon installation of the client. Hal ini memungkinkan instalasi yang cepat dari banyak RPMS untuk tujuan tertentu pada sistem anda dan kelompok akan tersedia seperti kelompok Redhat normal (dan digunakan dengan cara yang sama) setelah instalasi klien.
To create your own groups you must edit a text file called the comps file. Untuk membuat grup Anda sendiri, Anda harus mengedit file teks yang disebut comps file. In our example, this is located at: Dalam contoh kita, ini terletak di:
/install/Redhat/base/comps / install / RedHat / base / comps
Copy the syntax for the groups that are already in the file and you can create your own groupings. Salin sintaks untuk kelompok-kelompok yang sudah ada di dalam file dan Anda dapat membuat kelompok sendiri. These can include both packages from the standard Redhat install or any custom packages that you might have already added ie you can include any package in the RPMS directory. Ini dapat mencakup paket dari Redhat standar atau menginstal paket-paket kustom yang mungkin Anda telah menambahkan mis. anda dapat menyertakan paket apapun di RPMS direktori.
Once you have edited the file then save it back out over the original (it might be an idea to take a backup of the original but it will always be on your CD images anyway if you need it). Sekali Anda telah mengedit file kemudian simpan kembali di atas asli (mungkin ide untuk mengambil cadangan yang asli tetapi akan selalu berada di gambar CD Anda tetap jika Anda memerlukannya). You must now run the genhdlist command again as explained above. Anda sekarang harus menjalankan genhdlist kembali perintah seperti yang dijelaskan di atas.
Instal Redhat Client
You should have already decided by now using the Quick Guide section of this HOWTO whether you are going to install your machine using the automated process or a manual process. Anda harus telah memutuskan sekarang menggunakan Panduan Cepat bagian HOWTO ini apakah Anda akan menginstal mesin anda dengan menggunakan proses otomatis atau proses manual. The automated process under Redhat is known as Kickstart and in short provides you with a configuration file for the machine that you are going to install so that you can perform unattended installs of client machines. Proses otomatis di bawah Redhat dikenal sebagai Kickstart dan dalam menyediakan pendek dengan file konfigurasi mesin yang Anda akan menginstal sehingga Anda dapat melakukan menginstal klien tanpa perawatan mesin.
Create Kickstart Config Files 7,1 Buat File Config Kickstart
You only need to read/follow this section if you are intending to use an automated install process, if you intend to do a manual installation over your network then skip this section. Anda hanya perlu membaca / mengikuti bagian ini jika anda berkeinginan untuk menggunakan proses instalasi secara otomatis, jika Anda bermaksud untuk melakukan instalasi manual di jaringan anda melewatkan bagian ini. Here we go through the process of creating configuration files that the installer will read in order to create the configuration of our client machine we are installing during an unattended network installation. Di sini kita melalui proses yang menciptakan file konfigurasi installer akan membaca dalam rangka menciptakan konfigurasi mesin klien kami, kami menginstal selama instalasi jaringan yang tidak dijaga.
Kickstart Configurator Installation Kickstart Configurator Instalasi
In order to start creating your config files you will need to install the Kickstart Configurator on your Linux machine. Dalam rangka untuk mulai membuat file konfigurasi anda perlu menginstal Kickstart Configurator pada mesin Linux Anda. You will need one of two RPMS for this depending on the version of Redhat you are using. Anda akan memerlukan salah satu dari dua RPMS untuk ini tergantung pada versi Redhat yang Anda gunakan. These RPMS are available on your Redhat install CDs as follows: RPMS ini tersedia pada CD instalasi Redhat Anda sebagai berikut:
redhat-config-kickstart - for versions 8.x and above redhat-config-kickstart - untuk versi 8.x dan di atas
ksconfig - for earlier versions ksconfig - untuk versi sebelumnya
Check to see if you already have them installed with the command: Periksa untuk melihat apakah Anda sudah memiliki mereka terinstal dengan perintah:
rpm -q {rpm package name} rpm-q (nama paket rpm)
If these packages are not installed then install with the command: Jika paket tersebut tidak terinstal kemudian instal dengan perintah:
rpm -Uvh {rpm package name} rpm-Uvh nama paket rpm ()
Create A Basic Config File Buat Dasar File Config
Once you have confirmed that you have the configurator packages installed, you can now start to create configuration files. Setelah Anda mengkonfirmasi bahwa Anda memiliki paket configurator terinstal, sekarang anda dapat mulai untuk menciptakan file konfigurasi. For most situations the basic configuration described here will be sufficient to perform your installations. Bagi kebanyakan situasi konfigurasi dasar yang dijelaskan di sini akan cukup untuk melakukan instalasi Anda.
Start the Kickstart configuration program that you have on your system. Buat halaman konfigurasi Kickstart program yang Anda miliki di sistem anda. This will be done with the command redhad-config-kickstart for Redhat 8.x systems and above (or if you have the redhat-config-kickstart RPM installed), or the command ksconfig for other Redhat systems (or if you have the ksconfig RPM installed). Ini akan dilakukan dengan perintah redhad-config-kickstart untuk sistem 8.x Redhat dan di atas (atau jika Anda memiliki redhat-config-Kickstart RPM diinstal), atau perintah ksconfig sistem Redhat lain (atau jika Anda memiliki ksconfig RPM diinstal).
You will now be presented with a window that allows you to configure most of your installation options as if you were installing a new machine or performing an upgrade. Anda akan disajikan dengan sebuah jendela yang memungkinkan Anda untuk mengkonfigurasikan sebagian besar pilihan instalasi anda seolah-olah Anda sedang memasang mesin baru atau melakukan upgrade. You can proceed through each menu, configuring your options for a particular system or set of similar systems that you wish to automatically install. Anda dapat dilanjutkan melalui setiap menu, pilihan untuk mengkonfigurasi sistem tertentu atau seperangkat sistem serupa yang ingin Anda menginstal secara otomatis.
Once you have progressed through each configuration screen, you are ready to save out your configuration file to disk. NOTE: it is outside the boundaries of this document to take you through each configuration option for installation, we are just concerned with the principles of network installs here. Sekali Anda telah mengalami kemajuan melalui konfigurasi masing-masing layar, Anda siap untuk keluar Anda menyimpan file konfigurasi ke disk. CATATAN: itu adalah di luar batas-batas dari dokumen ini untuk membawa Anda melalui setiap opsi konfigurasi untuk instalasi, kita hanya prihatin dengan prinsip-prinsip jaringan menginstall di sini. Please consult your Redhat documentation or the Redhat Website for this information. Click the " save " button and choose a location on your system to store configuration files. Silakan Redhat dokumentasi Anda atau Redhat Situs Web untuk informasi ini. Klik tombol save tombol dan pilih lokasi di sistem anda untuk menyimpan file-file konfigurasi. If you are creating lots of different configurations then it might be worthwhile creating your own configuration repository - don't forget to name the files sensibly so you know which is which. Jika Anda membuat banyak konfigurasi yang berbeda, maka ini bisa bermanfaat untuk menciptakan konfigurasi anda sendiri repositori - jangan lupa untuk nama file yang masuk akal sehingga Anda tahu mana yang mana.
Advanced Config File Setup Advanced Config File Setup
Before attempting advanced configuration please make sure that you have first created a valid basic configuration file as described above . It is perfectly possible to create your own configuration files from scratch but it is far easier to use the tools provided to do the job for you! Konfigurasi lanjutan sebelum mencoba pastikan bahwa Anda memiliki yang valid pertama kali membuat file konfigurasi dasar seperti dijelaskan di atas. Sangat mungkin untuk menciptakan file konfigurasi anda sendiri dari awal tetapi jauh lebih mudah untuk menggunakan alat-alat yang disediakan untuk melakukan pekerjaan untuk Anda!
Once you have your configuration file saved, you can open it in your favourite text editor. You can use or modify any of the existing tags in your file, just so long as the tags, options, and syntax you use are legal. Setelah konfigurasi anda sudah memiliki file yang disimpan, Anda dapat membukanya di editor teks favorit Anda. Anda dapat menggunakan atau memodifikasi setiap tag yang ada dalam file Anda, hanya selama tag, opsi, dan sintaks yang Anda gunakan adalah legal. Once you have edited the file manually then save it back out in text format again. Sekali Anda telah mengedit file secara manual kemudian menyimpan kembali dalam format teks lagi.
The best use of editing the configuration file manually is probably for adding your own customised packages to the installation. Penggunaan terbaik mengedit file konfigurasi secara manual mungkin untuk menambahkan Anda sendiri paket disesuaikan dengan instalasi. Back in the Redhat Server Setup section we describe how to add your own customised packages to your install server. Kembali ke Setup Server Redhat bagian ini kami menjelaskan cara untuk menambahkan paket disesuaikan sendiri untuk menginstal server Anda. Here, we describe how to access those packages using the configuration file so they can be automatically installed with the rest of the system. Di sini, kami menjelaskan cara untuk mengakses paket-paket dengan menggunakan file konfigurasi sehingga mereka dapat secara otomatis diinstal dengan seluruh sistem.
You should be able to locate a packages section in your basic configuration file in your editor. Anda harus dapat menemukan packages bagian dalam file konfigurasi dasar dalam editor anda. You can add extra packages by name as you require to the end of this list of packages. Anda dapat menambahkan paket tambahan dengan namanya sebagai yang Anda perlukan untuk akhir daftar paket. Follow the format of the other packages that you have listed in the file already from the basic configuration. Packages that start with @ are package group names. Ikuti format paket-paket lain yang telah terdaftar dalam file sudah dari konfigurasi dasar. Paket-paket yang dimulai dengan @ adalah nama grup paket. You can use any of the default Redhat package groups or you can use any custom groups you may have created. Anda dapat menggunakan salah satu paket RedHat default kelompok atau Anda dapat menggunakan grup kustom Anda mungkin telah dibuat.
You can add as many packages and groups under the packages section as you wish. Anda dapat menambahkan sebanyak paket dan kelompok di bawah packages bagian yang Anda inginkan. Just put one package on each line and follow the format already provided. Hanya menempatkan satu paket pada setiap baris dan mengikuti format yang sudah disediakan.
Save your modified configuration file from your text editor and it will then be ready to use in your installations as described below. Menyimpan file konfigurasi diubah dari editor teks Anda dan akan kemudian akan siap untuk digunakan dalam instalasi seperti yang dijelaskan di bawah ini.
2 Boot the Machine 7,2 Boot Machine
It is simplest to use a floppy disk to boot your clients ready for installation. Everything you need is provided for you on the Redhat CDs as follows: Hal ini sederhana untuk menggunakan floppy disk untuk boot klien Anda siap untuk instalasi. Segala sesuatu yang Anda butuhkan adalah disediakan untuk Anda di CD Redhat sebagai berikut:
1.If you have not already created a boot floppy then do it now (you only need to do this step once, when you have a boot floppy you can install as many machines as you like with a single floppy): Jika Anda belum membuat boot floppy kemudian melakukannya sekarang (anda hanya perlu melakukan langkah ini sekali, bila Anda memiliki disket boot, Anda dapat menginstal mesin sebanyak yang Anda suka dengan satu floppy):
Locate the floppy image that you need to use. Cari floppy image yang Anda perlukan untuk menggunakan. This is on the first Redhat CD and is at images/bootnet.img Ini adalah Redhat pertama CD dan ada di images/bootnet.img
From the images directory on the CD copy the image to your floppy disk (make sure you have one inserted in the drive, but not mounted) using the following command: Dari images direktori pada CD salin foto ke floppy disk Anda (pastikan Anda memiliki satu dimasukkan ke dalam drive, tapi tidak di-mount) dengan menggunakan perintah berikut:
dd if=bootnet.img of=/dev/fd0 dd if = bootnet.img of = / dev/fd0
2.If you are doing an automated install (with the config file) then you should follow this step (otherwise skip to next step): Jika Anda melakukan instalasi otomatis (dengan file konfigurasi) maka Anda harus mengikuti langkah ini (jika tidak melompat ke langkah berikutnya):
Mount your floppy disk Mount floppy disk
mount /mnt/floppy mount / mnt / floppy
Copy your config file to the root directory of the floppy with the name ks.cfg Salin file konfigurasi anda ke direktori root floppy dengan nama ks.cfg
cp /path/to/file /mnt/floppy cp / path / ke / file / mnt / floppy
Umount your floppy disk Umount floppy disk
umount /mnt/floppy umount / mnt / floppy
3.Insert your floppy disk into the client machine that you want to install Redhat on. Masukkan floppy disk anda ke dalam mesin klien yang anda ingin menginstal Redhat di. Make sure that the floppy disk is in the boot list of your BIOS and turn on your machine to boot from the floppy. Pastikan bahwa floppy disk dalam daftar boot BIOS anda dan mengaktifkan komputer anda untuk boot dari floppy.
4.At the boot prompt: Pada prompt boot:
If you are doing an automated install: Jika Anda melakukan instalasi otomatis:
linux ks=floppy linux ks = floppy
If you're not using config files then press ENTER for the default installation Jika Anda tidak menggunakan file config kemudian tekan ENTER untuk instalasi default
5.Finish the installation: Menyelesaikan instalasi:
If you are doing an automated install then you must complete any parts of the configuration process that you have missed in the config file. Jika Anda melakukan instal otomatis maka Anda harus melengkapi setiap bagian dari proses konfigurasi yang telah Anda terjawab dalam file config. If you have a complete config file then you're done so go get yourself a cup of something nice and wait for your install to finish. Jika Anda memiliki file konfigurasi yang lengkap maka Anda sudah selesai sehingga pergi mendapatkan diri Anda secangkir sesuatu yang menyenangkan dan menunggu Anda untuk menyelesaikan instalasi.
If you are doing a manual install then you must complete the installation in the normal way, going through each menu of the Redhat install program and selecting the options you require for your machine. When you finish then it's time for a cup of something nice, no need to swap install media here. Jika Anda melakukan instalasi manual maka Anda harus menyelesaikan pemasangan dengan cara biasa, akan melalui setiap menu instalasi Redhat program dan memilih pilihan yang Anda butuhkan untuk mesin Anda. Setelah Anda selesai maka saatnya untuk minum sesuatu yang baik, tidak perlu menginstal swap media di sini.
Further Boot Options Lebih lanjut Boot Pilihan
This is an extension to the technique used to boot client machines for automatic installations as described above. Ini adalah perluasan ke teknik yang digunakan untuk boot mesin klien untuk instalasi otomatis seperti yang dijelaskan di atas. You should try this method if you have tried and failed with the method above. Anda harus mencoba metode ini jika Anda telah mencoba dan gagal dengan metode di atas. This section should help you if you have had network connection problems during boot, for example, if you do not have a network card supported by the floppy boot disk. Bagian ini akan membantu Anda jika Anda memiliki koneksi jaringan masalah selama boot, misalnya, jika Anda tidak memiliki kartu jaringan yang didukung oleh boot floppy disk.
You can create a second floppy disk to use in the boot process which contains extra drivers for network cards. Anda dapat membuat kedua disket untuk digunakan dalam proses boot tambahan yang berisi driver untuk kartu jaringan. This can then be read on boot and the drivers loaded for your card from there instead. Ini kemudian dapat dibaca pada saat boot dan load driver untuk kartu dari sana saja. This is done as follows: Hal ini dilakukan sebagai berikut:
1.In the images directory on your CD you should find a file called drvnet.img . Dalam images direktori pada CD Anda harus mencari file bernama drvnet.img
2.From the images directory on your CD, copy the file to a different floppy disk with the command: Dari images direktori pada CD anda, salin file ke disket yang berbeda dengan perintah:
3.dd if=drvnet.img of=/dev/fd0 dd if = drvnet.img of = / dev/fd0
Again, make sure your floppy disk is not mounted when you run this command. Sekali lagi, pastikan disket Anda tidak di-mount ketika Anda menjalankan perintah ini.
4.Now you have a network driver floppy disk. Sekarang Anda memiliki disket driver jaringan. You should return to your installation as described above but now add the keyword dd to your command line. Anda harus kembali ke instalasi anda seperti dijelaskan di atas, tetapi sekarang menambahkan kata kunci dd baris perintah Anda.
So for automated intall we type: Jadi untuk intall otomatis kita ketik:
linux dd ks=floppy dd linux ks = floppy
For manual install we type: Manual menginstal kita ketik:
linux dd linux dd
5.When prompted if you have a driver disk, select YES . Ketika diminta jika Anda memiliki disk driver, pilih YES Then swap the boot disk for your driver disk and the extra drivers will load and detect your network card. Kemudian swap disk untuk boot disk dan driver driver tambahan akan memuat dan mendeteksi kartu jaringan Anda.
6.You should now continue with the installation as described above. Anda sekarang harus melanjutkan dengan instalasi seperti yang dijelaskan di ata
This section explains how to set up your server machine to be an install server for Redhat Linux. Bagian ini menjelaskan cara mengatur mesin server anda menjadi server untuk menginstal Redhat Linux. You can set up any Linux distribution to be a Redhat install server, this machine does not necessarily have to be running Redhat. Anda dapat mengatur apapun distribusi Linux untuk menjadi menginstal Redhat server, mesin ini tidak perlu harus menjalankan Redhat.
This guide starts from the point where you have a machine installed with Linux which is already up and running and connected to your network. Panduan ini dimulai dari titik di mana Anda memiliki mesin diinstal dengan Linux yang sudah bangun dan berjalan dan terhubung ke jaringan anda. If you require help with installing Linux on your server then please consult the Further Information section of this HOWTO in Appendix A . Jika Anda memerlukan bantuan dengan menginstal Linux di server Anda maka silakan membaca bagian Informasi lebih lanjut HOWTO ini dalam Lampiran A.
1 Setting Up Filespace Menyiapkan 6,1 filespace
In order for your server to act as a Redhat network install server you will need to put on all the required data that will be needed to perform a full installation of the Redhat version you are serving. Agar server Anda untuk bertindak sebagai jaringan Redhat menginstal server yang Anda akan perlu untuk memasukkan semua data yang dibutuhkan yang akan dibutuhkan untuk melakukan instalasi penuh dari versi Redhat melayani Anda. For example, if you are used to installing Redhat using CDs then you will need space on your server to copy ALL the contents of each CD onto your server. Sebagai contoh, jika Anda digunakan untuk menginstal Redhat menggunakan CD maka Anda akan membutuhkan ruang pada server Anda SEMUA untuk menyalin isi dari setiap CD ke server Anda.
So, before you even think about setting up your machine as an install server, you must check that you have the required space available. Jadi, sebelum Anda berpikir tentang pengaturan mesin anda sebagai server menginstal, Anda harus memeriksa bahwa Anda memiliki ruang yang dibutuhkan tersedia. This sounds like a trivial thing to check but it is very important and easily forgotten when you're setting up. Ini kedengarannya seperti hal yang sepele untuk memeriksa tapi sangat penting dan mudah terlupakan ketika Anda sedang menyiapkan.
How much space will you need? Berapa banyak ruang yang akan Anda butuhkan?
A guide for the amount of space that you will require will be the amount or space of install media that you are intending to copy from later. Petunjuk Untuk jumlah ruang yang akan Anda akan memerlukan jumlah atau ruang menginstal media yang Anda berniat untuk menyalin dari kemudian. This might be one of the following examples: Ini mungkin salah satu contoh berikut:
Number of CDs x 650Mb Jumlah CD x 650Mb
Number of ISO images x 650Mb Jumlah ISO images x 650Mb
How much space do you have? Berapa banyak ruang yang Anda miliki?
You will need the appropriate amount of space available to your system on some local filesystem. Anda akan memerlukan jumlah yang sesuai ruang yang tersedia untuk sistem Anda pada beberapa filesystem lokal. It does not matter what form this takes, whether it's a RAID device, local disk (either SCSI or IDE), etc. Ensure that the space you intend to use is formatted with your chosen filesystem and is mounted. Tidak peduli bentuk apa yang diperlukan, entah itu sebuah perangkat RAID, disk lokal (baik SCSI atau IDE), dll ruang Pastikan bahwa Anda berniat untuk menggunakan diformat dengan filesystem yang dipilih dan di-mount.
You can check this space with the command: Anda dapat memeriksa ruang ini dengan perintah:
df -h df-h
If this output shows you have enough space to copy your install media then great, you can continue installation. Jika output ini menunjukkan bahwa Anda memiliki cukup ruang untuk menyalin media kemudian menginstal besar, Anda dapat melanjutkan instalasi. If not then it's time to think about an upgrade to your intended server machine! Jika tidak maka sudah saatnya untuk berpikir tentang upgrade ke mesin server yang Anda maksudkan!
2 Copy Installation Media 6,2 Salin Media Instalasi
Once you know you have enough space available it's time to start copying your install media to your chosen filesystem and directory. Setelah Anda tahu bahwa Anda memiliki cukup ruang yang tersedia sudah waktunya untuk mulai menyalin media instalasi Anda ke filesystem dan direktori yang dipilih. For the purposes of this HOWTO we will use the following example to represent the directory from which our install server will be setup and running: Untuk keperluan HOWTO ini kita akan menggunakan contoh berikut untuk mewakili direktori dari server yang kita akan menginstal setup dan menjalankan:
/install / install
Copy your install media to /install . Salin Anda media untuk menginstal /install The following example shows you how to do this for copying your Redhat CD images to /install : Contoh berikut menunjukkan kepada Anda bagaimana untuk melakukan hal ini untuk menyalin gambar CD Redhat anda ke /install
1.Mount your CD Mount CD
eg mount /mnt/cdrom misalnya mount /mnt/cdrom
2.Copy the data from CD Copy data dari CD
eg cp -av /mnt/cdrom /install misalnya cp -av /mnt/cdrom /install
3.Unmount the CD Unmount CD
eg umount /mnt/cdrom misalnya umount /mnt/cdrom
4.Now swap CDs and repeat from step 1 for each of your CDs you have. Sekarang swap CD dan ulangi dari langkah 1 untuk setiap CD yang anda miliki.
3 Enable Remote Access 6,3 Aktifkan Remote Access
Time to make your install data available to other machines on the network. Redhat can be installed over the network using NFS, HTTP and FTP protocols. You can select which of these will be used at install time on the client. Waktu untuk membuat data instalasi anda tersedia untuk komputer lain pada jaringan. Redhat dapat diinstal melalui jaringan menggunakan NFS, HTTP dan protokol FTP. Anda dapat memilih mana yang akan digunakan pada waktu menginstal di klien. If one of the services is not setup on the machine then it will still be available for selection by the client but the install will not work. Jika salah satu layanan ini tidak setup pada mesin maka akan tetap tersedia untuk seleksi oleh klien tetapi instalasi tidak akan bekerja. Therefore, it is either best to enable all three services on your server (so they all work on each client machine) or if you don't enable all three then advertise the fact very well and say which service should be used for your particular install server. Oleh karena itu, baik yang terbaik untuk mengaktifkan layanan ketiga pada server Anda (sehingga mereka semua bekerja pada setiap mesin klien) atau jika anda tidak mengaktifkan ketiga kemudian mengiklankan sebenarnya sangat baik dan mengatakan layanan mana yang harus digunakan untuk menginstal khusus Anda server.
NFS NFS
The NFS protocol is the only one which will work with the graphical install method of Redhat when installing your client machine. NFS protokol adalah satu-satunya yang akan bekerja dengan metode instalasi grafis Redhat ketika menginstal mesin klien Anda. Therefore, if you want to do graphical (as opposed to text based) installations then you must enable this service on your server. Oleh karena itu, jika Anda ingin melakukan grafis (sebagai lawan berbasis teks) instalasi maka anda harus mengaktifkan layanan ini pada server Anda.
To install over NFS you need to meet certain conditions on the server: Untuk menginstal melalui NFS, Anda harus memenuhi syarat-syarat tertentu pada server:
Your install directory is exported Direktori menginstal Anda diekspor
NFS is installed and running NFS terinstal dan dijalankan
Portmap is running Portmap berjalan
To export your install directory edit the /etc/exports file and add an entry for /install to it. Untuk mengekspor direktori menginstal mengedit /etc/exports file dan tambahkan entri untuk /install untuk itu. In our example, we would use the folowing line: Dalam contoh ini, kita akan menggunakan baris folowing:
/install *(ro) / install * (ro)
When you have saved your exports file you must then get your NFS daemon to read its configuration file again in order to export the directory you just added. Do this by running the command: Bila Anda telah menyimpan file ekspor Anda harus kemudian mendapatkan daemon NFS Anda baca lagi file konfigurasi untuk mengekspor direktori saja anda tambahkan. Lakukan ini dengan menjalankan perintah:
exportfs -r exportfs-r
This gives us the most simple read-only export to all hosts on our network. Ini memberi kita yang paling sederhana hanya-baca ekspor ke semua host di jaringan kami. If you want to include more advanced options in your export eg only exporting to certain hosts on the network or a certain subnet, etc then see your man page for the exports file at exports (5). Jika Anda ingin memasukkan lebih banyak pilihan lanjutan dalam misalnya ekspor hanya mengekspor ke host tertentu pada jaringan atau subnet tertentu, dll kemudian melihat halaman manual untuk exports di ekspor (5).
FTP FTP
The FTP protocol will only allow text installs to be performed by your clients. This may or may not be ideal for your situation but bear it in mind. Protokol FTP hanya akan mengijinkan menginstall teks harus dilakukan oleh klien Anda. Hal ini mungkin atau mungkin tidak ideal untuk situasi anda, tetapi beruang itu dalam pikiran.
To install over FTP you need to allow FTP access to the directory that you have setup on the server as the installation directory. Untuk menginstal melalui FTP Anda perlu untuk memungkinkan akses FTP ke direktori yang telah Anda setup pada server sebagai direktori instalasi. This can be either anonymous FTP access or access through a named account with a password. Hal ini dapat berupa akses FTP anonim atau akses melalui account bernama sandi. Anonymous access is probably best unless you have a reason to protect your install server via a password. Akses anonim mungkin terbaik kecuali jika Anda memiliki alasan untuk melindungi Anda menginstal server melalui sebuah password.
If you want anonymous FTP to point to a different directory then you can use sym links to point to the directory that you have set up as the install directory on the server. Jika Anda ingin anonymous FTP untuk menunjuk pada sebuah direktori yang berbeda maka anda dapat menggunakan link sym untuk menunjuk ke direktori yang telah ditetapkan sebagai direktori install pada server. This will allow FTP into a chrooted environment but still give you access to the install images in a different location. Ini akan memungkinkan FTP ke lingkungan chroot tetapi masih memberikan Anda akses ke gambar instalasi di lokasi yang berbeda.
HTTP HTTP
Similarly to the FTP protocol, HTTP will only allow text installs on the client side. Demikian juga dengan protokol FTP, HTTP hanya akan mengijinkan menginstal teks di sisi klien. If you have a web server running and want to enable HTTP access to your install server then add sym links from your document root to the install server directory and this will grant access. Jika Anda memiliki web server berjalan dan ingin mengaktifkan akses ke HTTP server instal sym kemudian menambahkan link dari akar dokumen Anda ke direktori server menginstal dan ini akan memberikan akses. If you are not familiar with web servers or are not comfortable with this approach then leave out HTTP access from your install server as it provides no benefits over NFS or FTP installs which may be simpler to set up. Jika Anda tidak terbiasa dengan web server atau tidak nyaman dengan pendekatan ini kemudian pergi keluar HTTP akses dari server instalasi Anda tidak memberikan manfaat atas menginstall NFS atau FTP yang dapat mudah untuk mengatur.
If you do choose to use HTTP then basically all you have to do is make the install directory visible to your web server by making it appear under the document root by some means. Jika Anda memilih untuk menggunakan HTTP maka pada dasarnya semua yang harus Anda lakukan adalah membuat direktori instalasi terlihat ke server web Anda dengan membuatnya muncul di bawah akar dokumen dengan beberapa cara.
You have now completed the basic setup of your install server. Anda sekarang telah menyelesaikan konfigurasi dasar menginstal server Anda.
4 Package Customisation Paket 6,4 penyesuaian
You can, if you wish, add your own packages to the Redhat distribution so that they are installed along with Redhat over the network when you install your clients. Anda bisa, jika anda ingin, tambahkan paket Anda sendiri dengan distribusi Redhat sehingga mereka diinstal bersama dengan Redhat melalui jaringan ketika anda menginstal klien Anda. The advantage of this is that you don't have to spend time configuring each machine for packages that you may want installed that are not included with Redhat. Keuntungan dari ini adalah bahwa Anda tidak perlu menghabiskan waktu konfigurasi setiap mesin untuk paket-paket yang Anda mungkin ingin menginstal yang tidak disertakan dengan Redhat. Examples of this might be your own RPM packages that you have created or some specialised package. Contoh ini mungkin Anda sendiri paket RPM yang telah Anda buat atau beberapa paket khusus.
Make sure you have the anaconda-runtime package installed on your server. Pastikan Anda memiliki anaconda-runtime paket terinstal pada server Anda. This is normally installed if you're running Redhat but if you have another distribution on the server then you should be able to install the Redhat RPM without too much trouble. Hal ini biasanya dipasang jika Anda menjalankan Redhat tetapi jika Anda memiliki distribusi lain pada server, maka Anda harus dapat menginstal Redhat RPM tanpa terlalu banyak kesulitan. To check if you have the correct package enter the command Untuk memeriksa apakah Anda memiliki paket yang benar masukkan perintah
rpm -q anaconda-runtime rpm-q anaconda-runtime
If the name of the package is returned then you have it installed, if nothing is returned the install the RPM as required. Jika nama paket dikembalikan maka anda menginstalnya, jika tidak ada yang mengembalikan menginstal RPM yang diperlukan.
Now simply copy your RPM package files into the following directory Sekarang Anda cukup menyalin paket RPM file ke dalam direktori berikut
/install/Redhat/RPMS / install / Redhat / RPMS
This is the directory that should already contain all the Redhat standard RPMS for the Redhat version you have setup on your install server. Ini adalah direktori yang seharusnya sudah berisi semua standar Redhat RPMS untuk versi Redhat telah Anda setup pada server instalasi.
Once you have copied your custom RPMS you need to regenerate Redhat's list of packages that it can install. Sekali Anda telah menyalin kustom Anda RPMS Anda perlu untuk menumbuhkan Redhat daftar paket yang dapat menginstal. Do this using the following command: Lakukan ini dengan menggunakan perintah berikut:
/usr/lib/anaconda-runtime/genhdlist /install / usr / lib / anaconda-runtime / genhdlist / install
The directory used here of /install is the example directory we have been using so far. Direktori yang digunakan di sini dari /install adalah direktori contoh telah kita gunakan sejauh ini. Replace this with the directory where you copied the Redhat CD images to. Ganti ini dengan direktori di mana Anda menyalin gambar ke CD Redhat. The directory should be the base directory of the Redhat CD set ie the one that contains a subdirectory called Redhat before the directory called RPMS Harus direktori direktori dasar dari set CD Redhat yaitu satu yang berisi subdirektori bernama Redhat sebelum direktori yang disebut RPMS
Your custom RPM packages should now be available to the clients. Paket RPM kustom Anda sekarang harus tersedia bagi klien.
Further Customisation Penyesuaian lebih lanjut
In addition to adding your own RPMS to Redhat you can also create RPM groups for the installation process. Selain RPMS menambahkan Anda sendiri untuk Redhat Anda juga dapat membuat kelompok RPM untuk proses instalasi. These will be similar to the standard groups offered by the Redhat install already such as the "Software Development" group which will install all packages for this purpose onto your system. Ini akan mirip dengan kelompok standar yang ditawarkan oleh menginstal Redhat sudah seperti "Software Development" kelompok yang akan menginstal semua paket untuk tujuan ini ke sistem anda.
This allows quick installation of many RPMS for a specific purpose on your systems and the groups will become available like the normal Redhat groups (and are used in the same way) upon installation of the client. Hal ini memungkinkan instalasi yang cepat dari banyak RPMS untuk tujuan tertentu pada sistem anda dan kelompok akan tersedia seperti kelompok Redhat normal (dan digunakan dengan cara yang sama) setelah instalasi klien.
To create your own groups you must edit a text file called the comps file. Untuk membuat grup Anda sendiri, Anda harus mengedit file teks yang disebut comps file. In our example, this is located at: Dalam contoh kita, ini terletak di:
/install/Redhat/base/comps / install / RedHat / base / comps
Copy the syntax for the groups that are already in the file and you can create your own groupings. Salin sintaks untuk kelompok-kelompok yang sudah ada di dalam file dan Anda dapat membuat kelompok sendiri. These can include both packages from the standard Redhat install or any custom packages that you might have already added ie you can include any package in the RPMS directory. Ini dapat mencakup paket dari Redhat standar atau menginstal paket-paket kustom yang mungkin Anda telah menambahkan mis. anda dapat menyertakan paket apapun di RPMS direktori.
Once you have edited the file then save it back out over the original (it might be an idea to take a backup of the original but it will always be on your CD images anyway if you need it). Sekali Anda telah mengedit file kemudian simpan kembali di atas asli (mungkin ide untuk mengambil cadangan yang asli tetapi akan selalu berada di gambar CD Anda tetap jika Anda memerlukannya). You must now run the genhdlist command again as explained above. Anda sekarang harus menjalankan genhdlist kembali perintah seperti yang dijelaskan di atas.
Instal Redhat Client
You should have already decided by now using the Quick Guide section of this HOWTO whether you are going to install your machine using the automated process or a manual process. Anda harus telah memutuskan sekarang menggunakan Panduan Cepat bagian HOWTO ini apakah Anda akan menginstal mesin anda dengan menggunakan proses otomatis atau proses manual. The automated process under Redhat is known as Kickstart and in short provides you with a configuration file for the machine that you are going to install so that you can perform unattended installs of client machines. Proses otomatis di bawah Redhat dikenal sebagai Kickstart dan dalam menyediakan pendek dengan file konfigurasi mesin yang Anda akan menginstal sehingga Anda dapat melakukan menginstal klien tanpa perawatan mesin.
Create Kickstart Config Files 7,1 Buat File Config Kickstart
You only need to read/follow this section if you are intending to use an automated install process, if you intend to do a manual installation over your network then skip this section. Anda hanya perlu membaca / mengikuti bagian ini jika anda berkeinginan untuk menggunakan proses instalasi secara otomatis, jika Anda bermaksud untuk melakukan instalasi manual di jaringan anda melewatkan bagian ini. Here we go through the process of creating configuration files that the installer will read in order to create the configuration of our client machine we are installing during an unattended network installation. Di sini kita melalui proses yang menciptakan file konfigurasi installer akan membaca dalam rangka menciptakan konfigurasi mesin klien kami, kami menginstal selama instalasi jaringan yang tidak dijaga.
Kickstart Configurator Installation Kickstart Configurator Instalasi
In order to start creating your config files you will need to install the Kickstart Configurator on your Linux machine. Dalam rangka untuk mulai membuat file konfigurasi anda perlu menginstal Kickstart Configurator pada mesin Linux Anda. You will need one of two RPMS for this depending on the version of Redhat you are using. Anda akan memerlukan salah satu dari dua RPMS untuk ini tergantung pada versi Redhat yang Anda gunakan. These RPMS are available on your Redhat install CDs as follows: RPMS ini tersedia pada CD instalasi Redhat Anda sebagai berikut:
redhat-config-kickstart - for versions 8.x and above redhat-config-kickstart - untuk versi 8.x dan di atas
ksconfig - for earlier versions ksconfig - untuk versi sebelumnya
Check to see if you already have them installed with the command: Periksa untuk melihat apakah Anda sudah memiliki mereka terinstal dengan perintah:
rpm -q {rpm package name} rpm-q (nama paket rpm)
If these packages are not installed then install with the command: Jika paket tersebut tidak terinstal kemudian instal dengan perintah:
rpm -Uvh {rpm package name} rpm-Uvh nama paket rpm ()
Create A Basic Config File Buat Dasar File Config
Once you have confirmed that you have the configurator packages installed, you can now start to create configuration files. Setelah Anda mengkonfirmasi bahwa Anda memiliki paket configurator terinstal, sekarang anda dapat mulai untuk menciptakan file konfigurasi. For most situations the basic configuration described here will be sufficient to perform your installations. Bagi kebanyakan situasi konfigurasi dasar yang dijelaskan di sini akan cukup untuk melakukan instalasi Anda.
Start the Kickstart configuration program that you have on your system. Buat halaman konfigurasi Kickstart program yang Anda miliki di sistem anda. This will be done with the command redhad-config-kickstart for Redhat 8.x systems and above (or if you have the redhat-config-kickstart RPM installed), or the command ksconfig for other Redhat systems (or if you have the ksconfig RPM installed). Ini akan dilakukan dengan perintah redhad-config-kickstart untuk sistem 8.x Redhat dan di atas (atau jika Anda memiliki redhat-config-Kickstart RPM diinstal), atau perintah ksconfig sistem Redhat lain (atau jika Anda memiliki ksconfig RPM diinstal).
You will now be presented with a window that allows you to configure most of your installation options as if you were installing a new machine or performing an upgrade. Anda akan disajikan dengan sebuah jendela yang memungkinkan Anda untuk mengkonfigurasikan sebagian besar pilihan instalasi anda seolah-olah Anda sedang memasang mesin baru atau melakukan upgrade. You can proceed through each menu, configuring your options for a particular system or set of similar systems that you wish to automatically install. Anda dapat dilanjutkan melalui setiap menu, pilihan untuk mengkonfigurasi sistem tertentu atau seperangkat sistem serupa yang ingin Anda menginstal secara otomatis.
Once you have progressed through each configuration screen, you are ready to save out your configuration file to disk. NOTE: it is outside the boundaries of this document to take you through each configuration option for installation, we are just concerned with the principles of network installs here. Sekali Anda telah mengalami kemajuan melalui konfigurasi masing-masing layar, Anda siap untuk keluar Anda menyimpan file konfigurasi ke disk. CATATAN: itu adalah di luar batas-batas dari dokumen ini untuk membawa Anda melalui setiap opsi konfigurasi untuk instalasi, kita hanya prihatin dengan prinsip-prinsip jaringan menginstall di sini. Please consult your Redhat documentation or the Redhat Website for this information. Click the " save " button and choose a location on your system to store configuration files. Silakan Redhat dokumentasi Anda atau Redhat Situs Web untuk informasi ini. Klik tombol save tombol dan pilih lokasi di sistem anda untuk menyimpan file-file konfigurasi. If you are creating lots of different configurations then it might be worthwhile creating your own configuration repository - don't forget to name the files sensibly so you know which is which. Jika Anda membuat banyak konfigurasi yang berbeda, maka ini bisa bermanfaat untuk menciptakan konfigurasi anda sendiri repositori - jangan lupa untuk nama file yang masuk akal sehingga Anda tahu mana yang mana.
Advanced Config File Setup Advanced Config File Setup
Before attempting advanced configuration please make sure that you have first created a valid basic configuration file as described above . It is perfectly possible to create your own configuration files from scratch but it is far easier to use the tools provided to do the job for you! Konfigurasi lanjutan sebelum mencoba pastikan bahwa Anda memiliki yang valid pertama kali membuat file konfigurasi dasar seperti dijelaskan di atas. Sangat mungkin untuk menciptakan file konfigurasi anda sendiri dari awal tetapi jauh lebih mudah untuk menggunakan alat-alat yang disediakan untuk melakukan pekerjaan untuk Anda!
Once you have your configuration file saved, you can open it in your favourite text editor. You can use or modify any of the existing tags in your file, just so long as the tags, options, and syntax you use are legal. Setelah konfigurasi anda sudah memiliki file yang disimpan, Anda dapat membukanya di editor teks favorit Anda. Anda dapat menggunakan atau memodifikasi setiap tag yang ada dalam file Anda, hanya selama tag, opsi, dan sintaks yang Anda gunakan adalah legal. Once you have edited the file manually then save it back out in text format again. Sekali Anda telah mengedit file secara manual kemudian menyimpan kembali dalam format teks lagi.
The best use of editing the configuration file manually is probably for adding your own customised packages to the installation. Penggunaan terbaik mengedit file konfigurasi secara manual mungkin untuk menambahkan Anda sendiri paket disesuaikan dengan instalasi. Back in the Redhat Server Setup section we describe how to add your own customised packages to your install server. Kembali ke Setup Server Redhat bagian ini kami menjelaskan cara untuk menambahkan paket disesuaikan sendiri untuk menginstal server Anda. Here, we describe how to access those packages using the configuration file so they can be automatically installed with the rest of the system. Di sini, kami menjelaskan cara untuk mengakses paket-paket dengan menggunakan file konfigurasi sehingga mereka dapat secara otomatis diinstal dengan seluruh sistem.
You should be able to locate a packages section in your basic configuration file in your editor. Anda harus dapat menemukan packages bagian dalam file konfigurasi dasar dalam editor anda. You can add extra packages by name as you require to the end of this list of packages. Anda dapat menambahkan paket tambahan dengan namanya sebagai yang Anda perlukan untuk akhir daftar paket. Follow the format of the other packages that you have listed in the file already from the basic configuration. Packages that start with @ are package group names. Ikuti format paket-paket lain yang telah terdaftar dalam file sudah dari konfigurasi dasar. Paket-paket yang dimulai dengan @ adalah nama grup paket. You can use any of the default Redhat package groups or you can use any custom groups you may have created. Anda dapat menggunakan salah satu paket RedHat default kelompok atau Anda dapat menggunakan grup kustom Anda mungkin telah dibuat.
You can add as many packages and groups under the packages section as you wish. Anda dapat menambahkan sebanyak paket dan kelompok di bawah packages bagian yang Anda inginkan. Just put one package on each line and follow the format already provided. Hanya menempatkan satu paket pada setiap baris dan mengikuti format yang sudah disediakan.
Save your modified configuration file from your text editor and it will then be ready to use in your installations as described below. Menyimpan file konfigurasi diubah dari editor teks Anda dan akan kemudian akan siap untuk digunakan dalam instalasi seperti yang dijelaskan di bawah ini.
2 Boot the Machine 7,2 Boot Machine
It is simplest to use a floppy disk to boot your clients ready for installation. Everything you need is provided for you on the Redhat CDs as follows: Hal ini sederhana untuk menggunakan floppy disk untuk boot klien Anda siap untuk instalasi. Segala sesuatu yang Anda butuhkan adalah disediakan untuk Anda di CD Redhat sebagai berikut:
1.If you have not already created a boot floppy then do it now (you only need to do this step once, when you have a boot floppy you can install as many machines as you like with a single floppy): Jika Anda belum membuat boot floppy kemudian melakukannya sekarang (anda hanya perlu melakukan langkah ini sekali, bila Anda memiliki disket boot, Anda dapat menginstal mesin sebanyak yang Anda suka dengan satu floppy):
Locate the floppy image that you need to use. Cari floppy image yang Anda perlukan untuk menggunakan. This is on the first Redhat CD and is at images/bootnet.img Ini adalah Redhat pertama CD dan ada di images/bootnet.img
From the images directory on the CD copy the image to your floppy disk (make sure you have one inserted in the drive, but not mounted) using the following command: Dari images direktori pada CD salin foto ke floppy disk Anda (pastikan Anda memiliki satu dimasukkan ke dalam drive, tapi tidak di-mount) dengan menggunakan perintah berikut:
dd if=bootnet.img of=/dev/fd0 dd if = bootnet.img of = / dev/fd0
2.If you are doing an automated install (with the config file) then you should follow this step (otherwise skip to next step): Jika Anda melakukan instalasi otomatis (dengan file konfigurasi) maka Anda harus mengikuti langkah ini (jika tidak melompat ke langkah berikutnya):
Mount your floppy disk Mount floppy disk
mount /mnt/floppy mount / mnt / floppy
Copy your config file to the root directory of the floppy with the name ks.cfg Salin file konfigurasi anda ke direktori root floppy dengan nama ks.cfg
cp /path/to/file /mnt/floppy cp / path / ke / file / mnt / floppy
Umount your floppy disk Umount floppy disk
umount /mnt/floppy umount / mnt / floppy
3.Insert your floppy disk into the client machine that you want to install Redhat on. Masukkan floppy disk anda ke dalam mesin klien yang anda ingin menginstal Redhat di. Make sure that the floppy disk is in the boot list of your BIOS and turn on your machine to boot from the floppy. Pastikan bahwa floppy disk dalam daftar boot BIOS anda dan mengaktifkan komputer anda untuk boot dari floppy.
4.At the boot prompt: Pada prompt boot:
If you are doing an automated install: Jika Anda melakukan instalasi otomatis:
linux ks=floppy linux ks = floppy
If you're not using config files then press ENTER for the default installation Jika Anda tidak menggunakan file config kemudian tekan ENTER untuk instalasi default
5.Finish the installation: Menyelesaikan instalasi:
If you are doing an automated install then you must complete any parts of the configuration process that you have missed in the config file. Jika Anda melakukan instal otomatis maka Anda harus melengkapi setiap bagian dari proses konfigurasi yang telah Anda terjawab dalam file config. If you have a complete config file then you're done so go get yourself a cup of something nice and wait for your install to finish. Jika Anda memiliki file konfigurasi yang lengkap maka Anda sudah selesai sehingga pergi mendapatkan diri Anda secangkir sesuatu yang menyenangkan dan menunggu Anda untuk menyelesaikan instalasi.
If you are doing a manual install then you must complete the installation in the normal way, going through each menu of the Redhat install program and selecting the options you require for your machine. When you finish then it's time for a cup of something nice, no need to swap install media here. Jika Anda melakukan instalasi manual maka Anda harus menyelesaikan pemasangan dengan cara biasa, akan melalui setiap menu instalasi Redhat program dan memilih pilihan yang Anda butuhkan untuk mesin Anda. Setelah Anda selesai maka saatnya untuk minum sesuatu yang baik, tidak perlu menginstal swap media di sini.
Further Boot Options Lebih lanjut Boot Pilihan
This is an extension to the technique used to boot client machines for automatic installations as described above. Ini adalah perluasan ke teknik yang digunakan untuk boot mesin klien untuk instalasi otomatis seperti yang dijelaskan di atas. You should try this method if you have tried and failed with the method above. Anda harus mencoba metode ini jika Anda telah mencoba dan gagal dengan metode di atas. This section should help you if you have had network connection problems during boot, for example, if you do not have a network card supported by the floppy boot disk. Bagian ini akan membantu Anda jika Anda memiliki koneksi jaringan masalah selama boot, misalnya, jika Anda tidak memiliki kartu jaringan yang didukung oleh boot floppy disk.
You can create a second floppy disk to use in the boot process which contains extra drivers for network cards. Anda dapat membuat kedua disket untuk digunakan dalam proses boot tambahan yang berisi driver untuk kartu jaringan. This can then be read on boot and the drivers loaded for your card from there instead. Ini kemudian dapat dibaca pada saat boot dan load driver untuk kartu dari sana saja. This is done as follows: Hal ini dilakukan sebagai berikut:
1.In the images directory on your CD you should find a file called drvnet.img . Dalam images direktori pada CD Anda harus mencari file bernama drvnet.img
2.From the images directory on your CD, copy the file to a different floppy disk with the command: Dari images direktori pada CD anda, salin file ke disket yang berbeda dengan perintah:
3.dd if=drvnet.img of=/dev/fd0 dd if = drvnet.img of = / dev/fd0
Again, make sure your floppy disk is not mounted when you run this command. Sekali lagi, pastikan disket Anda tidak di-mount ketika Anda menjalankan perintah ini.
4.Now you have a network driver floppy disk. Sekarang Anda memiliki disket driver jaringan. You should return to your installation as described above but now add the keyword dd to your command line. Anda harus kembali ke instalasi anda seperti dijelaskan di atas, tetapi sekarang menambahkan kata kunci dd baris perintah Anda.
So for automated intall we type: Jadi untuk intall otomatis kita ketik:
linux dd ks=floppy dd linux ks = floppy
For manual install we type: Manual menginstal kita ketik:
linux dd linux dd
5.When prompted if you have a driver disk, select YES . Ketika diminta jika Anda memiliki disk driver, pilih YES Then swap the boot disk for your driver disk and the extra drivers will load and detect your network card. Kemudian swap disk untuk boot disk dan driver driver tambahan akan memuat dan mendeteksi kartu jaringan Anda.
6.You should now continue with the installation as described above. Anda sekarang harus melanjutkan dengan instalasi seperti yang dijelaskan di ata

0 komentar:
Posting Komentar