Computer Center, CS, NCTU. Outline. FreeBSD version 8.2-RELEASE. Installing FreeBSD. From CD-ROM

Similar documents
Computer Center, CS, NCTU. Outline. FreeBSD version 9.0-RELEASE 9.1-RC1. Installing FreeBSD. From CD-ROM From USB

Outline. Computer Center, CS, NCTU. FreeBSD version. Installing FreeBSD. Build world and kernel. Software installation Appendix 8.

Computer Center, CS, NCTU. Outline. FreeBSD version 11.1-RELEASE. Installing FreeBSD. From CD-ROM From USB

Exercise 1 FreeBSD Installation. Announced Date: 2006/9/20 Due Date: 2005/10/4

SANOG VI IP Services Workshop: FreeBSD Install

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

PC-SYSINSTALL - A new system installer backend for PC-BSD & FreeBSD. By Kris Moore

Installation of Fedora 12 with CD

Title: Demonstrate the linux installation and administration settings.

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

Some Practical Matters. Introduction to Unix. What's Our Goal? Linux!= UNIX

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Chapter 02 Linux Installation and Usage

FreeBSD Installation ISOC/AfNOG

Acronis Disk Director 11 Home. Quick Start Guide

MASSACHUSETTS INSTITUTE OF TECHNOLOGY HAYSTACK OBSERVATORY WESTFORD, MASSACHUSETTS October, 2015

Linux Systems Administration Getting Started with Linux

FreeBSD Installation

Network Drawing. Computer Specs, I ve used. Installing a Network-Based Intrusion Detection

MODULE 02. Installation

3 INSTALLING WINDOWS XP PROFESSIONAL

Installation Guide-x86, x86-64

PARALLELS SERVER 4.0 FOR MAC BARE METAL EDITION README

Hardening servers for the modern internet

Deploying Cisco UCS Central

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018

Embedded lightweight unix

Installing caos with Cinch on CDROM

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

Booting Up and Shutting Down. lctseng / Liang-Chi Tseng

Amahi Instruction Manual

CompTIA Linux Course Overview. Prerequisites/Audience. Course Outline. Exam Code: XK0-002 Course Length: 5 Days

RHEL 5 Essentials. Red Hat Enterprise Linux 5 Essentials

Installing VMware vsphere 5.1 Components

Install Windows XP. The best way install Windows XP is to do a clean install. It is not difficult to perform a clean installation.

Build your own NAS with OpenMediaVault

Installing Ubuntu Server

Contents at a Glance COPYRIGHTED MATERIAL. Introduction...1 Part I: Becoming Familiar with Enterprise Linux...7

Red Hat Operating System Installation Tips

Parallels Server 4.0 for Mac Bare Metal Edition

Step 2. Brun Windows Password Recovery Enterprise to

ABOUT ZEPCAM SOFTWARE INSTALLATION MANAGEMENT AND BACKUPS. Description What is it Installation requirement Server requirement

Ftp Get Command Line Windows 7 Bootable Usb

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

Introduction to Linux

Installing Linux (Chapter 8) Note packet # 4. CSN 115 Operating Systems Ken Mead Genesee Community College. Objectives

How to Deploy a Barracuda NG Vx using Barracuda NG Install on a VMware Hypervisor

INSTALLATION. Security of Information and Communication Systems

Introduction to Linux. Fundamentals of Computer Science

V Workstation Imaging

RAP Installation README

System Manager Unit (SMU) Hardware Reference

How To Fix Regedit Windows Xp Install Bootable Usb Flash Disk

Chapter 2: System and Network Architecture. Chapter 4: Configuration of the Server and Client Machines. Chapter 5: Starting a Functional Test

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14

How To Reinstall Grub In Windows 7 With Cd Rom

How to Use This Lab Manual

Using UCS-Server Configuration Utility

ASIANUX SERVER 3 SP1 INSTALLATION GUIDE

Lab E2: bypassing authentication and resetting passwords

INF322 Operating Systems

IPBrick - Version 4.2 Installation Manual. iportalmais - Serviços de Internet e Redes, Lda.

Quick Start Guide for Intel FPGA Development Tools on the Microsoft* Azure* Platform

XD10004: How to Install VMware ESX Server 3.5 on VMware Workstation 6.5 as a VM

About This Book. Who Should Use This Book. Highlighting. Case Sensitivity in AIX. iii

Ftp Command Line Manual Windows Username Password Linux

CS 486 Capstone Project Software Design Specification (Revision 1.0) Submitted to Dr. Doerry

CST Algonquin College 2

Southern Maine Community College Information Technology Professor Howard Burpee. Installing Windows Server 2012

Installing or booting DSS V6 from a USB flash drive or other writable media starting with the ZIP file

IPBrick - Version 5.0 Installation Manual. iportalmais - Serviços de Internet e Redes, Lda.

Introduction to Linux

Install CPS All In One on VMWare Virtual Player 12

VMware vsphere Storage Appliance Installation and Configuration

Installing Ubuntu 8.04 for use with ESP-r 8 May 2009 Jon W. Hand, ESRU, Glasgow, Scotland

Embedded Systems Ch 3A Linux Development Environment

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

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

Installing MediaWiki using VirtualBox

User. Applications. Operating System. Hardware

How To Fix Regedit Windows Xp Installation >>>CLICK HERE<<<

FUJITSU Software ServerView Suite ServerView Installation Manager

INSTALLATION. Security of Information and Communication Systems. Table of contents

Installing Cisco StadiumVision Director Software from a DVD

CCNA Discovery Server Live CD v2.0

CSDA UNIT I. Introduction to the LAB environment. Practical classes Lab 0. Computer Engineering Degree Computer Engineering.


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

Linux Essentials Objectives Topics:

EaseUS Disk Copy User Guide

Pluggable Authentication Module (2) directory. /etc/pam.d. config files with sections. auth authentication functions

WHITE PAPER. Instant openmosix. How to build a working openmosix cluster without touching a compiler

FreeBSD Overview Comparison with Linux. Welcome. Class Schedule. Some Practical Matters. Introduction. SANOG VI IP Services Workshop

Manual Install Ubuntu Server From Usb No Cd

Installation Manual InfraManage.NET Installation Instructions for Ubuntu

Manual Format Windows 7 With Cd Steps To

Back Up/Restore Hard Drives And Partitions With CloneZilla Live

Parallels Server 5 Bare Metal

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

Transcription:

FreeBSD changlp

Outline FreeBSD version 8.2-RELEASE Installing FreeBSD From CD-ROM 2

FreeBSD Version

FreeBSD Branches/Tags Three parallel development branches: -RELEASE Latest Release Version: 8.2 (Feb, 2011) http://www.freebsd.org/releases/ Upcoming 9.0 -STABLE Tested new features and bug fixes MFC: Merge From Current -CURRENT Working space for FreeBSD developers Current version: 9.0-CURRENT http://www.freebsd.org/releng/ 4

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 Choosing the FreeBSD Version That Is Right For You: http://www.freebsd.org/doc/en/articles/version-guide/ 5

FreeBSD Installation

FreeBSD view of Disk (1) MBR Slice 1 (ad0s1) Windows XP (NTFS) Slice 2 (ad0s2) Linux (EXT3FS) Slice 3 (ad0s3) bsdlabel Slice 4 (ad0s4) Extended Partiton ad0s3a ad0s3b ad0s3c ad0s3d / (root) swap 7 D-Disk NTFS Linux Swap ad0s3e /home

FreeBSD View of Disk (2) What is the meaning of ad0s1a Disk name ad: da: IDE, SATA 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/ad0s1) Slice 2 (/dev/ad0s2) Slice 3 (/dev/ad0s3) Slice 4 (/dev/ad0s4) Slice 5 (/dev/ad0s5) Slice 6 (/dev/ad0s6) 8

Installing FreeBSD Steps 1. Knowing your hardware 2. Obtaining installation file 3. Booting from CD/DVD/usb-stick 4. FreeBSD installer: sysinstall 1. Partition 2. Label 3. Distribution 4. Media 5. Commit 5. Post-installation configurations 9

1. Knowing Your Hardware CPU 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 Brand IP Netmask Default gateway Hostname DNS Other Special device pciconf -lv 10

2. Obtaining Installation File FreeBSD installation CD ftp://ftp.tw.freebsd.org/pub/iso-images-amd64/8.2/freebsd-8.2- RELEASE-amd64-bootonly.iso ftp://ftp.tw.freebsd.org/pub/iso-images-amd64/8.2/freebsd-8.2- RELEASE-amd64-disc1.iso ftp://ftp.tw.freebsd.org/pub/iso-images-amd64/8.2/freebsd-8.2- RELEASE-amd64-dvd1.iso.xz ftp://ftp.tw.freebsd.org/pub/iso-images-amd64/8.2/freebsd-8.2- RELEASE-amd64-memstick.img Burn CD, DVD, or USB! 11

3. Booting from CD (1) 12

3. Booting from CD (2) Enter 13

3. Booting from CD (3) Just use default or 14

3. Booting from CD (4) 這丟係愛台灣啦!!! 15

3. Booting from CD (5) Use USA ISO keymap because we don t have our keyboard layout 16

4. FreeBSD Installer Being experts! 17

4. FreeBSD Installer: Custom 5 major steps 3. Partition your disk 4. Label your disk 5. Choose what to install 6. Choose how to install 7. Do it! 18

4. FreeBSD Installer: Partition (1) If you have more than one disk You can choose one to partition it. 19

4. FreeBSD Installer: Partition (2) Create slice Press C to create a new slice / Press A to use entire disk 20

4. FreeBSD Installer: Partition (3) Press S to toggle freebsd as bootable Press Q to next step (Select Boot Manager) 21

4. FreeBSD Installer: Partition (4) Choose boot manager Standard BootMgr None Write to disk MBR Install a simple boot manager to disk MBR Leave it unchanged 22

4. FreeBSD Installer: Label (1) BSDlabel Editor 23

4. FreeBSD Installer: Label (2) Create label in ad0s1 and specify size Press C to create bsdlabel swap, / ( and /home, /var, ): size type mount point Press S to toggle SoftUpdates (async written to disk) 24

4. FreeBSD Installer: Label (3) Press Q to next step (back to custom installation options menu) 25

4. FreeBSD Installer: Distributions (1) Custom 26

4. FreeBSD Installer: Distributions (2) 27

4. FreeBSD Installer: Distributions (3) Select base ; binary kernels ; Generic kernel supports SMP man ; Manual src ; FreeBSD Source Code ports ; FreeBSD Software Collection 28

4. FreeBSD Installer: Media Choose 1 CD/DVD if you have 8.2 Release CD disk 1 or DVD Choose 3 FTP Passive if your NIC is detected Choose 9 USB if you have 8.2 memstick usb stick 29

4. FreeBSD Installer: Media (2) Install through FTP Passive Specify ftp server 30

4. FreeBSD Installer: Media (3) Select NIC IPv6 and DHCP 31

4. FreeBSD Installer: Media (4) Specify your IP information 32

4. FreeBSD Installer: Commit (1) Just do it! 33

4. FreeBSD Installer: Commit (2) Last Chance! We can take no responsibility for lost disk contents! Don t forget backup! 34

4. FreeBSD Installer: Commit (3) Start to format disk and install operating system You can press Alt + F2 to see the install detail There is a shell start in Alt + F4 35

5. Post Installation Recommend you to do it! Root Password User and group management Time Zone Asia Taiwan Networking interfaces, sshd 36

5. Post Installation: Root Password 37

5. Post Installation: User Management (1) Create a group for users Create a user for yourself Least privilege 38

5. Post Installation: User Management (2) 39

5. Post Installation: User Management (3) 40

5. Post Installation: Time Zone 41

5. Post Installation: Networking (1) Interfaces 42

5. Post Installation: Networking (2) sshd 43

5. Post Installation: Done! Be sure to remove booting media. You would not want restart whole process again 44

FreeBSD Handbook Chapter 2 Installing FreeBSD http://www.tw.freebsd.org/doc/en/books/handbook/install.html Chinese resources http://www.tw.freebsd.org/doc/zh_tw/books/handbook/install.html 45

Login SSH (Secure Shell) PuTTY: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Chinese Environment: http://www.cs.nctu.edu.tw/help/putty.html 46

Play with Your FreeBSD Useful commands passwd, chsh, chfn, chpass ls ps, top mkdir/rmdir cp/mv/rm write man login/exit/logout/screen Editor: ee, vim, joe, etc. Connecting: ssh/telnet Email reader: mutt, etc. News reader: tin File Transmittion: ftp, ncftp, lftp, scp, wget, curl, etc. Compilers: gcc, g++, javac, etc. Scripting: perl, php, ruby, python etc. 47

Help Yourself man (1) man pages (manual) Contain descriptions of Individual command. % man cp File format. % man rc.local Library routines. % man strcpy 48

Help Yourself man (2) Command % man [section] title % man printf (printf command) % man 3 printf (C Standard printf func.) % man k exit (keyword search) Man pages organization AT&T BSD Contents 1 1 User-Level commands and applications %man man 49 2 2 System calls and kernel error code 3 3 Library calls 4 5 Standard file format 5 7 Miscellaneous files and documents 6 6 Games and demonstrations 7 4 Device Drivers and network protocols 1m 8 System administration commands 9 9 Obscure kernel specs and interfaces

Conventions Syntax of commands: Anything between [ & ] are optional. Anything followed by can be repeated. {a b} you should choose one of them. Example: bork [-x] { on off } filename bork on /etc/hosts bork x off /etc/hosts /etc/passwd bork x /etc/hosts bork -h /etc/hosts X X 50