SlideShare a Scribd company logo
FreeBSD Software Management
Overview FreeBSD divides itself into two parts: the base operating system (the “world”) and the ports Open and NetBSD also do this, but in slightly different ways The world contains mostly the bits from /etc, /bin, /sbin, /usr/bin, /usr/sbin and some basic applications (login shells, a text editor) Ports are everything else, typically go to /usr/local (but this can be changed)
Base OS Two ways to upgrade the base OS: from binaries and from source Binary upgrades typically done from CD CD used can be either the release image from the FreeBSD project, or a custom-built one Source upgrades can be done per-machine, or built on one machine and distributed to a group Several versions within FreeBSD: RELENG, STABLE, CURRENT (and technology releases too, oh my!)
Ports Overview Like the base OS, ports can be installed from binary packages (freebsd.org) or built from source Source building has option to build binary packages, which can be distributed This allows for local customisations to be applied Ports have no concept of hierarchies such as xhier implements    - but it is possible they could be made to
What does this buy us? Differentiation between base OS and ports/packages means the latter cannot affect the former (less RPM-hell or SPs killing the OS) Relatively fine-grained control over all aspects of a system
Case Study: Offices of Development and Alumni Affairs We initially had one server (alumni), but wanted a development/test server (alumbak) as well Problem: how to keep them generally in sync, but allow for testing new releases and new applications? Built a third server, a “build master” (odaadev) Excess of hardware allowed for a fourth as well, a cvsup server (lowe)
Case Study – ODAA, part 2 lowe kept a copy of the CVS repository of FreeBSD sources (all versions, all ports) Pulled a copy to odaadev and built new releases (and packages) there Distributed built worlds and packages to alumbak for testing Once satisfied with setup, distributed same to alumni
Case Study: ODAA, part 3 Later, added a separate database server Distributed build system made making this DB server just like the others easy, but was flexible enough to allow for different kernels on the different machines
Applications at UW FreeBSD is well-suited (indeed, designed) for distribution across many hosts Challenge is adapting it to use in the UW environment Leveraging xhier a possibility, and there is a project team looking at this (early infancy)
Further Resources FreeBSD website:  www.freebsd.org Daemonnews:  www.daemonnews.org Mailing lists: freebsd-questions, freebsd-ports, freebsd-stable, freebsd-current Local resources:  www.freebsd.uwaterloo.ca  (Twiki hosted by Engineering Computing) Me!

More Related Content

PPT
FreeBSD - LinuxExpo
PPT
3_System_Requirements_and_Scaling
PDF
Lavigne aug11 bsdmag
PDF
Olf2012
PPT
Red Hat Enterprise Linux 7
PDF
Lavigne bsdmag-jan13
PPTX
RHCE (RED HAT CERTIFIED ENGINEERING)
PDF
600M+ Unsuspecting FreeBSD Users (MeetBSD California 2014)
FreeBSD - LinuxExpo
3_System_Requirements_and_Scaling
Lavigne aug11 bsdmag
Olf2012
Red Hat Enterprise Linux 7
Lavigne bsdmag-jan13
RHCE (RED HAT CERTIFIED ENGINEERING)
600M+ Unsuspecting FreeBSD Users (MeetBSD California 2014)

What's hot (20)

PPT
BPotter-L1-05
PDF
Oclug 2010
PDF
Dru lavigne servers-tutorial
PDF
Fsoss12
PDF
Flourish11
ODP
Linux internal
PDF
Fsoss2011
PDF
Rhel7 vs rhel6
PDF
Lavigne bsdmag-jan2012
PDF
Olf2013
PDF
Scale 2010: BSD for Linux Users
PDF
Lavigne bsdmag sept12
PDF
Posscon2013
PPTX
Embedded Linux/ Debian with ARM64 Platform
PDF
Lavigne bsdmag apr13
PPT
Red Hat Certified engineer course
PDF
Bsd ss
PPT
Basic Linux kernel
PDF
Tlf2013
PDF
Ilf2012
BPotter-L1-05
Oclug 2010
Dru lavigne servers-tutorial
Fsoss12
Flourish11
Linux internal
Fsoss2011
Rhel7 vs rhel6
Lavigne bsdmag-jan2012
Olf2013
Scale 2010: BSD for Linux Users
Lavigne bsdmag sept12
Posscon2013
Embedded Linux/ Debian with ARM64 Platform
Lavigne bsdmag apr13
Red Hat Certified engineer course
Bsd ss
Basic Linux kernel
Tlf2013
Ilf2012
Ad

Similar to freebsd-watitis (20)

PPT
Msu free bsd
PPT
FreeBSD Operating system overview Basics.ppt
PDF
Sweden11
PDF
Fedora Modularity
PDF
File system discovery
PPTX
Raspberry pi introduction
PPT
J+s
PPT
Linux training
PDF
Ilf2011
PDF
Scale9x sun
PDF
Docker-v3.pdf
PPT
Purdue CS354 Operating Systems 2008
PPT
Shell_Scripting.ppt
PPT
Edubooktraining
PPT
Intro tounix (1)
PDF
Webinar - Getting Started With Ceph
PPTX
bfarm-v2
PDF
Article may11 bsdmag
PPTX
File Context
PDF
Lecture1 Introduction
Msu free bsd
FreeBSD Operating system overview Basics.ppt
Sweden11
Fedora Modularity
File system discovery
Raspberry pi introduction
J+s
Linux training
Ilf2011
Scale9x sun
Docker-v3.pdf
Purdue CS354 Operating Systems 2008
Shell_Scripting.ppt
Edubooktraining
Intro tounix (1)
Webinar - Getting Started With Ceph
bfarm-v2
Article may11 bsdmag
File Context
Lecture1 Introduction
Ad

More from webuploader (20)

PPT
Michael_Hulme_Banff_Social_Networking
PDF
socialpref
PPT
cyberSecurity_Milliron
PPT
PJO-3B
PPT
LiveseyMotleyPresentation
PDF
FairShare_Morningstar_022607
PPT
saito_porcupine
PPT
ScalabilityAvailability
PPT
scale_perf_best_practices
PPT
7496_Hall 070204 Research Faculty Summit
PPT
Chapter5
PPT
PPT
visagie_freebsd
PPT
CLI313
PPT
CFInterop
PPT
WCE031_WH06
PPT
securing_syslog_onFreeBSD
PPT
bh-us-02-murphey-freebsd
PDF
PPT
COMO2006
Michael_Hulme_Banff_Social_Networking
socialpref
cyberSecurity_Milliron
PJO-3B
LiveseyMotleyPresentation
FairShare_Morningstar_022607
saito_porcupine
ScalabilityAvailability
scale_perf_best_practices
7496_Hall 070204 Research Faculty Summit
Chapter5
visagie_freebsd
CLI313
CFInterop
WCE031_WH06
securing_syslog_onFreeBSD
bh-us-02-murphey-freebsd
COMO2006

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Modernizing your data center with Dell and AMD
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Cloud computing and distributed systems.
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
KodekX | Application Modernization Development
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
A Presentation on Artificial Intelligence
Approach and Philosophy of On baking technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Modernizing your data center with Dell and AMD
Digital-Transformation-Roadmap-for-Companies.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
20250228 LYD VKU AI Blended-Learning.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Per capita expenditure prediction using model stacking based on satellite ima...
Empathic Computing: Creating Shared Understanding
Cloud computing and distributed systems.
Diabetes mellitus diagnosis method based random forest with bat algorithm
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Encapsulation_ Review paper, used for researhc scholars
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Understanding_Digital_Forensics_Presentation.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
KodekX | Application Modernization Development
Unlocking AI with Model Context Protocol (MCP)
A Presentation on Artificial Intelligence

freebsd-watitis

  • 2. Overview FreeBSD divides itself into two parts: the base operating system (the “world”) and the ports Open and NetBSD also do this, but in slightly different ways The world contains mostly the bits from /etc, /bin, /sbin, /usr/bin, /usr/sbin and some basic applications (login shells, a text editor) Ports are everything else, typically go to /usr/local (but this can be changed)
  • 3. Base OS Two ways to upgrade the base OS: from binaries and from source Binary upgrades typically done from CD CD used can be either the release image from the FreeBSD project, or a custom-built one Source upgrades can be done per-machine, or built on one machine and distributed to a group Several versions within FreeBSD: RELENG, STABLE, CURRENT (and technology releases too, oh my!)
  • 4. Ports Overview Like the base OS, ports can be installed from binary packages (freebsd.org) or built from source Source building has option to build binary packages, which can be distributed This allows for local customisations to be applied Ports have no concept of hierarchies such as xhier implements  - but it is possible they could be made to
  • 5. What does this buy us? Differentiation between base OS and ports/packages means the latter cannot affect the former (less RPM-hell or SPs killing the OS) Relatively fine-grained control over all aspects of a system
  • 6. Case Study: Offices of Development and Alumni Affairs We initially had one server (alumni), but wanted a development/test server (alumbak) as well Problem: how to keep them generally in sync, but allow for testing new releases and new applications? Built a third server, a “build master” (odaadev) Excess of hardware allowed for a fourth as well, a cvsup server (lowe)
  • 7. Case Study – ODAA, part 2 lowe kept a copy of the CVS repository of FreeBSD sources (all versions, all ports) Pulled a copy to odaadev and built new releases (and packages) there Distributed built worlds and packages to alumbak for testing Once satisfied with setup, distributed same to alumni
  • 8. Case Study: ODAA, part 3 Later, added a separate database server Distributed build system made making this DB server just like the others easy, but was flexible enough to allow for different kernels on the different machines
  • 9. Applications at UW FreeBSD is well-suited (indeed, designed) for distribution across many hosts Challenge is adapting it to use in the UW environment Leveraging xhier a possibility, and there is a project team looking at this (early infancy)
  • 10. Further Resources FreeBSD website: www.freebsd.org Daemonnews: www.daemonnews.org Mailing lists: freebsd-questions, freebsd-ports, freebsd-stable, freebsd-current Local resources: www.freebsd.uwaterloo.ca (Twiki hosted by Engineering Computing) Me!