FreeBSD.

Slides:



Advertisements
Similar presentations
Preparing for Installation Reviewing the list of tasks Working with DNS Recording information Backing up files Uncompressing the drive Disabling disk mirroring.
Advertisements

Working with Disks and Devices
BSD Partitions COEN 152/252 Computer Forensics. BSD Partitions Some BSD systems use IA32 hardware  Designed to co-exists with MS partitions.  Use DOS.
INSTALLING LINUX.  Identify the proper Hardware  Methods for installing Linux  Determine a purpose for the Linux Machine  Linux File Systems  Linux.
Linux Installation LINUX INSTALLATION. Download LINUX Linux Installation To install Red Hat, you will need to download the ISO images (CD Images) of the.
Linux+ Guide to Linux Certification, Second Edition
Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 5.1 © Copyright IBM Corporation 2008 Unit 2 Installing.
ITE PC v4.0 Chapter 1 1 Operating Systems Computer Networks– 2.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
Lesson 15 – INSTALL AND SET UP NETWARE 5.1. Understanding NetWare 5.1 Preparing for installation Installing NetWare 5.1 Configuring NetWare 5.1 client.
1 Web Server Administration Chapter 3 Installing the Server.
Lesson 5-Accessing Networks. Overview Introduction to Windows XP Professional. Introduction to Novell Client. Introduction to Red Hat Linux workstation.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Installing software on personal computer
Installing Linux Redhat: A how to guide in installing and configuring Redhat 6.2.
PacNOG 6: Nadi, Fiji Installing Ubuntu Server 9.04 Hervey Allen Network Startup Resource Center.
Step 1 - Start your PC and place your Windows XP CD in your CD/DVD- ROM drive. Your PC should automatically detect the CD and you will get a message saying.
SUSE Linux Enterprise Desktop Administration Chapter 1 Install SUSE Linux Enterprise Desktop 10.
Linux+ Guide to Linux Certification, Third Edition
CompTIA Linux+ Certification
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
1 Web Server Administration Chapter 3 Installing the Server.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Operating Systems Networking for Home and Small Businesses – Chapter 2 – Introduction To Networking.
Installing Microsoft Windows Server 2008 Lesson 2.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Chapter 2 Installation Overview. Planning the Installation Questions: –Size of partitions –Where to put partitions –Which software packages to install.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
1 Web Server Administration Chapter 3 Installing the Server.
W2K Server Installation It is very important that before you begin to install Windows 2000 Server, you must prepare for the installation by gathering specific.
1 FreeBSD Installation ISOC/AfNOG Michuki Mwangi (Original materials by Hervey Allen – NSRC)
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
Chapter 3 Installing Windows XP Professional. Preparing for installation Pre-installation requirement; ◦ Hardware requirements ◦ Hardware compatibility.
FreeBSD huanghs. Computer Center, CS, NCTU 2 Outline  FreeBSD version 9.0-RELEASE 9.1-RC1  Installing FreeBSD From CD-ROM From USB.
Installation Overview Lab#2 1Hanin Abdulrahman. Installing Ubuntu Linux is the process of copying operating system files from a CD, DVD, or USB flash.
Linux Administration. Pre-Install Different distributions –Redhat, Caldera, mandrake, SuSE, FreeBSD Redhat Server Install –Check HCL –Significant issues.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Operating Systems Networking for Home and Small Businesses – Chapter.
Cisco Discovery Home and Small Business Networking Chapter 2 – Operating Systems Jeopardy Review Darren Shaver – Kubasaki High School – Okinawa, Japan.
CHAPTER 2. Overview 1. Pre-Installation Tasks 2. Installing and Configuring Linux 3. X Server 4. Post Installation Configuration and Tasks.
1 FreeBSD Installation AFNOG X Cairo, Egypt May 2009 Hervey Allen.
FreeBSD. Computer Center, CS, NCTU 2 Outline  FreeBSD version 9.2-RELEASE  Installing FreeBSD From CD-ROM From USB.
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
2: Operating Systems Networking for Home & Small Business.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
 Each interface card that was detected correctly will be listed under the Network Devices section. Ethernet devices in Linux are named eth0, eth1, eth2,
Virtualisation Exercise Installing VirtualBox Installing FreeBSD in a virtual machine Chris Wilson Joel Jaeggli AfNOG 2012.
FreeBSD 9.1 Installation bsdinstall.
DIT314 ~ Client Operating System & Administration
Installing VMware ESX and ESXi
Homework #01 FreeBSD Installation
Guide to Linux Installation and Administration, 2e
Introduction to Operating Systems
Virtualization overview
Chapter 2 Objectives Identify Windows 7 Hardware Requirements.
Networking for Home and Small Businesses – Chapter 2
Operating System Module 1: Linux Installation
Booting Up 15-Nov-18 boot.ppt.
Networking for Home and Small Businesses – Chapter 2
Installing Linux Redhat:
Windows Virtual PC / Hyper-V
Networking for Home and Small Businesses – Chapter 2
Operating Systems Networking for Home and Small Businesses – Chapter 2 – Introduction To Networking.
Linux Operations and Administration
Networking for Home and Small Businesses – Chapter 2
Networking for Home and Small Businesses – Chapter 2
Storage Management Lecture 7.
Presentation transcript:

FreeBSD

Outline FreeBSD version Installing FreeBSD 11.1-RELEASE From CD-ROM From USB

FreeBSD Version

FreeBSD Branches/Tags Three parallel development branches: -RELEASE Latest Release Version: 11.1 (July, 2017) http://www.freebsd.org/releases/ Upcoming 10.4 (October, 2017) https://www.freebsd.org/releases/10.4R/schedule.html -STABLE Tested new features and bug fixes MFC: Merge From Current -CURRENT Working space for FreeBSD developers Current version: 12.0-CURRENT http://www.freebsd.org/releng/

FreeBSD Version FreeBSD–A.B.C–Type A: major version Number B: minor version Number C: slight patch version number Type: version type PRERELEASE BETA RC RELEASE STABLE CURRENT

FreeBSD Installation

FreeBSD View of Disk (1) Guided partitioning layout between UFS and Root on ZFS GPT Slice 1 (/dev/ada0p1) Slice 2 (/dev/ada0p2) Slice 3 (/dev/ada0p3) GPT Slice 1 (/dev/ada0p1) Slice 2 (/dev/ada0p2) Slice 3 (/dev/ada0p3) freebsd-boot freebsd-boot / freebsd-ufs freebsd-swap freebsd-swap zfs0

FreeBSD View of Disk (2) MBR Slice 1 (ada0s1) Slice 2 (ada0s2) Windows XP (NTFS) Linux (EXT4FS) bsdlabel ada0s3a ada0s3b ada0s3c ada0s3d ada0s3e / (root) swap Extended Partiton /home D Drive NTFS Linux Swap

FreeBSD View of Disk (3) What is the meaning of ada0s1a Disk name ada : IDE, SATA da: SCSI, usb stick Slice is equal to the partition of common use Primary partition: s1 ~ s4 Extended partition: s5 ~ sn Label in each slice a: root partition / b: swap c: entire slice defgh: /usr, /home, … MBR Slice 1 (/dev/ada0s1) Slice 2 (/dev/ada0s2) Slice 3 (/dev/ada0s3) Slice 4 (/dev/ada0s4) Slice 5 (/dev/ada0s5) Slice 6 (/dev/ada0s6)

Knowing Your Hardware CPU RAM HD VGA Sound Network Interface Card 32bit or 64bit Intel、AMD Architecture: amd64, i386 (, ia64, pc98, powerpc, sparc64) RAM Size HD Size, amount, SCSI or IDE VGA Brand, ram size Sound Brand Network Interface Card IP、Netmask、Default gateway、Hostname、DNS Other Special device pciconf -lv

Pre-Installation Tasks One PC, Laptop Another Hard Disk or Shrink a Partition on Your Hard Drive (20 GB) Or Virtual Machine Network Information IP address Subnet mask Default router IP address domain name of the local network DNS server IP address(es) Prepare the Installation Media http://ftp.tw.freebsd.org/pub/FreeBSD/releases/

bsdinstall – (1) An easy to use, text-based installation program Beginning with FreeBSD 9.0-RELEASE

bsdinstall – (2) Install、Shell、Live CD

bsdinstall – (3) Select keymap

bsdinstall – (4) Setting hostname e.g., xxxsa.cs.nctu.edu.tw

bsdinstall – (5) Selecting components to install

bsdinstall – (6) Partitioning methods Shell – gpart(8)、fdisk(8)、bsdlabel(8)

bsdinstall – (7) Auto (ZFS) Guided Root-on-ZFS Enter a pool name, disable forcing 4k sectors, enable or disable encryption Switch between GPT (recommended) and MBR partition table types, and select the amount of swap space

bsdinstall – (8) Auto (ZFS) Virtual Device type Stripe Mirror RAID10 RAID-Z 1, 2, 3

bsdinstall – (9) Fetching  Checksum Verification  Extraction

bsdinstall – (10) Post-installation root password Network interfaces Wired – Static IPv4 / DHCP / Static IPv6 / SLAAC Wireless DNS Time Zone Services System security hardening options Add users

Post-installation Setting the root Password

Post-installation Select a network interfaces

Post-installation Configuring IPv4 Networking

Post-installation Configuring IPv6 Networking IPv6 Stateless Address Auto configuration (SLAAC)

Post-installation Configuring DNS

Post-installation Setting the Time Zone 5 Asia  42 Taiwan

Post-installation Selecting services to be enabled at boot Enable ntpd Disable dumpdev

Post-installation Selecting system security hardening options

Post-installation Add Users Username - wangth Full name - Tse-Han Wang Uid - User ID. Typically left blank for default. Login group - The user's group. Invite user into other groups? - wheel Login class - Typically left blank for default. Shell - The interactive shell for this user. CSCC use tcsh. Home directory - The user's home directory. Home directory permissions - The default is usually correct. Use password-based authentication? - Typically "yes". Use an empty password? - Typically "no". Use a random password? - Typically "no". Enter password - The actual password for this user. Enter password again - The password must be typed again for verification. Lock out the account after creation? - Typically "no".

Post-installation Final Configuration

FreeBSD Handbook Chapter 2. Installing FreeBSD (FreeBSD 9.0 Release and Later) http://www.tw.freebsd.org/doc/en/books/handbook/bsdinstall.html Chinese resources http://www.tw.freebsd.org/doc/zh_TW/books/handbook/install.html Chapter 2 Installing FreeBSD 8.X and Earlier

bsdinstall – Manual (UFS) Appendix bsdinstall – Manual (UFS)

bsdinstall – Manual (UFS) Guided Partitioning result

bsdinstall – (7) Manual Guided Partitioning Select disk How to partition the disk Entire Disk Partition – use free space

bsdinstall – (8) Manual Manual Partitioning

bsdinstall – (9) Manual Choose a partitioning scheme Master Boot Record (MBR) 4 Primary Partition, 1 Extended Partition, multiple Logical Partition GUID Partition Table (GPT) 128 Partitions per disk DON’T use BSD!!!

bsdinstall – (10) Manual Add partitions freebsd-boot FreeBSD boot code. This partition must be first on the disk.

bsdinstall – (11) Manual Final confirmation