You are on page 1of 25

Pendahuluan Instalasi Slackware

Anton Rahmadi. 4 Desember 2006. Versi 1.6. Sebelum memulai instalasi, ada baiknya kita review langkah-langkah sebuah komputer bekerja. Ini akan sangat membantu pengenalan proses instalasi kita.

Figure 1 Tahapan inisiasi komputer dari awal proses booting hingga siap digunakan

Komputer akan menjalankan program inisiasi BIOS (Pre Operating System Test) kemudian akan membaca urutan lokasi boot sesuai dengan yang diset di BIOS. Lalu dari setiap media boot, akan dicari boot loadernya. Setiap Boot loader akan mencari kernel dan menjalankannya. Kernel akan mendeteksi hardware, kemudian service atau aplikasi di belakang layar akan diaktfikan. Kemudian fasilitas input dari user yang disebut dengan Shell baik bersifat GUI maupun teks akan diaktifkan. Selanjutnya aplikasi baru dapat dijalankan setelah menerima perintah dari user.

Konfigurasi BIOS
Di dalam konfigurasi BIOS, setidaknya terdapat 6 buah menu utama, namun semuanya tergantung dari jenis BIOS yang digunakan. Dalam hal ini, menu BIOS disimulasikan dengan Main, Advanced, Security, Power, dan Boot selain Exit. Menu

Anton Rahmadi

halaman 1

yang diubah pada pembahasan ini adalah bagian Boot, atau bagian yang berkaitan dengan urut-urutan media boot yang akan dibaca oleh POST setelah komputer diaktifkan.
BIOS Setup Utility
Main Advanced Security Power Boot Exit

ATAPI CD-ROM Drive Hard Drive Removable Devices

Figure 2 Pemilihan lokasi boot

Pada konfigurasi BIOS, dikarenakan instalasi akan dilakukan menggunakan CDROM untuk instalasinya, maka pada bagian BOOT harus diset agar dapat booting menggunakan CD-ROM.

Boot
Dalam memulai sebuah instasli Slackware, Pada saat komputer diaktifkan, masukkan CDROM Slackware 11.0 (kompatibilitas ke belakang dari Slackware 9.0 10.2). Apabila urutan boot-nya benar, maka dari CD-ROM akan diminta pilihan kernel Slackware untuk dipergunakan sesuai dengan konfigurasi perangkat kerasnya.
Welcome . . . .

Kernel Selection Help

Youll need one kernel to got Linux started on your system so that you can install it. Because of the possibility of collisions between vaious Linus drivers, several kernels have been provided. You should use the one with the least driver possible to maximize your chances of success If you have no idea which kernel to use, try one of these If you have a IDE system choose bare.i or bareacpi.i If you have SCSI choose adaptec.s, scsi.s, scsi2.s, or scsi3.s Boot:

Figure 3 Pemilihan Kernel saat Instalasi

Pilih tipe kernel pada saat instalasi adalah sebagai berikut : 1. Untuk komputer-komputer rakitan dengan tipe harddisk IDE, langsung digunakan [enter]. Atau dapat dipilih juga salah satu dari alternatif : a. bare.i (tanpa fasilitas manajemen power seperti shutdown otomatis), b. bareacpi.i (dengan fasilitas manajemen power),

Anton Rahmadi

halaman 2

c. sata.i untuk harddisk bertipe SATA (kompatible untuk versi 10.2 dan 11.0) 2. Untuk komputer-komputer bertipe server dengan harddisk SCSI harus digunakan beberapa alternatif berikut: a. adaptec.s untuk kontroler SCSI buatan Adaptec, umumnya, server-server buatan HP/Compaq. b. raid.s untuk kontroler SCSI yang mendukung RAID, umumnya, server-server buatan IBM. c. scsi.s, scsi2.s, atau scsi3.s untuk kontroler SCSI lainnya, umumnya, serverserver berbasis Intel Entry Server Motherboard. 3. Pada mesin-mesin khusus lainnya, informasi lebih jelasnya dapat dilihat dengan menekan tombol F3. Lebih lanjut, apabila terdapat error saat instalasi ataupun boot loader mengalami crash, maka booting ulang dapat dilakukan melalui CD lagi, dan memilih kernel yang sesuai. Namun opsi ini harus diikuti dengan menentukan lokasi direktori root dalam partisi harddisk yang sesuai, serta menggunakan opsi noinitrd. Lebih lengkapnya dapat dilihat seperti berikut:
Boot: bare.i root=/dev/hda1 noinitrd

Perintah di atas maksudnya adalah pilih kernel bare.i dimana root direktorinya terletak pada harddisk IDE yang dipasangkan di primary master serta terletak pada partisi pertama. Opsi noinitrd artinya tidak memanggil modul-modul kernel lainnya secara langsung. Perintah yang mirip juga digunakan untuk harddisk bertipe SCSI misalnya:
Boot: adaptec.s root=/dev/sda1 noinitrd

Memilih Layout Keyboard dan Login pertama kali


Selanjutnya memasukkan pilihan keyboard (hanya digunakan bila keyboard tidak standar USA). Tekan [enter] untuk melanjutkan pada settingan default.
<OPTION TO LOAD SUPPORT FOR NON-US KEYBOARD>
If you are not using a US keyboard, you may now load a different keyboard map.

Anton Rahmadi

halaman 3

To select a different keyboard map, please enter 1 now. To continue using the US map, just hit enter. Enter 1 to select keyboard map: _ [enter]

Figure 4 Pemilihan keyboard

Selanjutnya kita dapat log-in dengan user root.


Welcome to the slackware Linux installation disk (version 11.0)
##### IMPORTANT! READ THE INFORMATION BELOW CAREFULLY ##### You will need one or more partitions of type Linux prepared. It is also recommended that you create a swap partition (type Linux Swap) prior to installation. For more information, run setup and read the help file. If youre having problems that you think might be related to low memory (this is possible on machines with 16 or less megabytes of system memory), you can try activating a swap partition before run setup. After making a swap partition (type 82) with cfdisk or fdisk, activate it like this: mkswap /dev/<partition> | swapon /dev/<partition> Once you have prepared the isk partition for Linux, type setup to begin the installation process. If you do not have a color monitor, type: TERM=vt100 before you start setup You may now login as root Slackware login: _ [enter]

Figure 5 Login pada saat instalasi

Anton Rahmadi

halaman 4

Melakukan Partisi harddisk


Proses berikutnya adalah partisi harddisk dengan perintah : cfdisk. Sebagai catatan, bila harddisk lebih dari satu, dapat dipilih sebagai berikut
Table 1Perintah partisi harddisk untuk berbagai lokasi harddisk
Perintah cfdisk /dev/hda cfdisk /dev/hdd cfdisk /dev/sda

Lokasi harddisk IDE channel 0 (Primary) Master IDE channel 1 (Secondary) Slave SCSI channel 0 (Primary) node 1

Apabila dimisalkan harddisk berada pada posisi SCSI node pertama, proses selanjutnya dapat dikerjakan dengan susunan perintah berikut :
root@shadow# cfdisk /dev/sda

cfdisk 2.12p
Disk drive: /dev/sda Size=2146798000 bytes, 2146 MB Head: 128 Sector per Track: 32 Cylinders: 1023 Name Flags Part Type Pri/Log FS Type Free Space [Label] Size (MB) 2146 [ Units ]

[ Help ] [ Write ]

[ New ]

[ Print ]

[ Quit ]

Figure 6 Melakukan partisi

Membuat partisi baru


[ New ] Membuat partisi baru

Menentukan tipe partisi


[ Primary ] [ Logical ] Membuat partisi bertipe primary Membuat partisi bertipe logical

Setelah memilih tipe partisi Primary, dilanjutkan dengan menentukan besar partisi yang akan dibuat
Size (in MB): 2000

Anton Rahmadi

halaman 5

Lalu buat pula sebuah partisi lagi untuk swap dengan mengikuti langkah diatas, setelah itu, [Type] : pilih tipe partisi 82 (Linux Swap). Selanjutnya menuliskan hasil proses dengan menggunakan write. Opsi lainnya yang penting diantaranya adalah menjadikannya dapat dipanggil saat komputer melakukan boot, menghapus partisi, mengubah tipe partisi.
[ Bootable ] [ Delete ] [ Type ] [ Write ] Membuat partisi ini dapat dipanggil saat boot Menghapus partisi yang dimaksud Mengganti format atau peruntukan partisi (misalnya untuk swap, atau menggunakan format pertisi tertentu yang didukung oleh Linux) Menyimpan hasil proses

Menuliskan yes pada konfirmasinya


Are you sure you want write the partition table to disk? (yes or no): yes

Jika benar, maka komputer akan melakukan penulisan pada harddisk dimaksud
Writing partition table to disk...

Jika benar, maka akan muncul tampilan seperti Gambar 5.


cfdisk 2.12
Disk drive: /dev/sda Size=2146798000 bytes, 2146 MB Head: 128 Sector per Track: 32 Cylinders: 1023 Name sda1 sda2 [Bootable] [Quit] Flags Boot Part Type Primary Primary [Help] [Units] FS Type Linux Linux Swap [Maximize] [Write] [Label] Size (MB) 2000.69 144.71

[Delete] [Type]

[Print]

Figure 7 Hasil konfigurasi partisi

Anton Rahmadi

halaman 6

Instalasi Slackware
Setelah partisi, kita dapat masuk ke instalasi Slackware-nya dengan cara mengetikkan : setup.
root@shadow# setup

Slackware Linux Setup (version 11.0)


Welcome to Slackware Linux Setup. Select an option below using the UP/DOWN keys and SPACE or ENTER. Alternate keys may also be used: +, -, and TAB. HELP Read the Slackware Setup HELP file KEYMAP Remap your keyboard if yourre not using a US one ADDSWAP Set up your swap partition(s) TARGET Set up your target partitions SOURCE Select source media SELECT Select categories of software to install INSTALL Install selected software CONFIGURE Reconfigure your Linux system EXIT Exit Slackware Linux Setup < OK > < Cancel >

Figure 8 Menu Setup Slackware versi 9 - 11

Virtual Memori
Pilihlah addswap untuk menambahkan dan mengaktifkan swap pertama kali.
SWAP SPACE DETECTED
Slackware Setup has detected a swap partition: Device Boot /dev/hda4 Start End 4801 Blocks 4865 Id System 522112+ 82 Linux swap

Do you wish to install this as your swap partition? < Yes > < No >

Figure 9 Pendeteksian swap/virtual memori

Di Slackware 11, terdapat opsi baru tentang pengecekan bad blocks untuk dilakukan (pilihan YES) atau diabaikan saja (pilihan NO). Ikuti saja perintah default-nya tersebut, karena bad blocks akan di cek secara otomatis menggunakan fasilitas SMART dari kontroler harddisk. Opsi ini tidak tampak di Slackware versi sebelumnya.

Anton Rahmadi

halaman 7

Map Partisi
Kemudian pilihlah Target untuk meletakkan lokasi file-file yang akan diinstall di harddisk.
Select Linux installation partition:
Please select a partition from the following list to use for your root (/) Linux partition. /dev/hda2 /dev/hda3 /dev/hda4 - - - - Linux Linux Linux (done (done 5863725 5863725 104984775 adding partitions, continue with setup) adding partitions, continue with setup) < Select > < Continue >

Figure 10 Menentukan lokasi mount partisi

Sebagai informasi, partisi Linux yang umum untuk digunakan dan dibagi secara terpisah adalah :
Table 2 Partisi Linux yang terpisah
Kegunaan Direktori Direktori Direktori Direktori Direktori Direktori Direktori inti (Root) konfigurasi instalasi tambahan data (web, database, cache, log, mail) pengguna boot temporer (ekstrak file, proses, file sedang diedit)

Lokasi / /etc /usr/local /var /home /boot /tmp

Agar lebih jelas mengenai struktur direktori di Linux yang masing-masing direktorinya dapat di pisahkan dalam tabel partisi di harddisk, dapat dilihat pada Gambar 11. Dalam sistem yang sangat besar, bisa saja /var/www/htdocs dipisahkan ke sebuah harddisk terpisah, begitu juga dengan direktori /var/lib/mysql.

Figure 11 Struktur direktori di Linux

Anton Rahmadi

halaman 8

Pemilihan Paket
Pilih lokasi file instalasi (dalam hal ini kita menggunakan CD-ROM, jadi pilihlah 1. Tekan [enter] untuk scan otomatis mencari paket yang akan diinstal.
SOURCE MEDIA SELECTION
Please select the media from which to install Slackware Linux: 1 2 3 4 Install Install Install Install from from from from a Slackware CD or DVD a hard drive partition NFS (Network File System) a pre-mounted directory < OK > < Cancel >

Figure 12 Memilih lokasi files instalasi Slackware

Seleksi grup files yang akan diinstalasi ke dalam harddisk. Dalam pembagian grup paket instalasi, Slackware membaginya dengan kategori-kategori yang mudah, seperti A, AP, D, L, dan N. Kelima grup yang disebut ini merupakan keharusan dalam menginstalasi server berbasis Slackware.
PACKAGE SERIES SELECTION
Now its time to select which general categories of software to install on your system. Use the spacebar to select or unselect the software you wish to install. You can use the up and down arrows to see all the possible choices. Recommended choices have been preselected. Press the ENTER key when you are finished. [X] [X] [X] [ ] [ ] [ ] [ ] [ ] [ ] [X] [X] [ [ [ [ ] ] ] ] A AP D E F GNOME K KDE KDEI L N T TCL X XAP Y Base Linux system Various Applications that do not need X Program Development (C, C++, Lisp, Perl, etc.) GNU Emacs FAQ lists, HOWTO documentation The GNOME desktop for X Linux kernel source Qt and the K Desktop Environment for X International language support for KDE Libraries. Dynamically linked libraries required by many other programs. Networking programs. Daemons, mail programs, telnet, news readers, and so on. teTeX document formatting system. The Tool Command Language. Tk, TclX, and TkDesk. The base X Window System. X Applications that are not part of a major desktop environment (for example, Ghostscript and Netscape). BSD Console games < OK > < Cancel >

[ ]

Figure 13 Paket-paket yang akan diinstalasi untuk tipe server berbasis teks.

Anton Rahmadi

halaman 9

Dalam grup A (Base Linux System), paket-paket seperti coreutils diletakkan. Paket ini merupakan kumpulan program untuk melakukan manajemen files seperti ls, mv, cp, cd, dan sebagainya. Grup AP (Various Application that do not need X) menyediakan paket-paket seperti editor, multimedia player, termasuk mysql dan sebagainya yang berbasis teks. Grup selanjutnya, D (development) menyediakan program-program untuk kepentingan pengembangan dan kompilasi seperti gcc, nasm, dan sejenisnya. Biasanya paket-paket tersebut akan mengambil beberapa libraries yang diinstalasikan dalam grup L (Libraries). Grup terakhir yang sangat penting adalah N (Networking Programs) yang menyimpan paket-paket seperti Apache, PHP, Inet Super Server dan Bind. Dalam melakukan instalasi yang sangat hemat spasi, dapat dipilih opsi custom ataupun expert, namun dikarenakan harddisk jama sekarang kapasitasnya sudah sangat besar, sehingga pilihan full yang akan memakan spasi 1,5 GB (GigaBytes) tidak akan ada artinya dibanding ukuran harddisk yang berkisar 36 GB ke atas (SCSI) ataupun 40 GB ke atas (IDE). Tentu saja sebagai coba-coba, dapat dialokasikan sebesar 4,0 GB dam Pilihlah tipe install Full untuk mempercepat prosesnya. Tunggulah biasanya hanya akan memakan spasi sebanyak 31% (sekitar 1,2 GB) untuk kelima grup paket tersebut. beberapa saat.
SELECT PROMPTING MODE
Now you must select the type of prompts youd like to see during the installation process. If you have the drive space, the full option is quick, easy, and by far the most foolproof choice. The newbie mode provides the most information but is much more time-consuming (presenting the packages one by one) than the menu-based choices. Otherwise, you can pick packages from menus using expert or menu mode. Which type of prompting would you like to use? full newbie menu expert custom tagpath help Install everything (almost 3 GB of software) Use verbose prompting (and follow tagfiles) Choose groups of packages from interactive menus Choose individual packages from interactive menus Use custom tagfiles in the package directories Use tagfiles in the subdirectories of a custom path Read the prompt mode help file < OK > < Cancel >

Figure 14 Pilihan mode install

Anton Rahmadi

halaman 10

Pemilihan Kernel
KERNEL LINUX INSTALLATION
In order for your system to boot correctly, a kernel must be installed. If youve made it this far using the installation bootdisks kernel, you should probably install it as your system kernel (/boot/vmlinuz). It youre sure you know what youre doing, you can also install your choice of kernels from Slackware CD, or a kernel from a floppy disk. You can also skip this menu, using whatever kernel has been installed already (such as generic kernel from the A series). Which option you like ? bootdisk cdrom floppy skip use the kernel from the installation bootdisk use a kernel from the Slackware CD Install a zimage or bzimage from a DOS floppy Skip this menu (use the default /boot/vmlinuz) OK CANCEL

Figure 15 Pilihan lokasi instalasi kernel

Pilih tipe kernel adalah sebagai berikut : 1. Untuk komputer-komputer rakitan dengan tipe harddisk IDE, langsung digunakan [enter]. Atau dapat dipilih juga salah satu dari alternatif : a. bare.i (tanpa fasilitas manajemen power seperti shutdown otomatis), b. bareacpi.i (dengan fasilitas manajemen power), c. sata.i untuk harddisk bertipe SATA (kompatible untuk versi 10.2 dan 11.0) 2. Untuk komputer-komputer bertipe server dengan harddisk SCSI harus digunakan beberapa alternatif berikut: d. adaptec.s untuk kontroler SCSI buatan Adaptec, umumnya, server-server buatan HP/Compaq. e. raid.s untuk kontroler SCSI yang mendukung RAID, umumnya, server-server buatan IBM. f. scsi.s, scsi2.s, atau scsi3.s untuk kontroler SCSI lainnya, umumnya, serverserver berbasis Intel Entry Server Motherboard. 3. Pada mesin-mesin khusus lainnya, dapat dipilih kernel yang sesuai.

Anton Rahmadi

halaman 11

CHOOSE LINUX KERNEL


Which of the following kernels would you like to install? NOTE: If you have a SCSI controller, choose a kernel that supports that. You can also support your CD-ROM drive and network card later with installable kernel modules. /cdrom/kernels/ibmmca.s/bzImage /cdrom/kernels/jfs.s/bzImage /cdrom/kernels/bare.i/bzImage /cdrom/kernels/bareacpi.i/bzImage /cdrom/kernels/raid.s/bzImage /cdrom/kernels/sata.i/bzImage /cdrom/kernels/scsi.s/bzImage OK CANCEL

Figure 16 Pilihan kernel yang akan diinstalasikan

Setelah memilih kernel yang sesuai dengan hardware yang terpasang, maka langkah berikutnya adalah mengkonfigurasikan bootdisk.

Membuat Bootdisk
Bootdisk diperlukan apabila boot loader seperti LILO gagal dipanggil, secara otomatis bootdisk akan berisi kernel kecil serta bootloader. Namun dalam banyak kasus, penggunaan CD1 Slackware untuk merestorasi boot loader yang crash sudah cukup, sehingga langkah ini tidak dilakukan. Pilihlah Cancel untuk hal tersebut.
MAKE BOOTDISK
It is highly recommended that you make a bootdisk (or two) for your system at this time. There are two types of bootdisks that you can make: a simple bootdisk (which is just a kernel image written directly to disk) or a LILO bootdisk (which is more flexible, but takes a little longer to load). Which option would you like? format simple lilo continue format floppy disk in /dev/fd0 make simple vmlinuz > /dev/fd0 bootdisk make lilo bootdisk leave bootdisk menu and continue with the configuration < OK > < Cancel >

Figure 17 Pembuatan bootdisk

Anton Rahmadi

halaman 12

Konfigurasi Modem dan Hotplug


MODEM CONFIGURATION
This part of the configuration process will create a /dev/modem link pointing to the callout device (ttyS0, ttyS1, ttyS2, ttyS3) representing your default modem. You can change this link later if you move your modem to a different port. If your modem is a PCI card, it will probably use /dev/ttyS4 or higher. Please select the callout device which you would like to use for your modem no modem /dev/ttyS0 /dev/ttyS1 /dev/ttyS2 /dev/ttyS3 /dev/ttyS4 /dev/ttyS5 /dev/ttyS6 /dev/ttyS7 do not set a (COM1: under (COM2: under (COM3: under (COM4: under PCI modem PCI modem PCI modem PCI modem /dev/modem link DOS) DOS) DOS) DOS)

< OK > < Cancel >

Figure 18 Instalasi Modem

Slackware dapat langsung mendeteksi modem, terutama modem eksternal yang menggunakan koneksi serial ataupun modem internal yang memiliki controller sendiri (bukan soft-modem). Operating System ini juga mengenali kartu jaringan, kartu suara, kontroler motherboard, maupun driver harddisk termasuk USB secara otomatis apabila hotplug diaktifkan.
ENABLE HOTPLUG SYSTEM AT BOOT ?
The Linux System uses the hotplug system to activate hardware that can be plugged into a running machine. Examples of this kind of hardware include USB devices or Cardbus devices used by laptops . . . . Yes No

Figure 19 Mengaktifkan hotplug

Anton Rahmadi

halaman 13

Boot Loader
Setelah itu, Anda diminta untuk menginstal LILO. Jika tidak mau repot, pilih mode Simple untuk menginstal LILO dengan cepat. Anjuran ini terutama untuk instalasi pada komputer dengan harddisk tunggal. Apabila memiliki harddisk lebih dari satu, maka pilihlah modus expert. Selanjutnya pada opsi Frame Buffer, pilihlah Standard untuk menginstall LILO berbasis teks. Pada penambahan opsi khusus di boot loader, jika terdapat CD-RW pada drive, maka perlu dimasukkan ke opsi khusus, misal ada di secondary master : hdc = ide-scsi, bila tidak ada lewati saja. Untuk lokasi boot loader, pilihlah letak instalasinya di MBR (Master Boot Record), partisi root, atau menggunakan disket. Secara umum letak boot loader adalah di MBR.
INSTALL LILO
LILO (Linux Loader) is a generic boot loader. Theres a simple installation which tries to automatically set up LILO to boot Linux (also DOS/Windows if found). For more advanced users, the expert option offers more control over the installation process. Since LILO does not work in all cases (and can damage partitions if incorrectly installed), theres the third (safe) option, which is to skip installing LILO for now. You can always install it later with the liloconfig command. Which option would you like? simple expert skip Try to install LILO automatically Use expert lilo.conf setup menu Do not install LILO < OK > < Cancel >

Figure 20 Pilihan expert dalam instalasi LILO

Pilihan instalasi di modus expert terdiri dari Begin, Linux, DOS, Install. Memulai konfigurasi LILO dilakukan pada tahapan Begin seperti menambahkan opsi khusus untuk CD-RW dan penggunaan Frame Buffer. Pada tahapan Linux, dilakukan penentuan lokasi direktori root sesuai dengan lokasi partisi dan harddisknya. Tahapan DOS dilakukan hanya apabila terdapat partisi berbasis filesystem Windows (NTFS ataupun FAT32). Tahapan terakhir adalah Install, dimana LILO biasanya akan diinstalasikan di MBR dari harddisk target.

Anton Rahmadi

halaman 14

EXPERT LILO INSTALLATION


This menu directs the creation of the LILO config file, lilo.conf. To install, you make a new LILO configuration file by creating a new header and then adding one or more bootable partitions to the file. Once youve done this, you can select the install option. Alternately, if you already have an /etc/lilo.conf, you may reinstall using that. If you make a mistake, you can always start over by choosing Begin. Which option would you like? Begin Linux DOS Install Recycle Skip View Help Start LILO configuration with a new LILO header Add a Linux partition to the LILO config Add a DOS/Windows FAT partition to the LILO config Install LILO Reinstall LILO using the existing lilo.conf Skip LILO installation and exit this menu View your current /etc/lilo.conf Read the Linux Loader HELP file < OK > < Cancel >

Figure 21 Urut-urutan instalasi LILO dalam modus expert

Tahap-tahap yang perlu dilakukan sesuai urutannya adalah:

Tahap1: Begin
Pada tahapan ini, Konfigurasi LILO dimulai dengan memasukkan opsi khusus seperti lokasi CD-RW yang membutuhkan parameter tambahan.
OPTIONAL LILO append=<kernel parameters> LINE
Some systems might require extra parameters to be passed to the kernel. Fir example, you might need to tell the kernel to use SCSI emulation mode for an IDE/ATAPI CD-RW on drive /dev/hdc, like this: hdc=ide-scsi if you needed to pass parameters to the kernel when you booted the Slackware bootdisk, youll probably want to enter the same ones here. Most systems wont require an extra parameters. If you dont need any, just hit ENTER to continue __________ OK Cancel

Figure 22 Memasukkan opsi khusus untuk CD-RW

Selain menambahkan parameter tambahan untuk CD-RW, juga dikonfigurasi opsi Frame Buffer yang akan digunakan pada console. Sebaiknya pilih Standard, atau tanpa frame buffer, sekalipun VGA modern saat ini rata-rata sudah mensupport hingga

Anton Rahmadi

halaman 15

1024 x 768 dengan kedalaman warna hingga 24K (tanpa driver khusus) atau 32K (dengan driver bawaannya).
CONFIGURE LILO TO USE FRAME BUFFER CONSOLE?
Looking at /proc/devices, it seems your kernel has support for the Linux frame buffer console. If we enable this in /etc/lilo.conf, it will allow more rows and columns of text on the screen and give you a cool penguin logo at boot time. However, the fame buffer text console is slower than a standard text console. In addition, not every video card or monitor supports all of these video modes. Would you like to use the fame buffer console, or the standard Linux console? Standard 640x480x256 800x600x256 1024x768x256 640x480x16K 800x600x16K 1024x768x16K Use the standard Linux console (the safe choice) Frame buffer console, 640x480x256 Frame buffer console, 800x600x256 Frame buffer console, 1024x7680x256 Frame buffer console, 640x480x16K Frame buffer console, 800x600x16K Frame buffer console, 1024x7680x16K OK Cancel

Figure 23 Opsi penggunaan Frame Buffer pada LILO

Tahap2: Linux
Langkah selanjutnya adalah memilih lokasi instalasi LILO, seperti penjelasan sebelumnya, pilihannya adalah Master Boot Record (MBR).
SELECT LILO TARGET LOCATION
LILO can be installed to a variety of places: the master boot record of your first hard drive, the superblock of your root Linux partition (which could be made the bootable partition with fdisk), a formatted floppy disk, or the master boot record of your first hard drive. If youre using a boot system such as Boot Manager, you should use the Root selection. Please pick a target location: Root Floppy MBR Install to superblok (not for use with XFS) Use a formatted floppy disk in the boot drive use the Master Boot Record (possibly unsafe) OK Cancel

Figure 24 Memilih target lokasi instalasi, biasanya menggunakan MBR dari harddisk

Secara otomatis, LILO akan mencari lokasi MBR di harddisk tempat direktroi root diinstalasikan, tetapi apabila proses pengenalannya salah, maka dapat ditulis secara manual.

Anton Rahmadi

halaman 16

CONFIRM LOCATION TO INSTALL LILO


The auto-detected location to install the LILO boot block is shown below. If you need to make any changes, you can make them below. Otherwise, hit ENTER to accept the target location shown ______________ OK Cancel

Figure 25 Pendeteksian lokasi MBR dari harddisk

Pada instalasi sistem operasi tunggal seperti di server, tidak diperlukan waktu jeda untuk masuk ke dalam direktori root, sehingga dipilih NONE sebagai LILO Timeout-nya.
CHOOSE LILO TIMEOUT
At boot time, how long would you like to wait for you to select an operating system? If you let LILO time out, it will boot the first OS in the configuration file by default. NONE 5 30 Forever Dont wait at all boot straight into the first OS 5 seconds 30 seconds Present a promt and wait until a choice is made OK Cancel

Figure 26 Pilihan waktu jeda saat booting

LILO akan memetakan seluruh partisi yang berisi filesystem Linux, lalu akan menandai partisi yang diset sebagai bootable. Biasanya partisi ini yang dipanggil sebagai root direktori dari Slackware. Pada instalasi server biasanya terletak di /dev/sda1 (untuk harddisk SCSI) atau /dev/hda1 (untuk harddisk IDE). yang dibuat.
SELECT LINUX PARTITION
These are your Linux partitions: Device boot /dev/sda1* Start 1 End 486 Blocks 3903763+ Id 83 System Linux

Lebih lanjut dari lokasinya

tergantung dimana harddisk dipasangkan pada motherboard dan berapa banyak partisi

Which one would you like LILO to boot /dev/sda1_ OK Cancel

Figure 27 Memilih lokasi direktori root

Anton Rahmadi

halaman 17

Berikan nama pada partisi target misalnya LINUX atau SLACK. pemberian nama ini gunakan satu kata (single word), artinya tidak boleh ada spasi.
SELECT PARTITION NAME

Pada

Now you must select a short, unique name for this partition. Youll use this name if you specify a partition to boot at the LILO prompt. Linux might not be a bad choice. THIS MUST BE A SINGLE WORD. _________ OK Cancel

Figure 28 Memasukkan nama partisi yang dipanggil

Tahap 3: Install
LILO akan diinstalasikan ke Master Boot Record dimaksud. Apabila terdapat kesalahan dalam instalasi LILO, maka masukkan CD kembali lalu ketikkan kernel yang sama disertai dengan lokasi root direktori dan opsi noinitrd.
Boot: bare.i root=/dev/hda1 noinitrd

Selanjutnya edit konfigurasi LILO secara manual pada file /etc/lilo.conf atau secara otomatis dengan program: liiloconfig. Setelah yakin, instalasikan LILO dengan mengetik perintah: lilo.
root@shadow# liloconfig root@shadow# lilo

Anton Rahmadi

halaman 18

Konfigurasi mouse dan jaringan


Mouse dalam modus teks dapat diaktifkan dan dipilih driver yang sesuai dengan hardware yang terpasang. Umumnya menggunakan ps2 mouse.
MOUSE CONFIGURATION
This part of the configuration process will create a /dev/mouse link pointing to your default mouse device. You can change the /dev/mouse link later if the mouse doesnt work, or if you switch to a different type of pointing device. We will also use the information about the mouse to set the correct protocol for gpm, the Linux mouse server. Please select a mouse type from the list below: ps2 imps2 bare ms mman msc pnp usb PS/2 port mouse (most desktops and laptops) Microsoft PS/2 Intellimouse 2 button Microsoft compatible serial mouse 3 button Microsoft compatible serial mouse Logitech serial MouseMan and similar devices MouseSystems serial (most 3 button serial mice) Plug and Play (serial mice that do not work with ms) USB connected mouse < OK > < Cancel >

Figure 29 Konfigurasi mouse dengan model ps2

Selanjutnya, Anda menginstall network sebagai berikut, pertama kali yang harus dilakukan adalah memasukkan nama komputer.
ENTER HOSTNAME
First, well need the name youd like to give your host. hostname is needed right now. (not the domain) Enter hostname: _______ OK Cancel Only the base

Figure 30 Memasukkan nama komputer

Berikutnya mengisi nama domainnya. Pola ini mengikuti kaidah domain name system, yaitu hostname.domainname.ekstensi. Misalnya: shadow.faperta.unmul. Apabila tersedia IP Publik, maka sebaiknya nama komputer dan nama domain langsung mengikuti DNS yang diberikan pengelola (NIC), misalnya web.unmul.ac.id. Hal ini dilakukan untuk mempermudah setting lebih lanjut, maupun asumsi-asumsi yang dibuat. Beberapa servis seperti mail server, web server dan domain name service membutuhkan nama host yang valid (sesuai ketentuan penamaan DNS) agar dapat bekerja dengan baik. Anton Rahmadi halaman 19

ENTER DOMAINNAME FOR shadow


Now, we need the domain name for this machine, such as: example.org Do not supply a leading . Enter domain name for shadow: ________ OK Cancel

Figure 31 Memasukkan nama domain

Dalam pengisian IP address dapat dilakukan dua cara, IP statis atau IP dinamis. IP statis umumnya di set karena tidak akan berubah dalam jangka waktu yang lama, misalnya IP Publik sehingga komputer dapat diakses langsung dari internet. IP dinamis diperoleh melalui sebuah DHCP server, maupun dial-up. Untuk penggunaan server, biasanya IP statis yang digunakan.
SETUP IP ADDRESS FOR shadow.faperta.unmul
Now we need to know how your machine connects to the network. If you have an internal network card and an assigned IP address, gateway, and DNS, use the static IP choice to enter these values. If you IP address is assigned by a DHCP server (commonly used by cable modem and DSL services), select DHCP. If you do not have a network card, select the loopback shoice. loopback is also the correct choice if you only connection to the network will be trough a serial modem (with SLIP or PPP), or if you are using a laptop network card (these are configured in /etc/pcmcia/). What type of network connection best describes you machine? static IP DHCP Loopback Use a static IP address to configure Ethernet Use a DHCP server to configure ehternet Set up a loopback connection (modem or no net) OK Cancel

Figure 32 Menentukan IP address

Apabila opsi IP statis yang dipilih, maka harus dimasukkan IP statis dari komputer sesuai ketentuan IP versi 4. Ketentuan ini mensyaratkan IP berada pada kisaran angka 1.1.1.1 hingga 255.255.255.255 (format desimal). Contoh blok IP yang tidak dapat diakses langsung dari internet adalah 10.0.0.0 dengan subnet 8 bit, 172.16.0.0 dengan subnet 16 bit, dan 192.168.0.0 dengan subnet 24 bit. Sekilas mengenai IP, penggunaan IP yang tepat akan menciptakan area kerja yang nyaman, sebuah sistem yang terlalu besar akan boros dalam transfer data, begitu juga sebuah sistem yang pembagian IP-nya terlalu sempit, akan mempersulit pengelolaannya.

Anton Rahmadi

halaman 20

ENTER IP ADDRESS FOR shadow.faperta.unmul


Enter your IP address for the local machine. Example: 111.112.113.114 Enter IP address for shadow (aaa.bbb.ccc.ddd) ______ OK Cancel

Figure 33 Memasukkan IP address

Penentuan subnet dilakukan setelah IP selesai dimasukkan. Biasanya dalam setting server yang menggunakan IP publik, subnet juga telah ditentukan misalnya saja 255.255.255.240.
ENTER NETMASK FOR LOCAL NETWORK
Enter your netmask. This will generally look something like this: 255.255.255.0 Enter netmask (aaa.bbb.ccc.ddd) ______ OK Cancel

Figure 34 Memasukkan subnet untuk IP address dimaksud

Selanjutnya dalam sistem server yang menggunakan IP publik, biasanya diberikan IP yang menjadi gateway sehingga harus dicantumkan pula dalam konfigurasi ini.
ENTER GATEWAY ADDRESS
Enter the address for the gateway on your network, such as: 192.168.40.1 If you dont have a gateway on your network just hit ENTER without entering a gateway IP address. Enter gateway address (aaa.bbb.ccc.ddd) _______ OK Cancel

Figure 35 Memasukkan IP gateway atau IP host yang terhubung ke internet

Dalam sistem server, penggunaan nameserver tidak dapat dihindarkan, sehingga harus di set. Oleh karena itu opsi nameserver harus digunakan.
USE A NAMESERVER
Will you be accessing a nameserver? Yes No

Figure 36 Memberikan opsi bahwa nameserver akan di set atau tidak

Anton Rahmadi

halaman 21

Apabila server berhubungan langsung dengan internet, acapkali IP gateway juga merupakan IP nameserver, atau pihak ISP sudah memberikan nameserver yang telah ditentukan.
SELECT NAMESERVER
Here is your current IP address, full hostname, and base hostname: 192.168.40.10 shadow.faperta.unmul shadow Please give the IP address of the name server to use, such as 192.168.40.1. You can add more Domain Name Servers later by editing Primary name server to use (aaa.bbb.ccc.ddd): ________ OK Cancel /etc/resolv.conf.

Figure 37 Memasukkan IP dari nameserver biasanya menggunakan IP address

Setelah selesai, Anda dapat melihat preview hasil konfigurasinya.


CONFIRM NETWORK SETUP
Theses are the settings you have entered. To accept them and complete the networking setup, press Enter. If you need to make any changes, you can do that now (or reconfigure later using netconfig). Hostname: Domain name: IP Address: Netmask: Gateway: Name Server: group1 faperta.unmul 10.10.10.171 255.255.255.0 10.10.10.10 10.10.10.171 < Accept > < Edit > < Restart >

Figure 38 Preview dari konfigurasi jaringan

Sekarang Anda diminta untuk memilih layanan-layanan yang akan diaktifkan pada saat boot.

Anton Rahmadi

halaman 22

Konfigurasi service
CONFIRM STARTUP SERVICES TO RUN
The selected services will be started at boot time. If you dont need them, you may unselect them to turn them off (which may improve overall system security). You may also choose to start services that are not run by default, but be aware that more services means less security. Use the spacebar to select or unselect the services you wish to run. Recommended choices have been preselected. Press the Enter key when you are finished. [ [ [ [ [ [ ] ] ] ] ] ] rc.atalk rc.bind rc.cups rc.dnsmasq rc.httpd rc.inetd netatalk Appletalk file/print server BIND (Domain Name System) CUPS print server dnsmasq DHCP/DNS server The Apache web server The BSD Inetd daemon OK Cancel

Figure 39 Pengaktifan layanan pada saat boot

Pemilihan layanan yang akan diaktifkan saat boot menjadi penting, misalnya pada sistem server yang akan digunakan untuk web, perlu diaktifkan layanan Domain Name System (Bind), Apache (httpd), FTP (melalui Inetd), SSHD, dan MySQLD.
Table 3 Jenis Layanan yang dapat diaktifkan pada saat boot

Layanan rc.bind rc.httpd rc.ip_forward rc.mysqld rc.pcmcia rc.sendmail rc.sshd Rc.scanlun

Kegunaan (rekomendasi*) DNS server (aktif) Web server (aktif) Kebutuhan internet sharing (aktif) Database server (aktif) PCMCIA di laptop (tidak aktif) Email server (tidak aktif**) Fasilitas Remote (aktif) Fasilitas untuk mengidentifikasi harddisk SCSI (defalut) Lainnya Biarkan secara standar (default) *) rekomendasi berdasar model server untuk dns, web, email, internet sharing (proxy) dan database. **) email server yang akan digunakan adalah Postfix karena settingnya mudah dan lebih aman.

Anton Rahmadi

halaman 23

Konfigurasi waktu
HARDWARE CLOCK SET TO UTC?
Is the hardware clock set to Coordinated Universal Time (UTC/GMT)? If it is, select YES here. If the hardware clock is set to the current local time (this is how most PCs are set up), then say NO here. If you are not sure what this is, you should answer NO here. NO YES Hardware clock is set to local time Hardware clock is set to UTC < OK > < Cancel >

Figure 40 Pemilihan penggunaan waktu

Untuk setting waktu, dipilih bahwa komputer mengacu pada waktu lokal, kemudian dipilih wilayah yang sewaktu dengan lokasi instalasi server. Dikarenakan Samarinda terletak di CIT (Center Indonesian Time), maka dipilih Makassar yang sewaktu dengan Samarinda.
TIMEZONE CONFIGURATION
Please select one of the following timezones for your machine: US/Alaska US/Pacific US/Samoa Africa/Abidjan . . . . Asia/Makassar < OK > < Cancel >

Figure 41 Penentuan lokasi komputer

Bagian terakhir, Anda diminta memasukkan password untuk user root. Contoh password yang baik adalah menggabungkan angka, huruf besar, huruf kecil, misalnya : Th1s-is-Stron9-p4ss. Setelah itu, restartlah sistem Anda.
root@shadow# reboot

Anton Rahmadi

halaman 24

Copyleft @2006. Tutorial ini telah ditest dan disesuaikan pada mesin Slackware versi 9.x, 10.x dan 11. Anda dapat menggandakan, menyalin, mengubah tutorial ini sepanjang bukan untuk kepentingan komersial / pembuatan buku. Apabila terdapat kesalahan dalam konsep dan penulisan, ajukan kritik Anda ke antonrahmadi at gmail dot com.

Anton Rahmadi

halaman 25

You might also like