Difference between revisions of "Convert a FreeBSD System to PC/9.2/de"

From PC-BSD Wiki
Jump to: navigation, search
(Updating to match new version of source page)
(Updating to match new version of source page)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{NavHeader/de|back=Install a Server|forward=Using a Rolling Release|custompagename=Konvertieren eines FreeBSD-Systems auf PC-BSD{{RM}}|custompagecategory=Konvertieren eines FreeBSD-Systems auf PC-BSD{{RM}}}}</noinclude>
+
{{NavHeader|back=Install a Server |forward=Using a Rolling Release|custompagename=Convert a FreeBSD System to PC-BSD{{R}}|custompagecategory=Convert a FreeBSD System to PC-BSD{{RM}}}}</noinclude>
  
Beginning in February, 2013, the PC-BSD® utilities dealing with software installation and upgrades were converted to [https://wiki.freebsd.org/pkgng pkgng], FreeBSD's Next Generation package management tool. Part of this change included the creation of a custom PC-BSD® package repository which contains all of the packages that can be built using pkgng. Since the FreeBSD project does not yet have an official pkgng repository, FreeBSD users who wish to use pkgng are welcome to use the PC-BSD® package repository.
+
PC-BSD® utilities dealing with software installation and upgrades use [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html pkgng], FreeBSD's Next Generation package management tool. Part of this change included the creation of a custom PC-BSD® package repository which contains all of the packages that can be built using pkgng. Since the FreeBSD project does not yet have an official pkgng repository, FreeBSD users who wish to use pkgng are welcome to use the PC-BSD® package repository.
  
 
This package repository contains a custom package, called ''pcbsd-base'', which can be used to easily convert an existing FreeBSD installation into a PC-BSD® desktop. It also contains a custom package called ''trueos-base'' which can be used to convert an existing FreeBSD installation into a TrueOS® server. The converted desktop will contain all of the graphical utilities that come with PC-BSD® and the converted server will contain all of their command line equivalents.
 
This package repository contains a custom package, called ''pcbsd-base'', which can be used to easily convert an existing FreeBSD installation into a PC-BSD® desktop. It also contains a custom package called ''trueos-base'' which can be used to convert an existing FreeBSD installation into a TrueOS® server. The converted desktop will contain all of the graphical utilities that come with PC-BSD® and the converted server will contain all of their command line equivalents.
Line 16: Line 16:
 
== Switching to the PC-BSD{{R}} pkgng Repository ==
 
== Switching to the PC-BSD{{R}} pkgng Repository ==
  
If you are running PC-BSD® 9.1-RELEASE or FreeBSD 9.1, you will need to first install {{citelink|url=http://www.freshports.org/ports-mgmt/pkg/|txt=ports-mgmt/pkg}} as a port or package.
+
If you are running PC-BSD® 9.1-RELEASE or FreeBSD 9.1 or higher, type '''pkg''' in order to automatically install the software that is required.
  
After installing pkg, run the command '''pkg2ng''' to import your existing package database from the old format to the new pkgng format.  
+
Then, run the command '''pkg2ng''' to import your existing package database from the old format to the new pkgng format.  
  
 
Next, configure access to the PC-BSD® repository. Start by creating the file ''/usr/local/etc/pkg.conf'' with the following contents:
 
Next, configure access to the PC-BSD® repository. Start by creating the file ''/usr/local/etc/pkg.conf'' with the following contents:
  
{{txtbox|box=packagesite: {{http}}pkg.cdn.pcbsd.org/9.1-RELEASE/amd64
+
{{txtbox|box=packagesite: {{http}}pkg.cdn.pcbsd.org/9.2-RELEASE/amd64
 
PUBKEY: /usr/local/etc/pkg-pubkey.cert
 
PUBKEY: /usr/local/etc/pkg-pubkey.cert
 
PKG_CACHEDIR: /usr/local/tmp}}
 
PKG_CACHEDIR: /usr/local/tmp}}
Line 34: Line 34:
 
Depending upon what is already installed, you may have to resolve some error messages in order to successfully upgrade all packages.
 
Depending upon what is already installed, you may have to resolve some error messages in order to successfully upgrade all packages.
  
To install and delete packages use the '''pkg''' command. This command differs in usage from the original package format version. You can learn more about how to use this command in [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html Section 5.5.3 of the FreeBSD Handbook].
+
To install and delete packages, use the '''pkg''' command. This command differs in usage from the original package format version. You can learn more about how to use this command in [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html Section 5.5.3 of the FreeBSD Handbook].
  
 
== Konvertieren eines FreeBSD-Systems auf ein PC-BSD®-Arbeitsplatzsystem ==
 
== Konvertieren eines FreeBSD-Systems auf ein PC-BSD®-Arbeitsplatzsystem ==
Line 68: Line 68:
 
'''pc-extractoverlay ports'''}}
 
'''pc-extractoverlay ports'''}}
  
The installation of the ''trueos-base'' package will install the following: [[PBI Manager]], the command line version of '''[[Warden®#Using the Command Line Version of Warden® | warden]]''', and the command line versions of most of the [[Control Panel]] utilities. You will find those utilities in ''/usr/local/bin/pc-*''. It also installs this {{citelink|url=http://trac.pcbsd.org/browser/build-files/ports-overlay/misc/trueos-base/Makefile|txt=list}} of additional shells and utilities.
+
The installation of the ''trueos-base'' package will install the following: {{local|link=PBI Manager}}, the command line version of '''{{local|link=Warden®|anchor=Using the Command Line Version of Warden® | warden}}''', and the command line versions of most of the {{local|link=Control Panel}} utilities. You will find those utilities in ''/usr/local/bin/pc-*''. It also installs this {{citelink|url=http://trac.pcbsd.org/browser/build-files/ports-overlay/misc/trueos-base/Makefile|txt=list}} of additional shells and utilities.
 
<noinclude>
 
<noinclude>
 
{{refheading}}
 
{{refheading}}

Revision as of 05:29, 20 September 2013

(Sorry for the inconvenience)

Contents

PC-BSD® utilities dealing with software installation and upgrades use pkgng, FreeBSD's Next Generation package management tool. Part of this change included the creation of a custom PC-BSD® package repository which contains all of the packages that can be built using pkgng. Since the FreeBSD project does not yet have an official pkgng repository, FreeBSD users who wish to use pkgng are welcome to use the PC-BSD® package repository.

This package repository contains a custom package, called pcbsd-base, which can be used to easily convert an existing FreeBSD installation into a PC-BSD® desktop. It also contains a custom package called trueos-base which can be used to convert an existing FreeBSD installation into a TrueOS® server. The converted desktop will contain all of the graphical utilities that come with PC-BSD® and the converted server will contain all of their command line equivalents.

Dieser Abschnitt beschreibt wie man:

  • Configure a FreeBSD or PC-BSD® system to use the pkgng repository.
  • Convert a FreeBSD system to a PC-BSD® desktop.
  • Convert a FreeBSD system to a TrueOS® server.

Switching to the PC-BSD® pkgng Repository

If you are running PC-BSD® 9.1-RELEASE or FreeBSD 9.1 or higher, type pkg in order to automatically install the software that is required.

Then, run the command pkg2ng to import your existing package database from the old format to the new pkgng format.

Next, configure access to the PC-BSD® repository. Start by creating the file /usr/local/etc/pkg.conf with the following contents:

packagesite: http://pkg.cdn.pcbsd.org/9.2-RELEASE/amd64

PUBKEY: /usr/local/etc/pkg-pubkey.cert

PKG_CACHEDIR: /usr/local/tmp

Next, download the repository's public key cert file, and copy it to /usr/local/etc/pkg-pubkey.cert.

The system is now configured and you now update your packages to the latest versions from the pkgng repository using the following command:

pkg upgrade -fy

Depending upon what is already installed, you may have to resolve some error messages in order to successfully upgrade all packages.

To install and delete packages, use the pkg command. This command differs in usage from the original package format version. You can learn more about how to use this command in Section 5.5.3 of the FreeBSD Handbook.

Konvertieren eines FreeBSD-Systems auf ein PC-BSD®-Arbeitsplatzsystem

Once the repository configuration is complete, it is now easy to convert a FreeBSD system into a PC-BSD® desktop using the following commands as the superuser:

pkg install -fy pcbsd-base

rehash pbreg set /PC-BSD/SysType PCBSD pc-extractoverlay desktop

pc-extractoverlay ports

Next, reboot the system and the PC-BSD® login manager will start, allowing you to login to the desktop. If you want the PC-BSD® display wizard and first boot wizards to run first, run these commands before rebooting:

touch /var/.runxsetup

touch /var/.pcbsd-firstboot

touch /var/.pcbsd-firstgui

If you are running FreeBSD 10-CURRENT, specify the PBI version to pull from. To do so, edit /usr/local/etc/pbi.conf and add this line:

PBI_FBSDMAJOR: 9
ANMERKUNG: If you are using NVIDIA video hardware, load the driver before rebooting into the display wizard by running the command pc-metapkgmanager add NVIDIA.

Konvertieren eines FreeBSD-Systems auf TrueOS®

If you wish to convert a FreeBSD server to TrueOS®, use the following commands:

pkg install -fy trueos-base

rehash pbreg set /PC-BSD/SysType TRUEOS pc-extractoverlay server

pc-extractoverlay ports

The installation of the trueos-base package will install the following: PBI Manager, the command line version of warden, and the command line versions of most of the Systemsteuerung utilities. You will find those utilities in /usr/local/bin/pc-*. It also installs this list[1] of additional shells and utilities.

Verweise


  1. http://trac.pcbsd.org/browser/build-files/ports-overlay/misc/trueos-base/Makefile