Installer un Serveur

From PC-BSD Wiki
Revision as of 09:14, 19 November 2013 by Goraxmax (Talk | contribs)

Jump to: navigation, search

(Sorry for the inconvenience)

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 Panneau de contrôle utilities. You will find those utilities in /usr/local/bin/pc-*. It also installs this list txt=Missing Link[1] of additional shells and utilities.

Pour une installation serveur, utiliser l'installateur PC-BSD® plutôt que l'installateur FreeBSD offre plusieurs avantages:

  • a wizard (described in this section) is provided during installation to configure the server for first use.

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.1a.

Figure 5.1a: Selecting to Install TrueOS®

If you wish to install any additional server software, click the "Customize" button. This screen, shown in Figure 5.1b, can be used to install packages such as MySQL, PostgreSQL, Samba, PHP, VirtualBox, Apache, and Lighttp.

Figure 5.1b: Installing Server Applications into TrueOS®

After making your selections, press "Next" to start the "Server Setup Wizard". Click "Next" again to see the screen shown in Figure 5.1c.

Figure 5.1c: Set the Root Password

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

Figure 5.1d: 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.

Cet écran contient les champs suivants:

  • Nom: peut contenir des lettres capitales et des espaces.
  • Nom d'utilisateur: Le nom utilisé lors de la connexion. Ne peut pas contenir d'espaces et est sensible à la casse(Kris est un nom différent de kris).
  • Mot de passe: le mot de passe utilisé lors de la connexion. Vous devez l'indiquer deux fois pour confirmer.
  • Default shell: use the drop-down menu to select the csh, tcsh, or sh login shell.

Une fois terminé, cliquez sur "Suivant" afin d'accéder à l'écran affiché Figure 5.1e.

Figure 5.1e: Indiquez le nom de machine

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.1f.

Figure 5.1f: Configurer le réseau

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

  • AUTO-DHCP-SLAAC: (défaut) configurera chaque interface active pour le DHCP ainsi que l'IPv4 et l'IPv6
  • AUTO-DHCP: configurera chaque interface active pour le DHCP et l'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.1g.

Figure 5.1g: 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.1h.

Figure 5.1h: Review Installation Summary

Click "Customize" if you wish to proceed to the Ecran de sélection de disques 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.


  1. list
Other languages:German 8% • ‎English 100% • ‎French 45%
Personal tools