Anda di halaman 1dari 14

1.

Installasi FreeBSD - Panduan FreeBSD

Bagian 1 Installasi FreeBSD


Apa FreeBSD ? FreeBSD adalah operating system yang berdasar 4.4 BSD Lite untuk personal komputer berbasis Intel, seperti AMD, Cyrix atau Netgen "x86", pc98 dan alpha. Dan bekerja dengan baik pada bermacam macam peripherals dan konfigurasi dan dapat digunakan untuk semua dari software yang dikembangkan untuk perlengkapan layanan internet. Mengapa FreeBSD ? Software FreeBSD dapat diperoleh gratis di ftp://ftp.freebsd.org/ dan untuk mengetahui informasi baru dan update langsung di internet http://www.freebsd.org. Setiap release FreeBSD berisi semua yang diperlukan pada sebuah sistem, terdapat pula didalamnya source code. Source code yang terdapat lengkap didalamnya anda dapat mengkompile ulang sesuai dengan kebutuhan. Dibuat untuk pelajar, peneliti atau siapa saja yang ingin menggunakan dan membantu perkerjaannya.

Langkah Installasi
Instalasi FreeBSD dapat dilakukan melalui berbagai cara, instalasi dari CDROM, Instalasi dari Floppy Disk, instalasi dari partisi DOS, instalasi dari QIC/SCSI tape, dan instalasi melalui network. Untuk lengkapnya dapat dilihat file INSTALL.TXT pada CDROM FreeBSD atau ftp://ftp.FreeBSD.org/pub/FreeBSD/{Version}-RELEASE/INSTALL.TXT Installasi paling mudah adalah dengan CDROM dimana pada versi CDROM ini boot image terdapat dalam CDROM. Asalkan BIOS PC yang dipakai mendukung untuk boot melalui CDROM anda dapat melewati bagian membuat disk boot dan langsung bagian Installasi. Langkah langkah dalam installasi FreeBSD

1. Membuat Disk Boot


Untuk mempermudah installasi diperlukan sebuah disket untuk booting awal sampai masuk menu installasi. Disket ukuran 1,44 Mbyte lebih mudah digunakan untuk menjangkau seluruh sumber baik melalui FS, CDROM atau FTP server.

Unit Produksi Internet UMM

1. Installasi FreeBSD - Panduan FreeBSD

File image untuk boot disk (kern.flp dan mfsroot.flp) untuk floppy disk 1,44 Mbyte dapat diambil source FreeBSD dari CDROM atau ftp ke site di Internet yang menyediakan source FreeBSD. Biasanya file tersebut ada didalam direktori FreeBSD/{Version}RELEASE/floppies. Pada sistem DOS Tools untuk menulis image file ke disket dibutuhkan utility rawrite.exe, rawrite.exe dapat diambil dari direktori tools dalam FTP site, bila boot.flp pada direktori C:\
C:\>rawrite kern.flp a: C:\>rawrite mfsroot.flp a:

Pada sistem FreeBSD atau linux transfer file boot.flp dapat dipakai perintah dd, contoh :
$ dd if=kern.flp of=/dev/fd0 $ dd if=mfsroot.flp of=/dev/fd0

/dev/fd0 menunjukkan floppy drive yang digunakan. Pada FreeBSD, /dev/fd0 menunjukkan drive A dan /dev/fd1 menunjukkan drive B.

2. Installasi FreeBSD
Boot-lah komputer anda dengan disket booting kern.flp yang telah dibuat sebelumnya. Kemudian komputer akan meminta memasukkan file mfsroot.flp. Jika anda menggunakan CDROM drive, cara ini lebih mudah. Asalkan komputer anda mendukung untuk bootable CDROM drive maka Installer cdrom FreeBSD boot system harus dimasukkan ke drive.
Verifying DMI Pool Data ........ Boot from ATAPI CD-ROM : 1. FD 2.88MB System Type-(00) /boot.config: -P Keyboard: yes BTX loader 1.00 BTX version is 1.01 Console: internal video/keyboard BIOS drive A: is disk0 BIOS drive B: is disk1 BIOS drive C: is disk2 BIOS drive C: is disk3 BIOS 639kB/64512kB available memory FreeBSD/i386 bootstrap loader, Revision 0.8 (jkh@bento.freebsd.org, Mon Nov 20 11:41:23 GMT 2000) | Hit [Enter] to boot immediately, or any other key for command prompt. Booting [kernel] in 9 seconds... _

Unit Produksi Internet UMM

1. Installasi FreeBSD - Panduan FreeBSD

Diatas adalah boot melalui CDROM drive. FreeBSD pada cd telah disediakan boot CDROM pada CD installer 1. Menu visual sebagai berikut :
Kernel Configuration Menu Skip kernel configuration and continue with installation. Start kernel configuration in full screen Visual mode. Start kernel configuration in CLI mode. Here you have the chance to go into kernel configuration mode, making any changes which may be necessary to properly adjust the kernel to match your hardware configuration. If you are installing FreeBSD for the first time, select Visual Mode (press DownArrow then ENTER). If you need to do more specialized kernel configuration and are an experienced FreeBSD user, select CLI mode. If you are certain that you do not need to configure your kernel the simply press ENTER or Q now.

Pilih Start kernel configuration in full screen Visual mode maka anda akan menemukan menu sebagai berikut :
---Active-Drivers-----------------7 Conflicts------Dev---IRQ--Port-Storage: (Collapsed) Network: (Collapsed) Communications: (Collapsed) Input: (Collapsed) Multimedia: Miscellaneous: (Collapsed) ---Inactive-Drivers---------------------------------Dev-------------Storage: Network: Communications: (Collapsed) Input: Multimedia: Miscellaneous: (Collapsed) ----------------------------------------------------------------------------------------------------------------------------------------[Enter] Expand device list [X] Expand all lists [TAB] Switch fields [Q] Save and Exit [?] Help

Probing Kernel Installasi. Kernel memuat beragam jenis hardware processor dan options tertentu yang terkadang tidak sesuai dengan komputer yang kita miliki. Sehingga sangat tidak effisien, dan kadang timbul konflik hardware. Untuk itu perlu menghilangkan device tertentu yang tidak Unit Produksi Internet UMM
3

1. Installasi FreeBSD - Panduan FreeBSD

dibutuhkan pada saat installasi. Agar saat boot seluruh device yang tercatat dalam kernel.GENERIC tersebut tidak di probe untuk mempersingkat waktu dan menghindari konflik hardware. Normalnya sehabis installasi konfigurasi kernel tersebut sudah disimpan dalam direktory /boot. Konflik hardware biasanya dialami pada saat installasi FreeBSD, adakalanya installasi yang tidak tuntas juga menyebabkan tidak disimpannya kernel konfigurasi yang diletakkan pada direktory /boot. Untuk lebih memahami hal tersebut kita bahas masalah ini dalam bagian kernel. Dibawah ini adalah tampilan kernel configuration menu yang diambil saat installasi FreeBSD atau bisa di dapat dengan menuliskan boot : kernel c pada saat FreeBSD starting system.

Pada tampilan UserConfig pada menu Visual mode dapat dilihat jika peralatan hardware yang ada mengalami konflik.

---Active-Drivers-----------------7 Conflicts------Dev---IRQ--Port-Storage: (Collapsed) Network: (Collapsed) Communications: (Collapsed) Input: (Collapsed) Multimedia: Miscellaneous: (Collapsed) ---Inactive-Drivers---------------------------------Dev-------------Storage: Network: Communications: (Collapsed) Input: Multimedia: Miscellaneous: (Collapsed) ----------------------------------------------------------------------------------------------------------------------------------------[Enter] Expand device list [X] Expand all lists [TAB] Switch fields [Q] Save and Exit [?] Help

Untuk melihat secara detail dari menu diatas tekan X. Buanglah device yang tidak terpakai atau mengalami konflik dengan hardware lain. Jangan di-disable Keyboard (atkbd0) dan Syscons console driver (sc0) karena anda memerlukan ini.
---Active-Drivers------------------------------------Dev---IRQ--Port-Storage: ATA/ATAPI compatible disk controller ata0 14 0x1f0 Floppy disk controller fdc0 6 0x3f0 Network: Communications: Parallel Port chipset ppc0 7

Unit Produksi Internet UMM

1. Installasi FreeBSD - Panduan FreeBSD

8250/16450/16550 Serial port sio0 4 0x3f8 8250/16450/16550 Serial port sio1 3 0x2f8 Input: Keyboard atkbd0 1 PS/2 Mouse psm0 12 Syscons console driver sc0 Multimedia: Miscellaneous: Math coprocessor npx0 13 0xf0 ---Inactive-Drivers---------------------------------Dev-------------Storage: AdvanSys SCSI narrow controller adv0 Adaptec 154x SCSI controller aha0 Adaptec 152x SCSI controller aic0 ATA/ATAPI compatible disk controller ata1 15 0x170 Buslogic SCSI controller bt0 Network: IBM EtherJet, CS89x0-based Ethernet adapters cs0 0x300 NE1000,NE2000,3C503,WD/SMC80xx Ethernet adapt ed0 10 0x280 Fujitsu MD86960A/MB869685A Ethernet adapters fe0 0x300 AT&T Starlan 10 and EN100,3C507,NI5210 Ether ie0 10 0x300 DEC Etherworks 2 and 3 Ethernet adapters le0 5 0x300 Isolan, Novell NE2100/NE32-VL Ethernet adapt lnc0 10 0x280 SMC/Megahertz Ethernet adapters sn0 10 0x300 Communications: 8250/16450/16550 Serial port sio2 8250/16450/16550 Serial port sio3 Input: Multimedia: Miscellaneous: PC-card controller pcic1 PC-card controller pcic0 10 0x3e0 ----------------------------------------------------------------------------------------------------------------------------------------[Enter] Expand device list [X] Expand all lists [TAB] Switch fields [Q] Save and Exit [ ? ] Help

Layar diatas dibagi dalam 2 bagian besar yaitu driver yang active (Active Drivers) dan tidak aktif (Inactive Drivers). Driver yang tidak terpakai atau didisable akan terletak pada Inactive Drivers, sedangkan yang active akan tetap berada pada Active Drivers. Simpan konfigurasi ini dengan menekan Q kemudian muncul pertanyaan sebagai berikut :
Save these parameters before exiting? ([Y]es/[N]o/[C]ancel)

Jawab y maka dimulai proses probing kernel. Probing kernel ini akan disimpan dalam buffer. Untuk menampilan kernel message ini dapat menggunakan perintah :

Untuk mengatur perangkat keras yang digunakan arahkan pointer keyboard anda pada perangkat tersebut dan tekanlah enter. Buanglah devais yang tidak terpakai yaitu hardware yang tidak sesuai atau tidak dimiliki oleh komputer anda. Misal pada Storage jika anda hanya memiliki IDE controler maka SCSI controler tidak perlu ada. Silahkan di delete saja. Untuk lebih jelasnya anda dapat membuka bagian kernel pada buku panduan ini. Unit Produksi Internet UMM
5

1. Installasi FreeBSD - Panduan FreeBSD

Keluarlah dari menu untuk probing dari perangkat keras yang terpasang (sekali lagi perhatikan perangkat yang terdeteksi). Maka terlihat FreeBSD akan memeriksa semua perangkat keras yang terpasang pada komputer anda. Perhatikanlah semua perangkat keras yang terdeteksi, terutama perangkat keras yang penting seperti ethernet card, harddisk dan CDROM jika anda menggunakan CDROM sebagai source installernya.
/stand/sysinstall Main Menu Welcome to the FreeBSD installation and configuration tool. Please select one of the options below by using the arrow keys or typing the first character of the option name you're interested in. Invoke an option by pressing [ENTER] or [TABENTER] to exit the installation. Usage Quick start How to use this menu system Standard Begin a standard installation (recommended) Express Begin a quick installation (for the impatient) Custom Begin a custom installation (for experts) Configure Do a post-install configuration of FreeBSD Doc Installation instructions, README, etc. Keymap Select keyboard type Options View/Set various installation options Fixit Enter repair mode with CDROM/floppy or shell start Upgrade Upgrade an existing system Load Config Load default install configuration Index Glossary of functions [Select] X Exit Install [ Press F1 for Installation Guide ]

Menu Doc berisi dokumen yang berhubungan dengan FreeBSD, perangkat keras dan proses installasi. Untuk memahami lebih lanjut mengenai langkah langkah untuk installasi dan segala hal tentang FreeBSD dapat di baca disini. Pilihlah Costom untuk installasi. Mengapa dipilih ini ? adalah untuk mengetahui secara langsung proses installasi secara detail.
Choose Custom Installation Options This is the custom installation menu. You may use this menu to specify Details on the type of distribution you wish to have, where you wish to install it from and how you wish to allocate disk storage to FreeBSD. X 2 3 4 5 6 7 Exit Options Partition Label Distributions Media Commit Exit this menu (returning to previous) View/Set various installation options Allocate disk space for FreeBSD Label allocated disk partitions Select distribution(s) to extract Choose the installation media type Perform any pending Partition/Label/Extract actions [ OK ] Cancel [ Press F1 to read the installation guide ]

Unit Produksi Internet UMM

1. Installasi FreeBSD - Panduan FreeBSD

Pilih 3 Partition untuk membuat partisi disk dan kemudian dilanjutkan dengan alokasi label dalam partisi. 1. Partisi Disk Didalam menu FDISK Partition Editor pada saat dipilih menu Partitions, jika didalam hardisk anda kosong (tidak ada partisisi file system yang lain) maka tinggal membuat seluruh space dimasukkan kedalam sebuah partisi FreeBSD.
Disk name: DISK Geometry: Offset 0 ad0 FDISK Partition Editor 1229 cyls/255 heads/63 sectors = 19743885 sectors (9640MB) End 19746719 Name PType 6 Desc unused Subtype 0 Flags

Size(ST) 19746720

The following commands are supported (in upper or lower case): A = Use Entire Disk D = Delete Slice T = Change Type G = set Drive Geometry Z = Toggle Size Units U = Undo All Changes C = Create Slice S = Set Bootable W = Write Changes

Use F1 or ? to get more help, arrow keys to select.

Perhatikan menu dalam tampilan diatas, untuk membuat partisi baru pilihlah c, kemudian akan tampil pertanyaan sebagai berikut :
Please specify the size for new FreeBSD slice in blocks or append a trailing `M' for megabytes (e.g. 20M). 19746720 [ OK ] Cancel

Jika ingin semua space digunakan untuk FreeBSD langsung pilih OK, jika ingin tidak semua space dipakai anda dapat menentukan sendiri besar dari partisi FreeBSD misal nya 4 Gbyte maka ganti angka 19746720 dengan 4000 M sisa space yang belum dipakai dapat digunakan untuk partisi lain seperti FAT (MSDOS). Hasil sebagai berikut :
Disk name: DISK Geometry: Offset 0 63 19743885 ad0 FDISK Partition Editor 1229 cyls/255 heads/63 sectors = 19743885 sectors (9640MB) End 62 19743884 19746719 Name ad0s1 PType 6 3 6 Desc unused freebsd unused Subtype 0 165 0 Flags

Size(ST) 63 19743822 2835

The following commands are supported (in upper or lower case):

Unit Produksi Internet UMM

1. Installasi FreeBSD - Panduan FreeBSD

A = Use Entire Disk D = Delete Slice T = Change Type

G = set Drive Geometry Z = Toggle Size Units U = Undo All Changes

C = Create Slice S = Set Bootable W = Write Changes

Use F1 or ? to get more help, arrow keys to select.

2. Label Disk Dari pembuatan partisi diatas kemudian dibuat label yang bermanfaat untuk mengalokasikan space file system FreeBSD dalam bagian-bagian space yang berbeda. Hal ini untuk mempermudah maintenance. Contoh :
FreeBSD Disklabel Editor Disk: ad0 Part ---ad0s1a ad0s1b ad0s1e ad0s1f ad0s1g The C = N = A = Partition name: ad0s1 Mount ----/ swap /usr /var /home1 Size ---200MB 128MB 2000MB 1000MB 6312MB Newfs ----Y SWAP Y Y Y Free: 0 blocks (0MB) Part ---Mount ----Size Newfs ---- -----

following commands are valid here (upper or lower case): Create D = Delete M = Mount pt. W = Write Newfs Opts T = Newfs Toggle U = Undo Q = Finish Auto Defaults for all!

Use F1 or ? to get more help, arrow keys to select.

Secara default ada 4 label, yaitu /, swap, var, dan /usr. Ada kalanya sebuah harddisk memiliki kapasitas sangat besar sehingga tidak hanya 4 label saja yang dibuat, label tersebut dibuat untuk hal tertentu seperti direktory cache squid, home direktory atau hal lain. Sebelum dibuat label baris diatas ad0s1a, ad0s1b dan lainnya belum ada. Jika ingin memuat secara otomatis dapat dipilih tombol a. Namun biasanya pilihan tersebut tidak bagus atau tidak direkomendasikan. Oleh karena itu lebih baik dibuat secara manual dengan memilih tombol c. Kemudian akan tampil menu box seperti pada saat membuat partisi untuk memilih besar space yang digunakan. Buatlah sebagai berikut : 1. root direktory minimal sebesar 80 M ditandai dengan / 2. swap minimal 2 x memory. 3. /usr direktory tergantung dengan distribution yang dipilih. 4. /var direktory tergantung dengan aplikasi yang dijalankan. Tentu saja seluruh pilihan tersebut diatas tergantung dengan kapasitas hardisk yang dipakai. Jika hardisk tersebut besar, maka sangat lebih baik jika semakin besar space yang

Unit Produksi Internet UMM

1. Installasi FreeBSD - Panduan FreeBSD

digunakan. Jika kapasitas hardisk kecil maka anda sebagai administrator network ditantang untuk memanfaatkan space hardisk sebaik-baiknya.

3. Menu Distributions :
Choose Distributions As a convenience, we provide several "canned" distribution sets. These select what we consider to be the most reasonable defaults for the type of system in question. If you would prefer to pick and choose the list of distributions yourself, simply select "Custom". You can also pick a canned distribution set and then fine-tune it with the Custom item. Choose an item by pressing [SPACE]. When you are finished, choose the Exit item or press [ENTER]. <<< X Exit All Reset [ ] 4 Developer [ ] 5 X-Developer [ ] 6 Kern-Developer [ ] 7 X-Kern-Developer [ ] 8 User [ ] 9 X-User [ ] A Minimal > > B Custom Exit this menu (returning to previous) All system sources, binaries and X Window System) Reset selected distribution list to nothing Full sources, binaries and doc but no games Same as above + X Window System Full binaries and doc, kernel sources only Same as above + X Window System Average user binaries and doc only Same as above + X Window System The smallest configuration possible Specify your own distribution set [ OK ] Cancel

[ Press F1 for more information on these options. ]

Ini digunakan untuk memilih paket distribusi yang ingin di install pada komputer. Pilih sesuai dengan kebutuhan. Untuk mempermudah pilih saja 4 Developer. Anda akan ditanya tentang software untuk cryptografi sebagai berikut :
User Confirmation Requested Do you wish to install cryptographic software? If you choose No, FreeBSD will use an MD5 based password scheme which, while perhaps more secure, is not interoperable with the traditional DES-based passwords on other Unix systems. There will also be some differences in the type of RSA code you use. Please do NOT choose Yes at this point if you are outside the United States and Canada and are installing from a U.S. FTP server. Instead, install everything but the crypto bits from the U.S. site and then switch to an international FTP server to install crypto on a second pass with the Custom Installation option. [ Yes ] No

Unit Produksi Internet UMM

1. Installasi FreeBSD - Panduan FreeBSD

Software cryptografi ini disediakan dalam beberapa jenis seperti pada menu berikut jika memilih Yes.

Select the encryption facilities you wish to install. Please check off any special encryption distributions you would like to install. Please note that these services are NOT FOR EXPORT from the United States. For information on non-U.S. FTP distributions of this software, please consult the release notes. <<< X Exit All Reset [ ] crypto [ ] krb4 [ ] krb5 [ ] skrb4 [ ] skrb5 [ ] ssecure [ ] scrypto Exit this menu (returning to previous) Select all of the below Reset all of the below Basic encryption services KerberosIV authentication services Kerberos5 authentication services Sources for KerberosIV Sources for Kerberos5 BSD encryption sources Contributed encryption sources [ OK ] Cancel

Pilih salah satu atau lebih, kemudian ok. Berikutnya ada pertanyaan seperti berikut :
User Confirmation Requested Are you actually resident in the United States? [ Yes ] No

Berikutnya anda akan ditanya tentang installasi koleksi ports, untuk awal ini sebaiknya pilihan ini tidak perlu dipilih yes karena installasi ports ini membutuhkan waktu yang lama. Nanti setelah installasi selesai ports ini dapat di install secara manual atau melalui menu distribution costum.

User Confirmation Requested Would you like to install the FreeBSD ports collection? This will give you ready access to over 3000 ported software packages, at a cost of around 70MB of disk space when "clean" and possibly much more than that when a lot of the distribution tarballs are loaded (unless you have the extra CDs available from a FreeBSD CDROM distribution and can mount them on /cdrom, in which case this is far less of a problem). The ports collection is a very valuable resource and well worth having on your /usr partition, so it is advisable to say Yes to this option. For more information on the ports collection & the latest ports, visit: http://www.freebsd.org/ports

Unit Produksi Internet UMM

10

1. Installasi FreeBSD - Panduan FreeBSD

[ Yes ]

No

4. Installation Media
Choose Installation Media FreeBSD can be installed from a variety of different installation Media, ranging from floppies to an Internet FTP server. If you're Installing FreeBSD from a supported CDROM drive then this is generally the best media to use if you have no overriding reason for using other media. 1 2 3 3 4 5 6 7 8 9 CDROM FTP FTP Passive HTTP DOS NFS File System Floppy Tape Options Install from a FreeBSD CDROM Install from an FTP server Install from an FTP server through a firewall Install from an FTP server through a http proxy Install from a DOS partition Install over NFS Install from an existing filesystem Install from a floppy disk set Install from SCSI or QIC tape Go to the Options screen [ OK ] Cancel

[ Press F1 for more information on the various media types ]

Digunakan

untuk

menentukan

media

apa

installasi

akan

dilakukan.

Jika

menggunakan CDROM pilihlah menu pertama, maka secara langsung jika CDROM telah terdeteksi akan kembali ke menu Costum Installation. CDROM akan terdeteksi secara otomatis jika pada saat probbing (inisialisasi hardware) saat awal installasi jika controler wcd0 disertakan atau tergantung dengan jenis CDROM-nya.
Please select a FreeBSD FTP distribution site Please select the site closest to you or "other" if you'd like to specify a different choice. Also note that not every site listed here carries more than the base distribution kits. Only the Primary site is guaranteed to carry the full range of possible distributions. Primary Site URL 4.0 SNAP Server 3.0 SNAP Server Argentina Australia Australia #2 Australia #3 Australia #4 ftp.freebsd.org Specify some other ftp site by URL current.freebsd.org releng3.freebsd.org ftp.ar.freebsd.org ftp.au.freebsd.org ftp2.au.freebsd.org ftp3.au.freebsd.org ftp4.au.freebsd.org

Unit Produksi Internet UMM

11

1. Installasi FreeBSD - Panduan FreeBSD

Australia #5 Brazil Brazil #2

ftp5.au.freebsd.org ftp.br.freebsd.org ftp2.br.freebsd.org [ OK ] Cancel

[ Select a site that's close! ]

Media FTP server pilih menu kedua pada Choose Installation Media. Dilanjutkan dengan lokasi ftp server yang diinginkan. Menu selanjutnya adalah option yang harus disini antara lain nama komputer, domain, ip address gateway, name server, ip address komputer itu sendiri dan netmasknya. Menu berikutnya adalah pemilihan interface, bila anda menggunakan ethernet NE2000/compatible pilih misal ed0. Dilanjutkan dengan alamat ftp server yang dituju. Jika anda memilih URL tulislah lengkap seperti misal :

Please remote ftp or in the

Value Required specify the URL of a FreeBSD distribution on a ftp site. This site must accept either anonymous you should have set an ftp username and password Options screen.

A URL looks like this: ftp://<hostname>/<path> Where <path> is relative to the anonymous ftp directory or the home directory of the user being logged in as. ftp://ftp.umm.ac.id/pub/FreeBSD/ [ OK ] Cancel

Dan pilihlah menu Commit. Pertama system akan memformat hardisk anda menjadi bagian bagian label yang digunakan untuk FreeBSD file system. Dilanjutkan dengan koneksi ke CDROM atau ke ftp server (tergantung dengan pilihan installasi). Saat installasi ada tiga buah terminal yang dapat anda pakai yaitu console ttyv0 ttyv1 dan ttyv4 atau dengan cara menekan tombol alt f1, alt-f2 dan alt-f4. Alt-f1 berisi menu installasi dengan memperlihatkan tampilan prosentase installasi, sedangkan pada alt-f2 merupakan tampilan verbose dari setiap aplikasi source yang terinstall dalam system. Sedangkan pada terminal alt-f4 disana terdapat promt /bin/sh yang sedang aktif, jika software telah terpasang lengkap maka dalam terminal tersebut anda dapat melakukan perintah perintah sesuai dengan keinginan anda. Tunggu hingga selesai installasi FreeBSD. Jika selesai anda akan menemukan menu pilihan installasi dari pilihan distribution. Langkah selanjutnya adalah anda menginstallasi software packages yang telah disertakan juga dalam FreeBSD.

Unit Produksi Internet UMM

12

1. Installasi FreeBSD - Panduan FreeBSD

3. Installasi Aplikasi (Packages FreeBSD)


Setiap versi terbaru dari FreeBSD terdapat aplikasi dasar untuk networking ataupun software lain yang dapat digunakan, hanya saja dengan kelengkapan software dasar saja dan terbatas. Untuk itu diperlukan program tambahan yang dibutuhkan pemakai FreeBSD telah menyertakan program program tersebut dalam packages FreeBSD.

FreeBSD Configuration Menu If you've already installed FreeBSD, you may use this menu to customize It somewhat to suit your particular configuration. Most importantly, you can use the Packages utility to load extra "3rd party" software not provided in the base distributions. X Exit Distributions Packages Root Password Fdisk Label User Management Console Time Zone Media Mouse Networking Startup Options XFree86 Desktop HTML Docs Exit this menu (returning to previous) Install additional distribution sets Install pre-packaged software for FreeBSD Set the system manager's password The disk Slice (PC-style partition) Editor The disk Label editor Add user and group information Customize system console behavior Set which time zone you're in Change the installation media type Configure your mouse Configure additional network services Configure system startup options View/Set various installation options Configure XFree86 Server Configure XFree86 Desktop Go to the HTML documentation menu (post-install) [ OK ] Cancel

[ Press F1 for more information on these options ]

Pilihlah select packages, sesuai dengan kelompok fungsi, seperti shell, language, mail dan sebagainya. Jika ingin melihat semua list program pilih All. Pilihlah shell (tcsh, bash), language (perl), mail (pine, elm) atau program program yang anda perlukan.

Package Selection To mark a package, move to it and press SPACE. If the package is Already marked, it will be unmarked or deleted (if installed). Items marked with a `D' are dependencies which will be auto-loaded. To search for a package by name, press ESC. To select a category, press RETURN. NOTE: The All category selection creates a very large submenu! If you select it, please be patient while it comes up.

Unit Produksi Internet UMM

13

1. Installasi FreeBSD - Panduan FreeBSD

All afterstep archivers astro audio benchmarks biology cad chinese comms Converters Databases

All available packages in all categories. Ports to support the AfterStep window manager. Utilities for archiving and unarchiving data. Applications related to astronomy. Audio utilities - most require a supported sound card. Utilities for measuring system performance. Software related to biology. Computer Aided Design utilities. Ported software for the Chinese market. Communications utilities. Format conversion utilities. Database software. [OK] Install

Bila anda menginginkan cara manual anda dapat mengambil dulu file file packages tersebut dengan ftp manual jika sourcenya terdapat di ftp site, bila terdapat dalam cdrom anda dapat masuk direktori /cdmnt/packages/All dan gunakan perintah sebagai berikut :
$ pkg_add <nama_filenya>

misal file pine-4.1.tgz (tgz adalah extensi untuk compressi tar dan gunzip). Dan program ini sudah merupakan paket jadi sudah terkompilasi.
$ pkg_add pine-4.1.tgz

Secara otomatis sistem akan mengupdate program tersebut.

Sedangkan untuk

menghapusnya anda dapat melihat dalam daftar database pkg dalam direktory /var/db/pkg.
$pkg_delete pine-4.1.tgz

Bila anda memiliki program UNIX system yang tidak ada dalam daftar packages FreeBSD, karena program untuk sistem UNIX masih merupakan source C maka dapat dicompile dalam FreeBSD, hanya memerlukan perubahan perubahan option seperti link library dan sebagainya. Installasi dari source asli atau tidak dalam bentuk packages FreeBSD tidak memiliki fasilitas uninstall. Ada baiknya setiap installasi software source langsung seperti ini diletakkan pada direktory khusus. Sehingga jika ingin uninstall terhadap software tersebut tinggal menghapus softwarenya.

Unit Produksi Internet UMM

14

Anda mungkin juga menyukai