Difference between revisions of "Install a Server/9.2"

From PC-BSD Wiki
Jump to: navigation, search
Line 3: Line 3:
 
'''THIS PAGE CHANGED IN 9.1. UNLESS YOU ARE BETA TESTING 9.1, YOU SHOULD INSTEAD REFER TO THE [http://wiki.pcbsd.org/index.php/PC-BSD_Users_Handbook PUBLISHED VERSION OF THE USERS HANDBOOK] THAT MATCHES YOUR PC-BSD VERSION'''
 
'''THIS PAGE CHANGED IN 9.1. UNLESS YOU ARE BETA TESTING 9.1, YOU SHOULD INSTEAD REFER TO THE [http://wiki.pcbsd.org/index.php/PC-BSD_Users_Handbook PUBLISHED VERSION OF THE USERS HANDBOOK] THAT MATCHES YOUR PC-BSD VERSION'''
  
'''THIS PAGE WILL CHANGE SLIGHTLY WITH BETA1 AS THE PC-BSD SERVER AND A PURE VANILLA FREEBSD WILL BE AVAILABLE'''
+
'''THIS PAGE NEEDS TO BE UPDATED FOR BETA1 AS NOW SUPPORTS BOTH TRUEOS AND A PURE VANILLA FREEBSD INSTALL'''
  
 
The PC-BSD installer can be used to install a secure server operating system, based on FreeBSD. The resulting server is similar to an installation using the FreeBSD installer in that it results in a minimal, command line only FreeBSD server installation. However, using the PC-BSD installer offers several additional benefits:
 
The PC-BSD installer can be used to install a secure server operating system, based on FreeBSD. The resulting server is similar to an installation using the FreeBSD installer in that it results in a minimal, command line only FreeBSD server installation. However, using the PC-BSD installer offers several additional benefits:
Line 13: Line 13:
 
* the ability to configure {{citelink|url=http://developers.sun.com/developer/technicalArticles/opensolaris/boot-environments.html|multiple boot environments}} using ZFS snapshots.
 
* the ability to configure {{citelink|url=http://developers.sun.com/developer/technicalArticles/opensolaris/boot-environments.html|multiple boot environments}} using ZFS snapshots.
  
* a wizard (described in this section) is provided during installation to configure the server for first use.
+
* a wizard (described in this section) is provided during installation to configure the server for first use. CHECK THIS
  
* the installation adds the [[PBI Manager]] command line suite of utilities to ''/usr/local/sbin''. These utilities can be used to manage PBIs and create one's own software repositories.
+
* TRUEOS ONLY the installation adds the [[PBI Manager]] command line suite of utilities to ''/usr/local/sbin''. These utilities can be used to manage PBIs and create one's own software repositories.  
  
* the installation adds the following command line utilities to ''/usr/local/bin'': '''pc-metapkgmanager''', '''pc-netupdate''', and '''[[Warden®#Using_the_Command_Line_Version_of_Warden.C2.AE | warden]]'''. Type a command to receive its help text.
+
* TRUEOS ONLY the installation adds the following command line utilities to ''/usr/local/bin'': '''pc-metapkgmanager''', '''pc-netupdate''', and '''[[Warden®#Using_the_Command_Line_Version_of_Warden.C2.AE | warden]]'''. Type a command to receive its help text. CHECK THIS
  
To perform a server installation, [[Installing_PC-BSD | start the PC-BSD installation]] as usual. When you get to the [[Desktop Selection Screen|Desktop Selection Screen]] of the installer, click the left arrow until the ''PC-BSD Server'' is selected, as seen in Figure 5.1a.
+
To perform a server installation, [[Installing_PC-BSD | start the PC-BSD installation]] as usual. When you get to the [[Desktop Selection Screen|Desktop Selection Screen]] of the installer, click the left arrow until the ''PC-BSD Server'' is selected, as seen in Figure 5.1a. THIS HAS CHANGED, ADD DISTINCTION BETWEEN TRUEOS AND VANILLA FREEBSD
  
 
'''Figure 5.1a: Selecting to Install the PC-BSD Server'''
 
'''Figure 5.1a: Selecting to Install the PC-BSD Server'''
  
[[File:Freebsd1a.jpeg|border]]
+
[[File:Freebsd1b.jpeg|border]]
  
 
Once selected, press Next to start the PC-BSD Server Setup Wizard. Click Next to see the screen shown in Figure 5.1b.
 
Once selected, press Next to start the PC-BSD Server Setup Wizard. Click Next to see the screen shown in Figure 5.1b.

Revision as of 09:54, 19 July 2012

(Sorry for the inconvenience)

THIS PAGE CHANGED IN 9.1. UNLESS YOU ARE BETA TESTING 9.1, YOU SHOULD INSTEAD REFER TO THE PUBLISHED VERSION OF THE USERS HANDBOOK THAT MATCHES YOUR PC-BSD VERSION

THIS PAGE NEEDS TO BE UPDATED FOR BETA1 AS NOW SUPPORTS BOTH TRUEOS AND A PURE VANILLA FREEBSD INSTALL

The PC-BSD installer can be used to install a secure server operating system, based on FreeBSD. The resulting server is similar to an installation using the FreeBSD installer in that it results in a minimal, command line only FreeBSD server installation. However, using the PC-BSD installer offers several additional benefits:

  • the ability to configure encryption during installation.
  • the ability to configure [1][1] using ZFS snapshots.
  • a wizard (described in this section) is provided during installation to configure the server for first use. CHECK THIS
  • TRUEOS ONLY the installation adds the PBI Manager command line suite of utilities to /usr/local/sbin. These utilities can be used to manage PBIs and create one's own software repositories.
  • TRUEOS ONLY the installation adds the following command line utilities to /usr/local/bin: pc-metapkgmanager, pc-netupdate, and warden. Type a command to receive its help text. CHECK THIS

To perform a server installation, start the PC-BSD installation as usual. When you get to the Desktop Selection Screen of the installer, click the left arrow until the PC-BSD Server is selected, as seen in Figure 5.1a. THIS HAS CHANGED, ADD DISTINCTION BETWEEN TRUEOS AND VANILLA FREEBSD

Figure 5.1a: Selecting to Install the PC-BSD Server

Freebsd1b.jpeg

Once selected, press Next to start the PC-BSD Server Setup Wizard. Click Next to see the screen shown in Figure 5.1b.

Figure 5.1b: Set the Root Password

Freebsd1b.jpeg

Input and confirm the root password which will be used for administrative or superuser access to the server, then click Next to proceed to the screen shown in Figure 5.1c.

Figure 5.1c: Create the Primary User Account

Freebsd2a.jpeg

For security reasons, you should not login as the root user. For this reason, the wizard requires you to create a primary user account that will be used to login to the FreeBSD system. This account will automatically be added to the wheel group, allowing that user to su to the root account when administrative access is required.

This screen contains the following fields:

  • Name: can contain capital letters and spaces.
  • Username: the name used when logging in. Can not contain spaces and is case sensitive (e.g. Kris is a different username than kris).
  • Password: the password used when logging in. You must type it twice in order to confirm it.
  • Default shell: use the drop-down menu to select the csh, tcsh, or sh login shell.

When finished, click Next to proceed to the screen shown in Figure 5.1d.

Figure 5.1d: Set the Hostname

Freebsd3a.jpeg

Input the system's hostname. If you will be using ssh to administer the system, check the box "Enable remote SSH login". Click Next to proceed to the network configuration screen shown in Figure 5.1e.

Figure 5.1e: Configure the Network

Freebsd4a.jpeg

Use the Network Interface drop-down menu to select from the following:

  • AUTO-DHCP-SLAAC: (default) will configure every active interface for DHCP for both IPv4 and IPv6
  • AUTO-DHCP: will configure every active interface for DHCP for IPv4
  • IPv6-SLAAC: will configure every active interface for DHCP for IPv6

Alternately, select the device name for the interface that you wish to manually configure and input the IPv4 and/or IPv6 addressing information. When finished, click Next to proceed to the screen shown in Figure 5.1f.

Figure 5.1f: Install Source or Ports

Freebsd5a.jpeg

If you wish to install FreeBSD source or ports, check the associated box. Click Finish to exit the wizard and proceed to the Disk Selection Screen and continue the installation as usual.

Once the system is installed, it will boot to command line login prompt. Login using the primary user account that was created during installation. You can now configure and use the server as you would any other FreeBSD server installation. The [2][2] is an excellent reference for performing common FreeBSD server tasks.

References


  1. http://developers.sun.com/developer/technicalArticles/opensolaris/boot-environments.html
  2. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/