FreeBSD Installation ISOC/AfNOG

Similar documents
FreeBSD Installation

Sysinstall main menu. Move the cursor down by using the DOWN-ARROW and select Standard.

SANOG VI IP Services Workshop: FreeBSD Install

Sun VirtualBox Installation Tutorial

The Ip address / Name value should be: srvvcenter-cis

1) Use either Chrome of Firefox to access the VMware vsphere web Client.

This is Lab Worksheet/Installation 7

The Ip address / Name value should be: srvvcenter-cis

1) Use either Chrome of Firefox to access the VMware vsphere web Client.

This is Lab Worksheet 7 - not an Assignment

2. INSTALLATION OF SUSE

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes

Fedora Core: Made Simple

Power IQ DCIM Monitoring Evaluation Copy A Step-By-Step Guide

Your Own Virtual Playground. CS 1585 :: Doug McGeehan

Send the Ctrl-Alt-Delete key sequence to the Guest OS one of two ways: Key sequence: Ctlr-Alt-Ins Menu Sequence: VM / Guest / Send Ctrl-Alt-Delete

Optional Lab. Identifying the Requirements. Configuring Windows 7 with virtualization. Installing Windows Server 2008 on a virtual machine

Installation of the DigitalSystemsVM virtual machine

Lab - Install Windows 7 or Vista

Installation Guide: VirtualBox, Windows 10, and Microsoft Visio (Mac OS)

IT Essentials v6.0 Windows 10 Software Labs

AMD Ryzen Threadripper NVMe RAID Quick Start Guide RC Release Version 1.0

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

Image Backup and Recovery Procedures For Windows 7

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine

Nested Home Lab Setting up Shared Storage

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

Title: Demonstrate the linux installation and administration settings.

FireFox. CIS 231 Windows 2012 R2 Server Install Lab #1

3 INSTALLING WINDOWS XP PROFESSIONAL

FireFox. CIS 231 Windows 10 Install Lab # 3. 1) Use either Chrome of Firefox to access the VMware vsphere web Client.

You can use the WinSCP program to load or copy (FTP) files from your computer onto the Codd server.

Quick Installation Guide for RHV/Ovirt

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine

Ubuntu installation alongside windows 8/8.1 and 10

Installing FreePBX Official Distro

A Linux Virtual Machine for CS-2011 Projects

Installation of Lubuntu Linux, Koha, DSpace and other software using LibLiveCD

to arrive at the system information display. In MacOS X use the menus

Documentation. OTRS Appliance Installation Guide. Build Date:

QUICK START GUIDE Seawolf Bootable and Seawolf VA (Virtual Appliance)

WA2342 NoSQL Systems Comparison. Lab Server VM Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Installing Linux on JMU Computer-Science Department Removable Hard Drives for CS-450 and CS-550

CIS 231 Windows 7 Install Lab #2

CIS 231 Windows 2012 R2 Server Install Lab #1

NEC Versa 500D/550D Windows 98 Upgrade Information

TinyNet. Creating Virtual Machines

Get VirtualBox. VirtualBox/Ubuntu Setup. Go to and select Downloads.

WA2592 Applied Data Science and Big Data Analytics. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

CIS 231 Windows 10 Install Lab # 3

How to Use This Lab Manual

AMD NVMe/SATA RAID Quick Start Guide for Windows Operating Systems

Operating Systems Lab 1. Class topic: Installation of the operating system. Install Ubuntu on Oracle VirtualBox

SANS Institute - Operations Essentials. Operating System Installation Guidelines. Windows XP Professional Installation. Creating Boot Disks

WA2393 Data Science for Solution Architects. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Ubuntu installation alongside windows 8/8.1 and 10

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine

1) Use either Chrome of Firefox to access the VMware vsphere web Client. FireFox

dctrack Quick Setup Guide Virtual Machine Requirements Requirements Requirements Preparing to Install dctrack

Instructor. Suleiman Muhammad citp(mcpn,mncs) Institute of Computing and ICT, Ahmadu Bello University, Zaria.

CTEC1863/2018F Bonus Lab Page 1 of 5

Required Virtual Interface Maps to... mgmt0. virtual network = mgmt0 wan0. virtual network = wan0 mgmt1. network adapter not connected lan0

Cisco UCS C-Series. Installation Guide

MT LoadMaster Cisco UCS C-Series. Multi-Tenant LoadMaster for Cisco UCS C-Series Rack Server. Installation Guide

Lab: Advanced Installation of Windows XP. Introduction

SATA 150 Controller PCI Card user

RocIT Defender User s Guide ViSoS TM Virtual System on a Stick

VIRTUALIZATION MANAGER SINGLE SERVER EDITION GETTING STARTED GUIDE

Intel Server RAID Controller U2-1 Integration Guide For Microsoft* Windows NT* 4.0

Exercises: Post FreeBSD Install: SANOG VI IP Services Workshop

Configure Windows Server 2003 Release 2 Server Network File Share (NFS) as an authenticated storage repository for XenServer

Reset the Admin Password with the ExtraHop Rescue CD

Quick Start Guide. Citrix XenServer Hypervisor. Server Mode (Single-Interface Deployment) Before You Begin SUMMARY OF TASKS

Getting Started. System Requirements. Installation

EMS Installation. Workstation Requirements CHAPTER. EMS Lite (Windows 95/98) EMS NT (Windows NT 4.0)

ISO Installation Guide. Version 1.2 December 2015

How to install the software of ZNS8022

UNIVERGE SV8500 SOFTWARE UPGRADE PROCEDURE FROM S5 TO S6

Firewalls can prevent access to the Unix Servers. Please make sure any firewall software or hardware allows access through Port 22.

Set-up Instructions For Mercedes-Benz WIS CD-Rom

L AB: W I N D O W S 7 V I R T U A L I Z A T I O N

Network Management Utility

Redhat OpenStack 5.0 and PLUMgrid OpenStack Networking Suite 2.0 Installation Hands-on lab guide

Remote Access to the CIS VLab (308)

2012 Lenovo Server Client Performs All Steps from ISP Machine 1. Check the ISP CD/DVD drive and remove any disks that are currently loaded.

Reinstalling the Operating System on the Dell PowerVault 745N

WA2503 Hadoop Programming on the. Hortonworks Data Platform. Lab Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

KOHA UBUNTU In Compatible With. 1 P a g e

Labtainer Student Guide

Installation of the DigitalSystemsVM virtual machine

VRX VIRTUAL REPLICATION ACCELERATOR

Virtual Data Center (vdc) Manual

Quick Start Guide. Citrix XenServer Hypervisor. Router Mode (Out-of-Path Deployment) Before You Begin SUMMARY OF TASKS

VideoEdge NVR 4.1 to 4.21 Migration

Start Up and Shutdown Procedures (Unix)

If you re not using Citrix XenCenter 6.0, your screens may vary.

CA Agile Central Administrator Guide. CA Agile Central On-Premises

RAID Native SATA Ports PCI Host

User. Applications. Operating System. Hardware

Amahi Instruction Manual

Transcription:

FreeBSD Installation ISOC/AfNOG Michuki Mwangi (Original materials by Hervey Allen NSRC) 1

READ THE INSTRUCTIONS These slides contain explicit instruc2ons to allow you to successfully install FreeBSD and Gnome on your machines. If you do not read the instruc2ons on these slides and/or do not pay a:en2on to what is chosen in the screens during installa2on you are very likely to install incorrectly. So: READ THE INSTRUCTIONS You instructors thank you : ) 2

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 1 st Step is to Insert FreeBSD DVD into the DVD Drive 2 nd Step Open VirtualBox under Windows programs and click on New 3

4 Type Name FreeBSD and click NEXT

5 Select RAM to 512 and click NEXT

6 Since it s a new installation default is to create new HDD (leave as is and click NEXT

7 click NEXT

8 Select Dynamic expanding storage and click NEXT

Type in here for exact size Set Size to be 50GB and click NEXT 9

Click here to set location of the file. Set Size to be 50GB and click NEXT 10

11 Set location of file to Disk E:

12 Verify that location is E:\FreeBSD.vdi and size is 50GB click NEXT

13 Click on Finish to create the Virtual Hard Disk as predefined

14 Click on Finish to create the new Virtual Machine as predefined

15 Click Start to start the FreeBSD VM

16 Click NEXT to proceed with installation setup

17 Select the Drive where the FreeBSD CD/DVD is inserted

18 Since it s a CD/DVD install verify and click FINISH

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 19

20 FreeBSD Installation

Installation: How to use the keyboard Please follow the steps exactly as described FreeBSD Installer Keyboard Usage 1. Use the SPACE key to choose highlighted op2ons. 2. Use the TAB key to move to confirma2ons such as <OK>, then press ENTER. Generally don t use the ENTER key to select op2ons, such as items to install. This will not work! Instead, you will deselect what you wish to install. 21

Installation: How to use the Keyboard Please follow the steps exactly as described FreeBSD Installer Keyboard Usage 1. Use the SPACE key to choose highlighted op2ons. 2. Use the TAB key to move to confirma2ons such as <OK>, then press ENTER. Generally don t use the ENTER key to select op2ons, such as items to install. This will not work! Instead, you will deselect what you wish to install. 22

Installation: How to use the Keyboard Please follow the steps exactly as described FreeBSD Installer Keyboard Usage 1. Use the SPACE key to choose highlighted op2ons. 2. Use the TAB key to move to confirma2ons such as <OK>, then press ENTER. Generally don t use the ENTER key to select op2ons, such as items to install. This will not work! Instead, you will deselect what you wish to install. Not following these steps is the number one problem people encounter when installing FreeBSD. 23

24

25 Select Keyboard

Select to Install FreeBSD Use the tab key to select Select then enter to continue. 26

27 Click OK to continue

How Much of the Disk to Use We will use our Entire Disk. Press A to do this. 28

Using the Entire Disk for FreeBSD 29 We chose the entire disk. Now press Q to leave this screen and continue with installation.

Confirm Geometry of Disk If you see this warning We select Yes as our machines are modern 30

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. 31

32 Click OK to continue

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. 33

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. 34

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!) 35

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 36

Install Ports BIG Software Collection Select Yes and press enter. 37

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. 38

Your Method of Installation Select CD/DVD, tab to OK and press enter to continue. 39

40 What you ll see on the screen

Initial install finishes Press ENTER to continue with configuration. 41

Post Install Configuration We are now presented with a series of questions about items to configure after installation. Make the selections as shown. Be sure Yes is chosen and press enter to continue 42

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. 43

IPv6 Select No and press enter. We may configure IPv6 later in the week. 44

Use DHCP for Network? Select No and press enter. We will manually configure our network information as our machines are servers. 45

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). 46

More Configuration <= Choose Yes <== Choose Yes here. 47

More Configuration continued 48 Note we choose Yes here.

Configuring Time and Time Zone First select Africa to determine what Time Zone we are located in. Tab to OK and press enter. 49

50

Configuring time zone cont. Select Yes and press enter. 51

52 Select Yes and press enter.

More Configuration We will return to the package collection a bit later. For now be sure No is selected and press enter to continue. 53

User Configuration We will create an initial user a bit later. Choose No for now. Your class instructor will give you the password. 54

User Configuration Cont. Verify the password. Then you will see... Select No and press enter to continue. 55

Finishing Installation We are back at our original screen. As we are done, select Exit Install and press enter. 56

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. 57

58 This page intentionally left blank.

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 ==> 59

Installing additional packages Select Configure, tab to Select and press enter. 60

Installing GNOME: Packages Next select Packages, tab to OK and press enter. 61

Additional packages: Install Media Select CD/DVD, tab to OK and press enter. 62

Installing GNOME: Package Selection Move down the list of packages, Select gnome, tab to OK and press enter. 63

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. 64

Installing additional packages You are returned to the Package Selection screen. Don t choose Install yet. Now scroll down to the www category 65

Install additional packages Highlight www, tab to OK and press enter. 66

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. 67

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 68

Additional packages cont. You are returned to the Package Selection screen. Don t choose Install yet. Now scroll down to the x11 category 69

Additional packages cont. you highlight x11. Use tab to highlight OK and press enter. 70

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. 71

Additional packages You will be returned to the category list with x11 highlighted. Now, do select install and press enter. 72

Additional packages: verify choices Be sure OK is chosen and then press enter to install KDE and xorg. (diagram above is just an example) 73

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. 74

Installing GNOME: Config Menu You are returned to the sysinstall Configuration Menu. Be sure X Exit is chosen, tab to OK and press enter. 75

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. 76

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. 77

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! 78