Install a Server/9.2
(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 WILL CHANGE SLIGHTLY WITH BETA1 AS THE PC-BSD SERVER AND A PURE VANILLA FREEBSD WILL BE AVAILABLE
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.
- the ability to configure multiple boot environments using ZFS snapshots.
- 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 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. Type a command to receive its help text.
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.
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 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
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 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 FreeBSD Handbook is an excellent reference for performing common FreeBSD server tasks.