Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Server Administration Documentation | 2025.1

# Post-installation configuration

After the `p4-server` package has been installed, additional configuration is required to create a P4 Server.
Perform the following steps:

1. Use the `configure-p4d.sh` script to configure a Perforce service.

   The `configure-p4d.sh` script can be used in a few different ways. The steps below outline the most straightforward configuration using interactive mode, but you can review the options by running:

       sudo /opt/perforce/sbin/configure-p4d.sh -h

   Run in interactive mode:

       sudo /opt/perforce/sbin/configure-p4d.sh

   In interactive mode, the configuration script begins by displaying a summary of default settings and those that have optionally been set with a command-line argument.

2. Provide information to the configuration script.

   After the summary, the configuration script prompts for information it needs to set up your P4 Server.

   If you already have a P4 Server configured, and you supply its `service name`, then the configuration script only prompts for settings that you can change on an existing service.

   At each prompt, you can accept the proposed default value by pressing Enter, or you can specify your own value.

   The list below contains details about the options for each prompt:

   1. The Service Name:

      The name used when when starting and stopping the service with `P4 Server Control (p4dctl)`.

      This name is also used to set the Perforce `serverid` attribute on this `p4d` server, to distinguish it from other `p4d` servers that might be in your overall installation.

   2. The Server Root (`P4ROOT`):

      The directory where versioned files and metadata should be stored.

   3. The Unicode Mode for the server:

      This is off by default.

      If you turn Unicode mode on, you will not be able to turn it off. Be sure you are familiar with Unicode functionality when selecting this mode. See Unicode mode for information.

   4. The Case Sensitivity for the server:

      This is on by default.

      To learn more, see Case sensitivity and multi-platform development.

   5. The Server Address (`P4PORT`):

      This specifies the host and port on which the P4 Server listens, and whether to communicate in plaintext or over SSL/TLS. For more information, see Communicating port information.

   6. Superuser login:

      The `userid` for a new user to be created with `super` level privileges.

      To learn more, see Access levels.

   7. Superuser password:

      The password for the new superuser.

      Due to the unlimited privileges granted to this user, a strong password is required.

   After you answer all prompts, the script begins configuration according to your choices. As it runs, the script displays information about the configuration taking place.

   After the configuration has completed successfully, a summary is displayed with details about what was done, and where the settings are stored.

You can now connect to the service, or you can manage the service using the `p4dctl` utility. To learn more, see P4 Server Control (p4dctl).

Your search for returned results