|Install a Server|
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
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 easily configure ZFS during installation
- the ability to configure encryption during installation
- a wizard (described in this section) is provided during installation to configure the server for first use
- the installation adds the PBI Manager command line suite of utilites for managing PBIs and creating one's own software repositories
- the installation adds the command line utilities used by the Meta Package manager
To perform a server installation, start the installation as usual. When you get to the Desktop Selection screen of the PC-BSD installer, click the left arrow until the PC-BSD Server is selected, as seen in Figure 5.1a.
Figure 5.1a: Selecting to Install the PC-BSD Server
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
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
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 desired login shell.
When finished, click Next to proceed to the screen shown in Figure 5.1d.
Figure 5.1d: Set the Hostname
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
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
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.
Once the system is installed, it will boot to a FreeBSD login where you can login using the primary user account that was created during installation.