Source string Read only

(itstool) path: sect1/title

12/120
Context English State
_ translator-credits
Build Your Own FreeBSD Update Server
Jason Helfman <email>jgh@FreeBSD.org</email>
<personname> <firstname>Jason</firstname> <surname>Helfman</surname> </personname> <affiliation> <_:address-1/> </affiliation>
<year>2009</year> <year>2010</year> <year>2011</year> <year>2013</year> <holder role="mailto:jgh@FreeBSD.org">Jason Helfman</holder>
FreeBSD is a registered trademark of the FreeBSD Foundation.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this document, and the FreeBSD Project was aware of the trademark claim, the designations have been followed by the <quote>™</quote> or the <quote>®</quote> symbol.
Intel, Celeron, Centrino, Core, EtherExpress, i386, i486, Itanium, Pentium, and Xeon are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
AMD, AMD Athlon, AMD Opteron, AMD Phenom, AMD Sempron, AMD Turion, Athlon, Élan, Opteron, and PCnet are trademarks of Advanced Micro Devices, Inc.
$FreeBSD: head/en_US.ISO8859-1/articles/freebsd-update-server/article.xml 54301 2020-06-28 07:16:58Z carlavilla $
This article describes building an internal <application>FreeBSD Update Server</application>. The <link xlink:href="https://svnweb.freebsd.org/base/user/cperciva/freebsd-update-build/">freebsd-update-server</link> is written by Colin Percival <email>cperciva@FreeBSD.org</email>, Security Officer Emeritus of FreeBSD. For users that think it is convenient to update their systems against an official update server, building their own <application>FreeBSD Update Server</application> may help to extend its functionality by supporting manually-tweaked FreeBSD releases or by providing a local mirror that will allow faster updates for a number of machines.
Acknowledgments
This article was subsequently printed at <link xlink:href="https://people.freebsd.org/~jgh/files/fus/BSD_03_2010_EN.pdf">BSD Magazine</link>.
Introduction
Experienced users or administrators are often responsible for several machines or environments. They understand the difficult demands and challenges of maintaining such an infrastructure. Running a <application>FreeBSD Update Server</application> makes it easier to deploy security and software patches to selected test machines before rolling them out to production. It also means a number of systems can be updated from the local network rather than a potentially slower Internet connection. This article outlines the steps involved in creating an internal <application>FreeBSD Update Server</application>.
Prerequisites
To build an internal <application>FreeBSD Update Server</application> some requirements should be met.
A running FreeBSD system.
At a minimum, updates require building on a FreeBSD release greater than or equal to the target release version for distribution.
A user account with at least 4 GB of available space. This will allow the creation of updates for 7.1 and 7.2, but the exact space requirements may change from version to version.
An <citerefentry><refentrytitle>ssh</refentrytitle><manvolnum>1</manvolnum></citerefentry> account on a remote machine to upload distributed updates.
A web server, like <link xlink:href="@@URL_RELPREFIX@@/doc/en_US.ISO8859-1/books/handbook/network-apache.html">Apache</link>, with over half of the space required for the build. For instance, test builds for 7.1 and 7.2 consume a total amount of 4 GB, and the webserver space needed to distribute these updates is 2.6 GB.
Basic knowledge of shell scripting with Bourne shell, <citerefentry><refentrytitle>sh</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
Configuration: Installation &amp; Setup
Download the <link xlink:href="https://svnweb.freebsd.org/base/user/cperciva/freebsd-update-build/"> freebsd-update-server</link> software by installing <package>devel/subversion</package> and <package>security/ca_root_nss</package>, and execute:
<prompt>%</prompt> <userinput>svn co https://svn.freebsd.org/base/user/cperciva/freebsd-update-build freebsd-update-server</userinput>
Update <filename>scripts/build.conf</filename> appropriately. It is sourced during all build operations.
Here is the default <filename>build.conf</filename>, which should be modified to suit your environment.
# Main configuration file for FreeBSD Update builds. The
# release-specific configuration data is lower down in
# the scripts tree.

# Location from which to fetch releases
export FTP=ftp://ftp2.freebsd.org/pub/FreeBSD/releases<co xml:id="ftp-id"/>

# Host platform
export HOSTPLATFORM=`uname -m`

# Host name to use inside jails
export BUILDHOSTNAME=${HOSTPLATFORM}-builder.daemonology.net<co xml:id="buildhost-id"/>

# Location of SSH key
export SSHKEY=/root/.ssh/id_dsa<co xml:id="sshkey-id"/>

# SSH account into which files are uploaded
MASTERACCT=builder@wadham.daemonology.net<co xml:id="mstacct-id"/>

# Directory into which files are uploaded
MASTERDIR=update-master.freebsd.org<co xml:id="mstdir-id"/>
ComponentTranslation
This translation Translated FreeBSD Doc/articles_freebsd-update-server Introduction
The following strings have the same context and source.
Translated FreeBSD Doc/articles_gjournal-desktop Introduction
Translated FreeBSD Doc/articles_leap-seconds Introduction
Translated FreeBSD Doc/articles_linux-emulation Introduction
Translated FreeBSD Doc/articles_mailing-list-faq Introduction
Translated FreeBSD Doc/articles_pam Introduction
Translated FreeBSD Doc/articles_pr-guidelines Introduction
Translated FreeBSD Doc/articles_vm-design Introduction
Translated FreeBSD Doc/articles_problem-reports Introduction
Translated FreeBSD Doc/articles_geom-class Introduction
Translated FreeBSD Doc/articles_linux-users Introduction
Translated FreeBSD Doc/articles_releng Introduction
Translated FreeBSD Doc/books_arch-handbook Introduction
Translated FreeBSD Doc/articles_bsdl-gpl Introduction
Translated FreeBSD Doc/books_faq Introduction
Translated FreeBSD Doc/books_developers-handbook Introduction
Translated FreeBSD Doc/books_fdp-primer Introduction
Translated FreeBSD Doc/articles_building-products Introduction
Translated FreeBSD Doc/articles_committers-guide Introduction
Translated FreeBSD Doc/books_porters-handbook Introduction
Translated FreeBSD Doc/articles_rc-scripting Introduction
Translated FreeBSD Doc/articles_remote-install Introduction
Translated FreeBSD Doc/books_handbook Introduction
Translated FreeBSD Doc/articles_fonts Introduction
Translated FreeBSD Doc/articles_freebsd-questions Introduction

Loading…

No matching activity found.

Browse all component changes

Glossary

English English
No related strings found in the glossary.

Source information

Source string comment

(itstool) path: sect1/title

Flags
read-only
Source string location
article.translate.xml:73
String age
a year ago
Source string age
a year ago
Translation file
articles/freebsd-update-server.pot, string 14