| 1 | <?xml version="1.0" encoding="UTF-8"?> |
1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.34 2010/08/08 18:09:43 nightmorph Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.35 2011/03/02 09:25:49 nightmorph Exp $ --> |
| 4 | |
4 | |
| 5 | <guide> |
5 | <guide> |
| 6 | <title>A short guide to Gentoo/FreeBSD</title> |
6 | <title>A short guide to Gentoo/FreeBSD</title> |
| 7 | |
7 | |
| 8 | <author title="Author"> |
8 | <author title="Author"> |
| 9 | <mail link="ignacio.arquelatour@gmail.com">Ignacio Arque-Latour</mail> |
9 | <mail link="ignacio.arquelatour@gmail.com">Ignacio Arque-Latour</mail> |
| 10 | </author> |
10 | </author> |
| 11 | <author title="Author"> |
11 | <author title="Author"> |
| 12 | <mail link="citizen428@gentoo.org">Michael Kohl</mail> |
12 | <mail link="citizen428@gentoo.org">Michael Kohl</mail> |
| 13 | </author> |
13 | </author> |
| 14 | <author title="Author"> |
14 | <author title="Author"> |
| 15 | <mail link="angusyoung@gentoo.org">Otavio R. Piske</mail> |
15 | <mail link="angusyoung@gentoo.org">Otavio R. Piske</mail> |
| 16 | </author> |
16 | </author> |
| 17 | <author title="Author"> |
17 | <author title="Author"> |
| 18 | <mail link="ka0ttic@gentoo.org">Aaron Walker</mail> |
18 | <mail link="ka0ttic@gentoo.org">Aaron Walker</mail> |
| … | |
… | |
| 28 | </author> |
28 | </author> |
| 29 | <author title="Editor"> |
29 | <author title="Editor"> |
| 30 | <mail link="cam@gentoo.org">Camille Huot</mail> |
30 | <mail link="cam@gentoo.org">Camille Huot</mail> |
| 31 | </author> |
31 | </author> |
| 32 | |
32 | |
| 33 | <abstract> |
33 | <abstract> |
| 34 | This document gives some general information on FreeBSD, as well as |
34 | This document gives some general information on FreeBSD, as well as |
| 35 | installation instructions for Gentoo/FreeBSD. It also includes some reference |
35 | installation instructions for Gentoo/FreeBSD. It also includes some reference |
| 36 | for people interested in helping out with development. |
36 | for people interested in helping out with development. |
| 37 | </abstract> |
37 | </abstract> |
| 38 | |
38 | |
| 39 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
39 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 40 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
40 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 41 | <license/> |
41 | <license/> |
| 42 | |
42 | |
| 43 | <version>3</version> |
43 | <version>4</version> |
| 44 | <date>2010-08-08</date> |
44 | <date>2011-03-02</date> |
| 45 | |
45 | |
| 46 | <chapter> |
46 | <chapter> |
| 47 | <title>Introduction to FreeBSD</title> |
47 | <title>Introduction to FreeBSD</title> |
| 48 | <section> |
48 | <section> |
| 49 | <title>What is FreeBSD?</title> |
49 | <title>What is FreeBSD?</title> |
| 50 | <body> |
50 | <body> |
| 51 | |
51 | |
| 52 | <p> |
52 | <p> |
| 53 | <uri link="http://www.freebsd.org/">FreeBSD</uri> is a free (<uri |
53 | <uri link="http://www.freebsd.org/">FreeBSD</uri> is a free (<uri |
| 54 | link="http://www.freebsd.org/copyright/freebsd-license.html">license</uri>) |
54 | link="http://www.freebsd.org/copyright/freebsd-license.html">license</uri>) |
| 55 | Unix-like operating system. Back in 1993 when development of <uri |
55 | Unix-like operating system. Back in 1993 when development of <uri |
| 56 | link="http://www.386bsd.org/">386BSD</uri> stopped, two projects were born: |
56 | link="http://www.386bsd.org/">386BSD</uri> stopped, two projects were born: |
| 57 | <uri link="http://www.netbsd.org/">NetBSD</uri>, commonly known to run on a |
57 | <uri link="http://www.netbsd.org/">NetBSD</uri>, commonly known to run on a |
| 58 | huge number of architectures, and FreeBSD which supports the x86, amd64, ia64, |
58 | huge number of architectures, and FreeBSD which supports the x86, amd64, ia64, |
| 59 | sparc64 and alpha platforms. FreeBSD is renowned for its stability, performance |
59 | sparc64 and alpha platforms. FreeBSD is renowned for its stability, performance |
| … | |
… | |
| 346 | # <i>tar -xjf portage-latest.tar.bz2 -C /usr/</i> |
346 | # <i>tar -xjf portage-latest.tar.bz2 -C /usr/</i> |
| 347 | # <i>emerge --metadata</i> |
347 | # <i>emerge --metadata</i> |
| 348 | </pre> |
348 | </pre> |
| 349 | |
349 | |
| 350 | <pre caption="Setting up the profile and editing /etc/make.conf"> |
350 | <pre caption="Setting up the profile and editing /etc/make.conf"> |
| 351 | # <i>ln -sf /usr/portage/profiles/default-bsd/fbsd/6.2/x86/ /etc/make.profile</i> |
351 | # <i>ln -sf /usr/portage/profiles/default-bsd/fbsd/6.2/x86/ /etc/make.profile</i> |
| 352 | # <i>nano /etc/make.conf</i> |
352 | # <i>nano /etc/make.conf</i> |
| 353 | <comment>(Please make sure you add at least the following entries:)</comment> |
353 | <comment>(Please make sure you add at least the following entries:)</comment> |
| 354 | CHOST="i686-gentoo-freebsd6.2" |
354 | CHOST="i686-gentoo-freebsd6.2" |
| 355 | FEATURES="collision-protect" |
355 | FEATURES="collision-protect" |
| 356 | </pre> |
356 | </pre> |
| 357 | |
357 | |
| 358 | <note> |
358 | <note> |
| 359 | The <c>~x86-fbsd</c> keyword does not yet fully cover the same tree as |
359 | The <c>~x86-fbsd</c> keyword does not yet fully cover the same tree as |
| 360 | <c>~x86</c>, but please <e>do not</e> put <c>~x86</c> in ACCEPT_KEYWORDS. Rather |
360 | <c>~x86</c>, but please <e>do not</e> put <c>~x86</c> in ACCEPT_KEYWORDS. Rather |
| 361 | use <path>/etc/portage/package.keywords</path> to test packages, and report |
361 | use <path>/etc/portage/package.accept_keywords</path> to test packages, and |
| 362 | working packages on <uri |
362 | report working packages on <uri |
| 363 | link="http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%2FAlt">Bugzilla</uri>. |
363 | link="http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%2FAlt">Bugzilla</uri>. |
| 364 | </note> |
364 | </note> |
| 365 | |
365 | |
| 366 | <p> |
366 | <p> |
| 367 | If you want, you can now rebuild the system's core packages. |
367 | If you want, you can now rebuild the system's core packages. |
| 368 | </p> |
368 | </p> |
| 369 | |
369 | |
| 370 | <pre caption="Rebuilding the FreeBSD core packages (optional)"> |
370 | <pre caption="Rebuilding the FreeBSD core packages (optional)"> |
| 371 | # <i>emerge -e system</i> |
371 | # <i>emerge -e system</i> |
| 372 | </pre> |
372 | </pre> |
| 373 | |
373 | |
| 374 | </body> |
374 | </body> |
| 375 | </section> |
375 | </section> |
| 376 | </chapter> |
376 | </chapter> |
| 377 | <chapter> |
377 | <chapter> |