Your SlideShare is downloading. ×
0
freebsd-watitis
freebsd-watitis
freebsd-watitis
freebsd-watitis
freebsd-watitis
freebsd-watitis
freebsd-watitis
freebsd-watitis
freebsd-watitis
freebsd-watitis
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

freebsd-watitis

536

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
536
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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

×