Buku Saku
Pengenalan FreeBSD:
Langkah-Langkah
Instalasi FreeBSD
dengan
VirtualBox
FreeBSD
disusun oleh :
Andy Hidayat
andy@idaayusukerti.comSekilas Tentang FreeBSD
Apa itu FreeBSD ?
FreeBSD adalah Sistem Operasi canggih yang bisa digunakan pada mesin x86 (termasuk Pentium
dan Athlon), amd64 (termasuk Opteron, Athlon 64 dan EM64T), UltraSPARC, IA-64 (Intel Itanium Prosesor),
PC-98 dan arsitektur mesin ARM.
FreeBSD berasal dari BSD, versi UNIX yang dikembangkan oleh Universitas California di Berkeley.
Apa saja kelebihannya ?
FreeBSD menawarkan fitur-fitur canggih pada jaringan, stat
belum ada pada sistem operasi komersil terbaik saat ini
tas, keamanan dan kecocokan yang masih
SolusiIntomet yang handal
FreeBSD termasuk apa yang dipertimbangkan sebagai implementasi referensi untukaplikasi TCP / IP,
Protocol Stack 4.4BSD sangat ideal untuk aplikasi jaringan dan internet.
FreeBSD menyediakan layanan jaringan yang kuat dibawah beban yang sangat berat dan menggunakan_
memori yang sangat efisien untuk mempertahankan respon yang baik dari beberapa ribu proses pemakai
secara simultan,
‘Memiliki apikasi yang berjumlah besar
FreeBSD didalamnya terdapat lebih dari 14000 paket-paket aplikasi yang siap di install seperti : Apache,
‘Samba, MySQL, OpenOffice.org, KDE, GNOME, Mplayer, dan lain-lain.
FreeBSD menyediakan sistem ports yang mengunduh sumbernya dari internet atau dari CD-ROM dan
binari-binari yang sudah ter-compile, termasuk build dan install sistem pendukung-pendukungnya
‘Semua operasi ini diselesaikan secara transparan untuk si pemakai
Rata-rata binari GNU/Linux dapat dijalankan pada sistem FreeBSD, sebagai contoh : Acrobat Reader,
Oracle, SAP/R3, Mathematica, Quake3 dan lain-lain tanpa adanya degradasi kecepatan pada sistem.
Instalasi FreeBSD sangatiah mudah
FreeBSD dapat di install dari berbagai media penyimpanan yang ada seperti CD-ROM, DVD-ROM,
floppy disk, Pita Magnetik, Partisi MS-DOS atau jika kita mempunyai koneksi jaringan, kita dapat
menginstalinya melalui anonymous FTP atau NFS,
FreeBSD itu gratis alias tidak borbayar
FreeBSD didapatkan secara gratis tanpa biaya dan termasuk sumber kode lengkap didalamnya.
Fokus utama sumber kode pada sistem FreeBSD adalah dibawah lisensi standard BSD.
Dimana berlawanan dengan Lisensi GPL yang digunakan kernel inux, lisensi BSD mengijinkan
distribusi hasil kerja tanpa harus menyertakan sumber kodenya. Hal ini yang memberikan kebebasan
perusahaan-perusahaan untuk menggunakan kode FreeBSD sebagai dasar produk berbayar mereka,
yang terkadang apa yang sudah mereka buat dilepaskan kembali ke komunitas.
Dapat menangani beberapa tugas sekaligus
FreeBSD dapat digunakan untuk desktop, server, aplikasi tertanam. Sekarang FreeBSD bukan hanya
sistem operasi server tetapi tujuan utamanya terietak pada si pemakainya, khususnya pendatang-pendatang
baru yang berasal dari Windows dan GNU/Linux.
eB The Power To Serve
)) FreeBSD,
http://wwwidaayusukerti.com hito://wwwfreebsd.org hal.Pre-Instalasi FreeBSD
(VirtualBox)
‘Apa saja yang harus dipersiapkan ?
Hal-Hal yang dibutuhkan untuk instalasi FreeBSD :
1. Sebuah Komputer (PC/Laptop) sebagai Host.
2. Aplikasi VirtualBox
3. FreeBSD-8.2-RELEASE-i386-dvd1.iso
Porsiapan VirtualBox
1. Buka Jendela VirtualBox, klik bagian NEW dan ikuti langkah-langkah untuk
membuat Virtual Machine 8.2 sesuai gambar di bawah. klik next
9 ons tte
VirtualBox gbr.1
‘The Power To Serve
( ) FreeBSD,
http://wwwidaayusukerti.com hito://wwwfreebsd.org hal. 22. Lanjut ke bagian alokasi RAM atau memori. untuk tujuan tutorial ini kita pakai
RAM 512mb. Hal itu bisa kita lakukan dengan mengisi kolom atau menggeser
jarum ke arah kanan. klik next
(9. atte =
ese
(Gsm.
VirtualBox gbr.2
3. lanjutkan dengan membuat virtual disk baru untuk FreeBSD, klik next
(9. atte =
2 ® The Power To Serve
¢ FreeBSD,
http://wwwidaayusukerti.com hitor//wwwfreebsd.org, hal.34. Sekarang masuk kedalam tipe hardisk yang diinginkan untuk virtual machine
FreeBSD ini, klik next untuk melanjutkan sesuai settingan yang ada sampai ke
bagian alokasi virtual hardisk yang di inginkan. seperti biasa, kita pakai settingan
standard yang ada. klik next
(9. atte
23a
Ser
Dentin
915)
VirtualBox gbr-4
5. Masuk kebagian berapa banyak ruang hardisk yang dibutuhkan. untuk tujuan
pembelajaran ini kita buat sebanyak 20gb saja. kita bisa mengisi kolom angka
disudut paling kanan, atau menggeser jarum panah ke arah kanan. klik next
Sn voting
Site? CD ae
Ser a
aa anil
alOF @ €
Deets
ola)
VirtualBox gbr.5
. ® The Power To Serve
¢ FreeBSD,
hitor//wwwfreebsd.org,
http://wwwidaayusukerti.com hal. 46. Pembuatan Virtual Machine kita sudah selesai, berikut dilampirkan rincian detail
tentang virtual Machine FreeBSD yang baru saja kita buat. Jika sudah yakin,
silahkan tekan tombol create untuk melanjutkan.
9a trae =e
Site?
ene
<0
Dentin
oe 915)
VirtualBox gbr.6
7. FreeBSD 8.2 sudah dibuat, skrg kita lanjutkan dengan memberikan beberapa
pengaturan agar dapat menginstall FreeBSD 8.2 ke mesin virtual ini. Arahkan cursor
ke FreeBSD 8.2, dan klik settings.
—_ =— |
Qe92 = a
Buen
Sate
—
ola)
VirtualBox gbr.7
°P The Power To Sene
¢ FreeBSD,
http://wwwidaayusukerti.com hitor//wwwfreebsd.org, hal. $8. Disini akan muncul jendela settings, yang dimana kita akan biarkan semuanya
secara standard dan menuju ke bagian storage untuk mengarahkan iso dvd
FreeBSD 8.2 untuk instalasi.
9a trae
2222 ose
Be
or
€
ola)
VirtualBox gbr.8
9. Pengaturan sudah selesai, akan ada dua buah media penyimpanan. Yang paling
di posisi storage adalah virtual hardisk dan yg dibawahnya adalah iso dvd FreeBSD.
9a trae
2222 ose
Be
or
anne
2 omen
ola)
VirtualBox gbr.9
°P The Power To Sene
¢ FreeBSD,
hitor//wwwfreebsd.org,
http://wwwidaayusukerti.com
hal. 610. Mari kita klik tombol Start untuk menghidupkan mesin virtual FreeBSD kita
Beginilah tampilan awal booting FreeBSD. Tunggu sampai selesai nanti kita akan
menuju jendela pilihan negara, pilih indonesia di nomor 102. Hit Enter untuk lanjut.
Poets)
eee
Peer meat
pe to loader prompt
co
eee oes
eee
atc
VirtualBox gbr.9
11. Karena negara yang kita pilih Indonesia, maka muncul jendela pilihan map
keyboard. Settingan standard awal keyboard adalah USA Keyboard. Hit Enter
untuk melanjutkan.
[2 Freets0 82 Reming - Ore Vt Vieslfox
Please choose a country, region, or group.
Select an Item using [SPACE] or CENTER]
Guyana
Hattt
Heard Island and MeDonald Islands
cancel
VirtualBox gbr.10
FJ The Power To Serve
FreeBSD,
hito://wwwfreebsd.org
http://wwwidaayusukerti.com hal.7The sustew console driver for FreeBSD defaults to a standard
“emer ican” keyboard map. Users in other courtries (or with
different keyboard preferences) my uish to choose one of the
other keymaps. below.
Note that sysinstali itself only uses the part of the keyboard map
nich 1s required to generate the ANSI character subset, Bt your
Choice of keymap will also be saved for later (fuller) use.
Ukrainian KOIO-U keymap
Ukrainian HOIO-U-KOTO-R keynap (alter?
US standard (Cape ac L-Control?
US Boorak keymap
US [eft handed Duorak keynap
US right handed Toorak keumap
US standard optimized for EMACS
US traditional UNIX-workstation
em cancel
BOTEIT Osa
VirtualBox gbr.11
12. Masuk ke menu Sysinstall FreeBSD, sebagai permulaan kita akan memilih
standard \nstalasi, Hit Enter untuk melanjutkan.
Welcome to the FreeBSD installation and configuration tool. Please
select one of the options below by using the errow keys or typi
first character of the option vane you're interested in. Invoke an
option with [SPACE] or [ENTENI. To exit, use [TAB] to move to Exit.
E
eee eee
Spiess Fendt epee aah tetera
Derpestsinctll coatlgaration of EreckeD
Thetallation instructions, MEADME, ete.
Seictibetetdicee
fee tee eae tene ete vietentertteee
Repair mode with CDNORZDUD/Tloppy on start chell
(es res ar
Lead detault tnstall conf iperation
Glossery of function:
(SAGEM x Exit Install
Glo Bc
‘The Power To Serve
FreeBSD,
http://wwwidaayusukerti.com hito://wwwfreebsd.org hal.813. Jendela fdisk akan muncul, baca baik-baik perintah-perintahnya
Hit Enter untuk melanjutkan.
Oracle VM Vitae
Im the next menu, you Will need to set up a DUS-style
“tais)
scheme far your hard disk
) partitioning
TE you simply wish to devote all disk space
to FreedSb Coveruriting anything else that might be on the disk(s) selected)
then use the (A)II conmand.-to select the defanlt partitioning scheme fol lowed
by a (Quit. If you uish to allocate only frec space to FreeiSD, move toa
partition marked “unuses
(19629
nm
VirtualBox gbr.13
14, Tekan huruf C untuk membuat Slice, hit Enter untuk FreeBSD Slice/165 lalu
tekan Q untuk melanjutkan ke bagian boot manager.
FreeiS0 82 [Running - Oace VM Virwalfox =)
ij reer tn
Cero)
Cea
Perro
ono aCe
eae sere
as ae
teeiseaerers
ricer aT ae
cee
oeeatets
Sera
Peer
ects’
se Fl or 7 to yet more help, arrow keys to
8 1G Glace
VirtualBox gbr.14
The Power To Serve
FreeBSD,
http://wwwidaayusukerti.com http://www freebsd.org
hal.915. Hit Enter untuk memilih standard boot, karena kita hanya kana menggunakan
FreeBSD sebagai OS Tunggal
Pos USC ee eet ee eee ferres
peste) es eer
Enter type of partition to create:
Pressing Enter ulll choose the default, a native FreessD
slice Clype 165). Other popular values are 6 for a
DoS FaT partition, 131 for a Limx extzre partition, or
130 for @ Linwe sump partition
Note: If you chouse a non-FreeSD partition type, it will not
be formatted or otherwise prepared, It will simply reserve space
for you to use another tool, such as DUS format, to later format
and actually use the partition
VirtualBox gb 15
16. Masuk ke jendela partisi BSD, hit Enter untuk melanjutkan.
uring - Once VE Vitualox }
Hou you need to create BSD partitions inside of the fdisk partition(s)
dust created, If you have 4 reasonable amount of disk space (GR or more)
and don’t have any special requirements, simply use the (Aduto command to
2llocate space automatically. If you have more specific needs or just don’t
Care for the layout chosen by (Auta, press T1 for mare information on
manual layout.
GO?
VirtualBox gbr.16
The Power To Serve
FreeBSD,
http://wwwidaayusukerti.com hito://wwwfreebsd.org hal. 1017. Untuk bagian partisi BSD ini, mari kita serahkan pembagian partisinya secara
otomatis dengan menekan tombol A lalu dilanjutkan dengan tombol Q
\ ee
OI Oe eck eos)
Create eee Pras!
recess ited pore eos
eerie eae TTY
se Fl or 7 to get more help, arrow keys to select
so. (Beaten
VirtualBox gb. 17
18. Lanjut ke bagian distribusi yang akan diinstall, kita akan memilih minimal dengan
menekan space, lalu akan muncul tanda x lalu kita lanjut hit Enter.
ee850 5.2 [Runsingl - Oracle VM VitualBox
As a convenience, we provide several “canned” distribution sets.
These select uhat 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, imply 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] or [ENTER]. When finished, choose the
Exit item or move to the OK button with CTAB]
Exit this wenu (returning to previous)
AIL system sources and binaries
Reset selected distribution list to nothing
Fall sources, binaries and doc but no ga
Fall binaries
Average user
The Power To Serve
FreeBSD,
http://wwwidaayusukerti.com hito://wwwfreebsd.org hal. a119. Jendela media instalasi akan muncul, karena dari awal kita menggunakan iso
dvd untuk instalasi, maka kita akan memilih Install from cd/dvd. Lalu Jendela
last warning untuk instalasi muncul, hit enter untuk melanjutkan
] FreeBS0 82 [Rvnrinal - Oracle VM Vinaitox sie]
FreeBSD can he installed froma variety of different installation
nedia, ranging from floppies to an Internet PIP server. If you're
Installing FreeBSD from 4 supported CD/DUD drive then this is generally
the best media to use if you have no overriding reason for using other
media
IE
Install from an TTP serocr
Install from an PIP server through a firewall
Install from an PTP server through « http proxy
Install from a DOS partition
Install aver HFS
Install] from an existing f esystem
Install from 4 floppy disk set
Install from a USE drive
Go to the Options screen
MM Comcel
BOPFIG Slasicr |
VirtualBox gbr.19
20. Proses Instalasi sedang berjalan.
7) Free 8.2 Running] - Ore VM Vitwalox
Er eee eee een re Ce Ce ee ee
VirtualBox gbr.20
FJ The Power To Serve
FreeBSD,
http://wwwidaayusukerti.com http://www freebsd.org
hal. 1221. Instalasi berhasil
Congratulations? You now have FreeBSD installed on your system.
We itl now move on ta the final configuration questions:
For any option you do not wish to configure, simply select
No.
IP you wish to re-enter this utility after the system is up, you
may do so by typing: /usr/sbin/sysinstall.
98)
BOIE IG OErarce
VirtualBox gbr.21
22. Hit Enter, kita akan masuk ke pengaturan jaringan. Hit Enter lagi, pilih no
karena kita tidak menggunakan IPvé6 (untuk saat ini), lalu pilin DHCP dan hit Enter.
Ethernet netuark devices’
BOGF5G
VirtualBox gbr.22
The Power To Serve
FreeBSD,
http://wwwidaayusukerti.com hito://wwwfreebsd.org hala3.23, Masukkan host & domain sesuai nama yang diinginkan. untuk tutorial ini nama
host "vbox" dengan domain “freebsd-indonesia.org”. karena kita memilih DHCP
dari awal, maka otomatis ip address, default gateway & subnet terisi secara otomatis.
Hit Enter di bagian OK untuk melanjutkan
1) Freeis0 82 Romig) - Oracle Vitultox
Netuork Configuration
Powaln'
ebsd
jones ia org|
Thu Gateuny: Name server:
10.0.2.2 192.168.0.254
Configuration for Interface em
IPod Address: Netmsk?
10.6.2.15 255.255.255.0
Extra options to ifconfig Cusually empty):
cAnceL,
VirtualBox gbr.23
24. Hit Enter untuk pilihan standardnya karena kita tidak memakai mesin ini
sebagai gateway. Hit Enter Lagi karena kita tidak memakai inetd & servicenya,
VirtualBox gbr.9
FJ The Power To Serve
FreeBSD,
http://wwwidaayusukerti.com http://www freebsd.org
hal. 3425. pilih YES untuk mengaktifkan SSH login, lalu hit Enter. Selanjutnya hanya hit
ENTER sesuai standard yang ada atau NO , sampai masuk ke pengaturan waktu
hit YES & enter.
VirtualBox gbr25
26. Masuk ke UTC, hit No & enter secara default.
ichine’s CMOS Clock set to UTCT If It Is set to local time,
"t imow, please choose M0 heret
VirtualBox gbr 26
FJ The Power To Serve
freeBso,
http://wwwidaayusukerti.com hito://wwwfreebsd.org hal. 1527. Lanjut ke Region "Asia", Country "Indonesia", Locally "Java & Sumatra"
hit Enter untuk melanjutkan
Select country or region
‘Afghanistan
Armenia
Azerbaijan
Gast @ south Borneo, Celebes, Bali, Musa Tengarre, west Timor
Tefen Jaya & the Moluccas
cancel
| BOP FIO shone
VirtualBox gbr27
28. Hit YES untuk pengaturan mouse, testing dan hit enter untuk melanjutkan.
You can cut and peste text in the text console by running the mouse
daemon. Specifu's port and ¢ protocol type of your mouse ani enable
the mouse daenon. If you don’t uant this feature, select 6 to disable
the daemon.
Once you’ ve enabled the mouse daemon, you can specify "/dev/sysmouse””
25 your mouse device and “Systouse” or "MouseSystems” es mouse
protocol uhen running the X configuration utility (see Conf iyuration
eww).
gs
Disable the muse daemon
BOF EOD oO Src
VirtualBox gbr:30
The Power To Serve
FreeBSD,
http://wwwidaayusukerti.com hito://wwwfreebsd.org hal. 1629. Untuk tahap instalasi ini, kita akan memilih NO untuk pilihan distribusi
paket-paket tambahan. hit enter untuk masuk ke akun user.
GJ Free8SO 82 Runring]- Grace VM Virtua
ould vou Like to add any initial user accounts to the susten?
Adding atleast o: lint for yourself at this stage is suggested
Since vorking as the “rot” user is dangerous Cit is-easy to do
uhich edversely affect the entire system).
VirtualBox gbr 31
30. Masukkan username & password yang diinginkan. jika user yang kita buat ingin
memiliki akses sebagai root, ketik "wheel" dibagian group. hit Enter untuk melanjutkan.
lalu pilih exit.
J Free8S0 82 [Reming - Ore Vt Vieslfox =
Please choose a country, region, or group.
Select an Item using [SPACE] or CENTER]
Guyana
Hattt
Heard Island and MeDonald Islands
Tran, Islamic Republic of
Ireland
Isle of Man
Israel
MOM cance
VirtualBox gbr.32
FJ The Power To Serve
FreeBSD,
http://wwwidaayusukerti.com hito://wwwfreebsd.org hal. 3731. Jendela password untuk root akan muncul, masukkan password root yang
diinginkan.Jangan kaget jika tidak ada aktifitas dilayar, karena password yang diketik
tidak akan muncul meskipun biasanya dgn tanda (*).
2 frs850 82 Running] - race YM Viewaiox zi
Now you must set the system manager’ s password,
Ithis tz the password you 11 usc 40 log in es”
(00.3
D/O Sie
VirtualBox gbr30
50 82 [nein
PPI O Srsnc
VirtualBox gbr34
FJ The Power To Serve
@ freeBsO.
http://wwwidaayusukerti.com hito://wwwfreebsd.org hala32. peringatan terakhir sebelum keluar dari sysintall, pilih NO jika sudah yakin.
I a reso 22 ha
Visit the general configuration menu for a chance to set
any last options?
VirtualBox gbr 35
33. And Your done !!! keluar dari instalasi.. reboot.
select one of the opt:
option with (SPACE! on CENTERT
in a custom Installation (for experts)
Do-post-install configuration of FreeBSD
Installation instructions, README, etc.
Select keyboard type
View/Set various Installation options
Repair made with CDAON/DUDA loppy or start shell
Upgrade an existing system
Load default install configuration
Glossary of functions
Select (ETI
VirtualBox gbr.36
FJ The Power To Serve
FreeBSD,
http://wwwidaayusukerti.com hito://wwwfreebsd.org hal. 1934. Login Screen FreeBSD. Jika muncul login screen seperti ini dan tidak ada
masalah pada saat booting. berarti instalasi FreeBSD nya berhasil. Good Job !!
Ee oe cet
BOPP IO Olsironce
VirtualBox gbr37
35. FreeBSD on the system Screen Shoot
oer: ae et
ERLE MMU Sec Ta ea
VirtualBox gbr:38
FJ The Power To Serve
FreeBSD,
http://wwwidaayusukerti.com hito://wwwfreebsd.org hal20