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

Slides:



Advertisements
Similar presentations
INSTALLING LINUX.  Identify the proper Hardware  Methods for installing Linux  Determine a purpose for the Linux Machine  Linux File Systems  Linux.
Advertisements

Linux+ Guide to Linux Certification, Second Edition
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.
UNIX Introduction. Computer Center, CS, NCTU 2 UNIX History (1)  Before Multics there was chaos, and afterwards, too Multics:  Multiplexed information.
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.
Module 8 Linux Installation Procedures 8.1 Pre-Installation Tasks 8.2 Installing and Configuring Linux 8.3 X Server 8.4 Post Installation Configuration.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Introduction to Course Content. Computer Center, CS, NCTU 2 Outline  What SA Should do.  What You can expect to learn from this course.  What attitude.
Linux Install. Resources Guide to Linux Installation and Administration, Nicholas Wells, Course Technology, 2000.
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.
Va-scanCopyright 2002, Marchany Unit 3 – Installing Solaris Randy Marchany VA Tech Computing Center.
SUSE Linux Enterprise Desktop Administration Chapter 1 Install SUSE Linux Enterprise Desktop 10.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
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.
System Administration. Computer Center, CS, NCTU 2 What System Administrator Should do? (1)  Ordinary list Install new system, programs and OS updates.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,
CHAPTER Windows NT Server Installation. Chapter Objectives Give an overview of the installation process Outline the pre-installation and post- installation.
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.
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.
UNIX Introduction. Computer Center, CS, NCTU 2 UNIX History  Before Multics there was chaos, and afterwards, too Multics:  Multiplexed information and.
ITR3 lecture 6: intoduction to UNIX Thomas Krichel
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.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
 Before Multics there was chaos, and afterwards, too › Multics:  Multiplexed information and Computing Service  1965 ~ 1969  Bell labs, GE, MIT 
Microsoft Windows XP Professional MCSE Exam
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
1 FreeBSD Installation AFNOG Chix 2011 Blantyre, Malawi 31 st Oct - 4 th Nov 2011 Dorcas Muthoni and Evelyn Namara.
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
FreeBSD. Computer Center, CS, NCTU 2 Outline  FreeBSD version 8.1-RELEASE  Installing FreeBSD From CD-ROM  Build world and kernel Update source Rebuild.
2: Operating Systems Networking for Home & Small Business.
Chapter 5 Server Installation NT Server Requirements NT Server File Systems Installation.
Operating Environment. Installation and Upgrade Options Solaris suninstall program Solaris Web Start Installation Custom Jumpstart procedure Standard.
FreeBSD 9.1 Installation bsdinstall.
Installing VMware ESX and ESXi
Homework #01 FreeBSD Installation
Guide to Linux Installation and Administration, 2e
FreeBSD.
System Administration Practice
Networking for Home and Small Businesses – Chapter 2
Booting Up 15-Nov-18 boot.ppt.
Installing Linux Redhat:
UNIX Introduction.
Networking for Home and Small Businesses – Chapter 2
Operating Systems Networking for Home and Small Businesses – Chapter 2 – Introduction To Networking.
Computer System Administration
System Administration Practice
Computer System Administration
Presentation transcript:

FreeBSD

Computer Center, CS, NCTU 2 Outline  FreeBSD version 9.2-RELEASE  Installing FreeBSD From CD-ROM From USB

FreeBSD Version

Computer Center, CS, NCTU 4 FreeBSD Branches/Tags  Three parallel development branches: -RELEASE  Latest Release Version: –9.2 (September, 2013) – -STABLE  Tested new features and bug fixes  MFC: Merge From Current -CURRENT  Working space for FreeBSD developers  Current version: –10.1-CURRENT –

Computer Center, CS, NCTU 5 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:

FreeBSD Installation

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

Computer Center, CS, NCTU 8 FreeBSD View of Disk (2)  What is the meaning of ad0s1a Disk name  ad:IDE, SATA  da:SCSI, usb stick  Replace { ad | da } by ada, and link to ada’s 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)

Computer Center, CS, NCTU 9 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

Computer Center, CS, NCTU 10 Pre-Installation Tasks  Another Hard Disk or Shrink a Partition on Your Hard Drive (20 G)  One IP (no private!!)  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 ftp://tw.freebsd.org/pub/releases/

Computer Center, CS, NCTU 11 bsdinstall (FreeBSD 9.2) – (1)  說明文件  下載點

Computer Center, CS, NCTU 12 bsdinstall (FreeBSD 9.2) – (2)  Install 、 Shell 、 Live CD 沒有要更改就直接選 Install

Computer Center, CS, NCTU 13 bsdinstall (FreeBSD 9.2) – (3)  Keymap( 更改鍵盤對應 ) 一般選 NO

Computer Center, CS, NCTU 14 bsdinstall (FreeBSD 9.2) – (4)  Selecting components to install

Computer Center, CS, NCTU 15 bsdinstall (FreeBSD 9.2) – (5)  Partitioning methods Shell – gpart(8) 、 fdisk(8) 、 bsdlabel(8)

Computer Center, CS, NCTU 16 bsdinstall (FreeBSD 9.2) – (6)  Guided Partitioning Select disk Replace { ad | da } by ada { ad | da }’s are linked to ada’s How to partition the disk  Entire Disk  Partition – use free space

Computer Center, CS, NCTU 17 bsdinstall (FreeBSD 9.2) – (7)  Guided Partitioning result

Computer Center, CS, NCTU 18 bsdinstall (FreeBSD 9.2) – (8)  Manual Partitioning

Computer Center, CS, NCTU 19 bsdinstall (FreeBSD 9.2) – (9)  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!!!

Computer Center, CS, NCTU 20 bsdinstall (FreeBSD 9.2) – (10)  Add partitions freebsd-boot  FreeBSD boot code. This partition must be first on the disk.

Computer Center, CS, NCTU 21 bsdinstall (FreeBSD 9.2) – (11)  Final confirmation

Computer Center, CS, NCTU 22 bsdinstall (FreeBSD 9.2) – (12)  Fetching  Checksum Verification  Extraction

Computer Center, CS, NCTU 23 Post-installation  Setting the root Password( 記得使用鍵盤上方的數字鍵 )

Computer Center, CS, NCTU 24 Post-installation  Network interfaces( 選擇網卡 )

Computer Center, CS, NCTU 25 Post-installation  Configuring IPv4 Networking (IPV4 、 DHCP -> yes , IPV6 -> no)

Computer Center, CS, NCTU 26 Post-installation  Setting the Time Zone Asia => Taiwan

Computer Center, CS, NCTU 27 Post-installation  Selecting Services to Enable

Computer Center, CS, NCTU 28 Post-installation  Enabling Crash Dumps (no)

Computer Center, CS, NCTU 29 bsdinstall (FreeBSD 9.2) – (13)  Post-installation root password Network interfaces  Wired – Static IPv4 / DHCP / Static IPv6 / SLAAC  Wireless  DNS Time Zone Services Add users

Computer Center, CS, NCTU 30 Post-installation  Add Users Username - hmwang Full name - Hsuan-min WANG Uid - User ID. Typically left blank. Login group - The user's group. Typically left. Invite user into other groups? - wheel Login class - Typically left blank for the 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".

Computer Center, CS, NCTU 31 Post-installation  Final Configuration

Computer Center, CS, NCTU 32 Login  SSH (Secure Shell) PuTTY:

Computer Center, CS, NCTU 33 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 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.

Computer Center, CS, NCTU 34 Help Yourself – man (1)  man pages (manual) Contain descriptions of  Individual command. –% man cp  File format. –% man rc.local  Library routines. –% man strcpy

Computer Center, CS, NCTU 35  Command % man [section] title  % man printf(printf command)  % man 3 printf (C Standard printf func.)  % man –k exit(keyword search)  Man pages organization AT&TBSDContents 11 User-Level commands and applications 22 System calls and kernel error code 33 Library calls 45 Standard file format 57 Miscellaneous files and documents 66 Games and demonstrations 74 Device Drivers and network protocols 1m8 System administration commands 99 Obscure kernel specs and interfaces %man man Help Yourself – man (2)

Computer Center, CS, NCTU 36 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 X bork -h /etc/hosts X

Computer Center, CS, NCTU 37 HOWTO - Shutdown  FreeBSD Shutdown shutdown -p now reboot