Difference between revisions of "Install a Server/10.1"

From PC-BSD Wiki
Jump to: navigation, search
 
(7 intermediate revisions by one user not shown)
Line 24: Line 24:
 
<!--T:10-->
 
<!--T:10-->
 
* 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.
 +
 +
<!--T:49-->
 +
{{note|icon64=This section describes how to install a command-line only server using the PC-BSD® graphical installer. Alternately, you can also install a server using the TrueOS® CD, using the instructions in {{local|link=Using the TrueOS® CD}}.}}
  
 
<!--T:11-->
 
<!--T:11-->
Line 85: Line 88:
 
<!--T:31-->
 
<!--T:31-->
 
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.2f.
 
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.2f.
 +
 +
<!--T:46-->
 +
[[File:Remote2a.png|thumb|393px|'''Figure 5.2f: Configure Remote Access to AppCafe''']]
 +
 +
<!--T:47-->
 +
If you would like to manage installed software or jails from your phone or a remote system, check the box “Enable AppCafe Remote”. If you only plan to use {{local|link=AppCafe®|AppCafe®}} from the system you are installing, click “Next” to instead continue to the next screen.
 +
 +
<!--T:48-->
 +
If you check the box to configure remote access, input a username and password and select the port number to use when accessing AppCafe® from another device. When finished, click “Next” to access the screen shown in Figure 5.2g.
  
 
<!--T:32-->
 
<!--T:32-->
[[File:Freebsd5a.png|thumb|393px|'''Figure 5.2f: Install Source or Ports''']]
+
[[File:Freebsd5a.png|thumb|393px|'''Figure 5.2g: Install Source or Ports''']]
  
 
<!--T:33-->
 
<!--T:33-->
If you wish to install FreeBSD source or ports, check the associated box(es) then click "Finish" to exit the wizard and access the summary screen shown in Figure 5.2g.
+
If you wish to install FreeBSD source or ports, check the associated box(es) then click "Finish" to exit the wizard and access the summary screen shown in Figure 5.2h.
  
 
<!--T:39-->
 
<!--T:39-->
[[File:Disks1c.png|thumb|393px|'''Figure 5.2g: Review Installation Summary''']]
+
[[File:Disks1e.png|thumb|393px|'''Figure 5.2h: Review Installation Summary''']]
  
 
<!--T:40-->
 
<!--T:40-->

Latest revision as of 10:25, 12 November 2014


Figure 5.2a: Selecting to Install TrueOS®

The System Selection Screen of the PC-BSD® installer can be used to install TrueOS®, a FreeBSD-based server operating system, rather than a PC-BSD® desktop operating system.

TrueOS® adds the following to a vanilla installation of FreeBSD: PBI Manager, the command line version of 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 list [1] of additional shells and utilities.

For a server installation, using the PC-BSD® installer rather than the FreeBSD installer offers several benefits:

  • a wizard (described in this section) is provided during installation to configure the server for first use.
NOTE: This section describes how to install a command-line only server using the PC-BSD® graphical installer. Alternately, you can also install a server using the TrueOS® CD, using the instructions in Using the TrueOS® CD.

To perform a server installation, start the PC-BSD® installation as usual. When you get to the System Selection Screen of the installer, select "Server (TrueOS)", as shown in Figure 5.2a.


Click "Next" to start the "Server Setup Wizard" then click "Next" again to see the screen shown in Figure 5.2b.

Figure 5.2b: Set the Root Password

Input and confirm the root password then click "Next" to proceed to the screen shown in Figure 5.2c.

Figure 5.2c: 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.2d.

Figure 5.2d: 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.2e.

Figure 5.2e: Configure the Network

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

  • AUTO-DHCP-SLAAC: (default) will configure every active interface configured for DHCP and both IPv4 and IPv6
  • AUTO-DHCP: will configure every active interface for DHCP and IPv4
  • IPv6-SLAAC: will configure every active interface for DHCP and 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.2f.

Figure 5.2f: Configure Remote Access to AppCafe

If you would like to manage installed software or jails from your phone or a remote system, check the box “Enable AppCafe Remote”. If you only plan to use AppCafe® from the system you are installing, click “Next” to instead continue to the next screen.

If you check the box to configure remote access, input a username and password and select the port number to use when accessing AppCafe® from another device. When finished, click “Next” to access the screen shown in Figure 5.2g.

Figure 5.2g: Install Source or Ports

If you wish to install FreeBSD source or ports, check the associated box(es) then click "Finish" to exit the wizard and access the summary screen shown in Figure 5.2h.

Figure 5.2h: Review Installation Summary

Click "Customize" if you wish to proceed to the Disk Selection Screen in order to configure the system's disk(s).

If you wish to save the finished configuration to re-use it at a later time, insert a FAT-formatted USB stick and click "Save Config to USB".

Once you are ready to start the installation, click "Next". A pop-up menu will ask if you would like to start the installation now.

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


References


  1. http://trac.pcbsd.org/browser/build-files/ports-overlay/misc/trueos-base/Makefile list
  2. http://www.freebsd.org/doc/en/books/handbook/
Other languages:German 7% • ‎English 100%
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox