![]() |
|
|||||||
| OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
Quote:
Quote:
|
|
||||
|
Quote:
I mean I want build a OpenBSD package server that only provide service for me. I am not a stingy guy, but in China most people run funny Windows , only a few Linux user around me and I don't like Linux distributions any more, so I don't think I have to share this server with others.When I want install some package I can use my server instead of downloading packages from other OpenBSD package server. I think that can save time and is more reliable. Sometimes "pkg_add -u" stuck in somewhere, because no reliable package server is available. My plan is run OpenBSD as desktop, run FreeBSD as computation platform and build a server that provides:
I found a FreeBSD document: http://www.freebsd.org/doc/en/articles/hubs/ |
|
|||
|
It comes down to what packages do you want to build?
The larger applications I tend to build are:
Given that building huge applications such as OpenOffice can take more than a day with a ~1.5GHz i386 processor, faster hyperthreaded Xeon processors will build more quickly, but they cost more. A somewhat related thread can be found at the following: http://www.daemonforums.org/showthre...4070#post34070 Quote:
It is very easy to stress out about partition sizes. jggimi frequently points newbies to install new systems into one very large / partition until they have had enough experience to understand their own usage patterns. You may find this easier. The numbers I give above are numbers which work for me & what applications I build for myself. I would also be remiss if I don't mention that carefully studying Section 5 & Section 15 of the FAQ will be highly worth your time. As for manpages, studying release(8) & ports(8) are both highly recommended. |
|
||||
|
A friend of mine has a small network of OpenBSD platforms for his organization -- routers and firewalls, primarily, and a few desktops. He has a dedicated build machine, and he builds -current packages approximately once per month for his architecture, which I believe is i386. To the best of my recollection, he told me that a "make package" of the entire ports collection takes somewhere between three and four days on his build server.
Most -release/-stable users should never need to build ports, the exception being only those for which packages are not available. Those -current users on the popular architectures may be able to reduce their port-building efforts by using pre-built "snapshot" packages that are made available for convenience. Usability will depend on how close the packaging is to the particular -current system they are using, per FAQ 15.4.1. I build portions of the ports tree for my live media offerings, and that only because building them is necessary. It takes days and days, just to build the software to provision the various workstation environments on two architectures. These port builds easily fit within 25GB or so for each architecture, but that is because I use $BULK, allowing for object erasure as the builds proceed, and there is no individual application as large as ocicat's JDK build, which needs, I think, something on the order of 40-50GB of free space for the objects and source.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
In any situation where there are multiple machines, maintaining a local package repository is a great idea. Aside from saving all that CPU for building from ports, or building kernel and userland for patches, the reduced bandwidth (and increased update speeds) with a local repo are a huge benefit.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Openbsd x terminal server | wyginwys | OpenBSD General | 2 | 9th June 2010 12:11 PM |
| Caching-only DNS server on OpenBSD | Oko | OpenBSD General | 1 | 13th September 2009 08:30 PM |
| The right way to build an OpenBSD port with debug symbols | WeakSauceIII | OpenBSD Packages and Ports | 7 | 20th April 2009 12:40 PM |
| build a sftp server | milo974 | OpenBSD General | 9 | 26th September 2008 11:09 AM |
| New server build | tanked | FreeBSD General | 1 | 5th June 2008 06:41 AM |