FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine...
Transcript of FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine...
![Page 1: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/1.jpg)
1
FreeBSD Installation
ISOC/AfNOG
Michuki Mwangi (Original materials by Hervey Allen – NSRC)
![Page 2: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/2.jpg)
2
READ THE INSTRUCTIONS Theseslidescontainexplicitinstruc2onstoallowyoutosuccessfullyinstallFreeBSDandGnomeonyourmachines.
Ifyoudonotreadtheinstruc2onsontheseslidesand/ordonotpaya:en2ontowhatischoseninthescreensduringinstalla2onyouareverylikelytoinstallincorrectly.
So:
READTHEINSTRUCTIONS
Youinstructorsthankyou:‐)
![Page 3: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/3.jpg)
3
Virtual Machine Setup • The steps that follow will guide you on how to install
FreeBSD in a virtualized environment on a Windows XP Host Machine
• The Windows XP Machines are installed with Virtualization Software called VirtualBOX
• The FreeBSD installation will be a Guest Operating System
• 1st Step is to Insert FreeBSD DVD into the DVD Drive
• 2nd Step Open VirtualBox under Windows programs and click on New
![Page 4: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/4.jpg)
4
Type Name FreeBSD and click NEXT
![Page 5: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/5.jpg)
5
Select RAM to 512 and click NEXT
![Page 6: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/6.jpg)
6
Since it’s a new installation default is to create new HDD (leave as is and click NEXT
![Page 7: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/7.jpg)
7
click NEXT
![Page 8: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/8.jpg)
8
Select Dynamic expanding storage and click NEXT
![Page 9: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/9.jpg)
9
Set Size to be 50GB and click NEXT
Type in here for exact size
![Page 10: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/10.jpg)
10
Set Size to be 50GB and click NEXT
Click here to set location of the file.
![Page 11: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/11.jpg)
11
Set location of file to Disk E:
![Page 12: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/12.jpg)
12
Verify that location is E:\FreeBSD.vdi and size is 50GB click NEXT
![Page 13: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/13.jpg)
13
Click on Finish to create the Virtual Hard Disk as predefined
![Page 14: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/14.jpg)
14
Click on Finish to create the new Virtual Machine as predefined
![Page 15: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/15.jpg)
15
Click Start to start the FreeBSD VM
![Page 16: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/16.jpg)
16
Click NEXT to proceed with installation setup
![Page 17: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/17.jpg)
17
Select the Drive where the FreeBSD CD/DVD is inserted
![Page 18: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/18.jpg)
18
Since it’s a CD/DVD install verify and click FINISH
![Page 19: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/19.jpg)
19
Capture & Screen The Keyboard and Mouse are captured automatically
when you click onto the VirtualBox/VM instance
To release the Keyboard & Mouse from the Virtual Machine press on the keyboard the RIGHT CTRL Key
To view the VM in full screen select from Menu Full Screen
To return VM in window mode press Rigth CTRL + F
![Page 20: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/20.jpg)
20
FreeBSD Installation
![Page 21: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/21.jpg)
21
Installation: How to use the keyboard Pleasefollowthestepsexactlyasdescribed
FreeBSDInstallerKeyboardUsage
1. UsetheSPACEkeytochoosehighlightedop2ons.2. UsetheTABkeytomovetoconfirma2onssuchas“<OK>”,
thenpressENTER.
Generallydon’tusetheENTERkeytoselectop2ons,suchasitemstoinstall.Thiswillnotwork!Instead,youwilldeselectwhatyouwishtoinstall.
![Page 22: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/22.jpg)
22
Installation: How to use the Keyboard Pleasefollowthestepsexactlyasdescribed
FreeBSDInstallerKeyboardUsage
1. UsetheSPACEkeytochoosehighlightedop2ons.2. UsetheTABkeytomovetoconfirma2onssuchas“<OK>”,
thenpressENTER.
Generallydon’tusetheENTERkeytoselectop2ons,suchasitemstoinstall.Thiswillnotwork!Instead,youwilldeselectwhatyouwishtoinstall.
![Page 23: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/23.jpg)
23
Installation: How to use the Keyboard Please follow the steps exactly as described
FreeBSDInstallerKeyboardUsage
1. UsetheSPACEkeytochoosehighlightedop2ons.2. UsetheTABkeytomovetoconfirma2onssuchas“<OK>”,
thenpressENTER.
Generallydon’tusetheENTERkeytoselectop2ons,suchasitemstoinstall.Thiswillnotwork!Instead,youwilldeselectwhatyouwishtoinstall.
Not following these steps is the number one problem people encounter when installing FreeBSD.
![Page 24: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/24.jpg)
24
![Page 25: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/25.jpg)
25
Select Keyboard
![Page 26: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/26.jpg)
26
Select to Install FreeBSD
Use the tab key to select “Select” then enter to continue.
![Page 27: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/27.jpg)
27
Click OK to continue
![Page 28: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/28.jpg)
28
How Much of the Disk to Use
We will use our Entire Disk. Press “A” to do this.
![Page 29: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/29.jpg)
29
Using the Entire Disk for FreeBSD
We chose the entire disk. Now press “Q” to leave this screen and continue with installation.
![Page 30: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/30.jpg)
30
Confirm Geometry of Disk
If you see this warning…
We select “Yes” as our machines are “modern”
![Page 31: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/31.jpg)
31
Options to Boot Your Machine
If you have more than one Operating System on your machine, then you may want to choose “BootMgr”. In our case our machines will only have FreeBSD, so select “Standard”, tab to “OK” and press enter.
![Page 32: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/32.jpg)
32
Click OK to continue
![Page 33: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/33.jpg)
33
Now “Slice Up” your Disk (Partition)
The entire Disk is our FreeBSD partition. We now slice up our partition. Note that “ad0” is chosen by default.
![Page 34: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/34.jpg)
34
Now “Slice Up” your Disk (Partition)
Choose “Auto Defaults” by pressing “A”, then exit the screen by pressing “Q”. We will let the installer partition our slice for us. But, you can specify this any way you want. This is a very important step in the installation.
![Page 35: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/35.jpg)
35
Install Kern-Developer
CAREFUL! You must do these steps exactly as follows: 1) Select “Kern-Developer” 2) Press the SPACE bar (Do not press enter!)
![Page 36: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/36.jpg)
36
Install English Documentation
1) Move your cursor to “English Documentation” and press the SPACE bar (not enter!) 2) Press the TAB key to highlight “OK” and then press ENTER
![Page 37: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/37.jpg)
37
Install Ports – BIG Software Collection
Select “Yes” and press enter.
![Page 38: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/38.jpg)
38
Choosing Distribution Part 2
Now we are returned to our Distribution selection menu Select “X Exit” Now use the tab key to select “OK” and press enter.
![Page 39: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/39.jpg)
39
Your Method of Installation
Select “CD/DVD”, tab to “OK” and press enter to continue.
![Page 40: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/40.jpg)
40
What you’ll see on the screen…
![Page 41: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/41.jpg)
41
Initial install finishes
Press ENTER to continue with configuration.
![Page 42: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/42.jpg)
42
Post Install Configuration
Be sure “Yes” is chosen and press enter to continue
We are now presented with a series of questions about items to configure after installation. Make the selections as shown.
![Page 43: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/43.jpg)
43
Choose a Network Interface
Our hardware is using the “em0” driver for the network interface cards (NICs) installed in our machines. Be sure this is highlighted, use TAB to select OK and press ENTER.
![Page 44: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/44.jpg)
44
IPv6
Select “No” and press enter. We may configure IPv6 later in the week.
![Page 45: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/45.jpg)
45
Use DHCP for Network?
Select “No” and press enter. We will manually configure our network information as our machines are servers.
![Page 46: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/46.jpg)
46
Configure Network
Use TAB to move between fields. Once done, tab to “OK” and press enter. Note: change “pcXX” to the actual name of your PC (pc1-pc30).
![Page 47: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/47.jpg)
47
More Configuration
<== Choose “Yes” here.
<= Choose “Yes”
![Page 48: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/48.jpg)
48
More Configuration continued
Note we choose “Yes” here.
![Page 49: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/49.jpg)
49
Configuring Time and Time Zone
First select “Africa” to determine what Time Zone we are located in. Tab to “OK” and press enter.
![Page 50: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/50.jpg)
50
![Page 51: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/51.jpg)
51
Configuring time zone cont.
Select “Yes” and press enter.
![Page 52: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/52.jpg)
52
Select “Yes” and press enter.
![Page 53: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/53.jpg)
53
More Configuration
We will return to the package collection a bit later. For now be sure “No” is selected and press enter to continue.
![Page 54: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/54.jpg)
54
User Configuration
We will create an initial user a bit later. Choose “No” for now.
Your class instructor will give you the password.
![Page 55: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/55.jpg)
55
User Configuration Cont.
Verify the password. Then you will see...
Select “No” and press enter to continue.
![Page 56: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/56.jpg)
56
Finishing Installation
We are back at our original screen. As we are done, select “Exit Install” and press enter.
![Page 57: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/57.jpg)
57
Finishing Installation
Select “Yes” and press enter. Be sure to remove your FreeBSD 8.0 DVD-ROM from your machine.
After rebooting you can log in as “root” with the password you were given in class.
Our next set of instructions will lead you through the installation of the GNOME desktop manager, the xorg server and a current version of the Firefox web browser.
![Page 58: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/58.jpg)
58
This page intentionally left blank.
![Page 59: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/59.jpg)
59
Installing additional packages After you have logged in on your machine as the “root” user
you will be presented with a “#” prompt. At this prompt type the command:
# sysinstall
You will be presented with the same menu that you saw when starting your FreeBSD installation. This time, however, we are going to do some “post-install configuration of FreeBSD”.
Continue ==>
![Page 60: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/60.jpg)
60
Installing additional packages
Select “Configure”, tab to “Select” and press enter.
![Page 61: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/61.jpg)
61
Installing GNOME: Packages
Next select “Packages”, tab to “OK” and press enter.
![Page 62: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/62.jpg)
62
Additional packages: Install Media
Select “CD/DVD”, tab to “OK” and press enter.
![Page 63: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/63.jpg)
63
Installing GNOME: Package Selection
Move down the list of packages, Select “gnome”, tab to “OK” and press enter.
![Page 64: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/64.jpg)
64
Installing GNOME: Package Selection
There are a lot of Gnome packages. We are looking for the meta package, or “gnome2-2.26.3”. Move your cursor to this line and then press the space bar to select this. Notice Dependencies are also selected by this action.
![Page 65: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/65.jpg)
65
Installing additional packages
You are returned to the Package Selection screen. Don’t choose Install yet. Now scroll down to the “www” category…
![Page 66: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/66.jpg)
66
Install additional packages
Highlight “www”, tab to OK and press enter.
![Page 67: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/67.jpg)
67
Install Firefox 3.5
Scroll down the list of packages until you find “firefox-3.5.4,1”, press the space bar to select the package then tab to OK and press enter.
![Page 68: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/68.jpg)
68
Additional packages cont.
You will be returned to the category list with www highlighted. Again, don’t press install, instead start scrolling down the list until…
![Page 69: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/69.jpg)
69
Additional packages cont.
You are returned to the Package Selection screen. Don’t choose Install yet. Now scroll down to the “x11” category…
![Page 70: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/70.jpg)
70
Additional packages cont.
…you highlight x11. Use tab to highlight OK and press enter.
![Page 71: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/71.jpg)
71
Additional packages: xorg
Scroll down the list to the meta-package “xorg-7.4_2” – Press the space bar to select the package, then tab to OK and press enter.
![Page 72: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/72.jpg)
72
Additional packages
You will be returned to the category list with x11 highlighted. Now, do select install and press enter.
![Page 73: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/73.jpg)
73
Additional packages: verify choices
Be sure “OK” is chosen and then press enter to install KDE and xorg. (diagram above is just an example)
![Page 74: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/74.jpg)
74
Additional packages: installing
You will see a lot of packages being installed. Installation will take a few minutes. Once installation has completed you will see the original sysinstall screens again…
Note: installation of these packages may take close to an hour. If this is the case we may do something else in class while they are installing.
![Page 75: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/75.jpg)
75
Installing GNOME: Config Menu
You are returned to the sysinstall Configuration Menu. Be sure “X Exit” is chosen, tab to “OK” and press enter.
![Page 76: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/76.jpg)
76
Installing GNOME: Exit Menu
We are returned to the sysinstall Main Menu. Use tab to select “X Exit Install” and press enter. You are almost done.
![Page 77: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/77.jpg)
77
Installing Gnome: Cleanup Cont. You should now have the “#” prompt, once again, on your screen.
Now we must edit the file /etc/rc.conf and add one other line. This will cause Gnome to start whenever we boot our machine.
# ee /etc/rc.conf
Now go to the bottom of the file and press. Add the following entry:
gnome_enable=”YES”
Now press Esc Key, then type “a or press enter” to exit and save the file. You should be back at the “#” prompt.
![Page 78: FreeBSD Installation - AFNOG · FreeBSD in a virtualized environment on a Windows XP Host Machine • The Windows XP Machines are installed with Virtualization Software called VirtualBOX](https://reader031.fdocuments.net/reader031/viewer/2022022715/5c1296dc09d3f2f42a8b68d0/html5/thumbnails/78.jpg)
78
Installing Gnome: Finish Now we will create a user other than root that we will use when logging in with Gnome. We will call this user afnog and this will be our administrative user that we use throughout the workshop.
# pw useradd afnog -m -s /usr/local/bin/bash -G wheel
This user has a home directory, uses bash as its default shell and belongs to the wheel group. Be sure to set a password for this user:
# passwd afnog (Use the password given in class)
While not necessary, we will now reboot our machine so that you can see the new default behaviour. At the prompt type:
# shutdown -r now
Upon rebooting you should be presented with the Gnome graphical login prompt. Don't log in as the root user, rather use the afnog user to log in at this point. Enjoy!