Server Initial Configuration And Administrator's Personal Info: init_conf.exe

The init_conf.exe utility serves to perform the initial configuration of Parallels Plesk Panel, and to change personal information of Parallels Plesk Panel Administrator. The utility provides the following:

 

Location

%plesk_cli%

Usage

init_conf.exe <command> [
<option 1> [<param 1>,…,<param n>]
[<option 2> [<param 1>,…,<param n>]] 
… [<option N> [<param 1>,…,<param n>]]
]

 

Example

The following command sets IP address 192.0.2.0 as shared, sets the host name to host.example.com and sets the administrator's name to Administrator and the administrator's password to MyPass.

>init_conf.exe --init -shared_ips add:192.0.2.0 -hostname host.example.com -name Administrator -passwd MyPass

 

Commands

Command

Parameter

Description

Example

--init

 

Initializes Parallels Plesk Panel Server Administrator. Can be applied to the non-configured Parallels Plesk Panel Server Administrator only.

See Example above.

--update or -u

 

Changes the administrator's contact info.

To set the administrator's email address to admin@example.com:

>init_conf.exe --update -email admin@example.com

--check-configured or -c

 

Checks whether Parallels Plesk Panel is configured. Returns 0 on success, 1 otherwise.

To check if Parallels Plesk Panel is configured:

>init_conf.exe --check-configured

or

>init_conf.exe -c

--help or -h

 

Displays help on the utility use.

>init_conf.exe -h

 

Options

Option

Parameter

Description

Example

-shared_ips

add:<ip_1>,<ip_2>,…,<ip_n>

Sets the IP addresses specified by the parameters as shared.

Used with --init only.

To set 192.0.2.0 as shared IP address:

>init_conf.exe --init -shared_ips add:192.0.2.0

-hostname

<FQDN>

Sets the full host name of the server.

Used with --init only.

To set the host name to host.example.com:

>init_conf.exe --init -hostname host.example.com

-company

<string>

Defines the Parallels Plesk Panel administrator's company name.

To set the Parallels Plesk Panel administrator's company to MegaCompany:

>init_conf.exe --update -company "MegaCompany"

-name

<string>

Specifies the Parallels Plesk Panel administrator's contact name.

To set the Parallels Plesk Panel administrator's contact name to John Doe:

>init_conf.exe --init -name "John Doe"

-passwd

<password>

Specifies Parallels Plesk Panel administrator's password.

To set the Parallels Plesk Panel administrator's password to sample:

>init_conf.exe --init -passwd sample

-phone

<number>

Specifies the administrator's phone number.

To set the Parallels Plesk Panel administrator's phone number to 3453456:

>init_conf.exe --update -phone 3453456

-fax

<number>

Specifies the administrator's fax number.

To set the Parallels Plesk Panel administrator's fax to 423-3333:

>init_conf.exe --update -fax 423-3333

-email

<string>

Specifies the administrator's email address.

To set the Parallels Plesk Panel administrator's email address to Admin@example.com:

>init_conf.exe --update -email Admin@example.com

-addr

<string>

Specifies the administrator's street address.

To set the Parallels Plesk Panel administrator's street address to 181 Main Street:

>init_conf.exe --update -addr "Main Street 181"

-city

<string>

Specifies the city of the administrator's address.

To set the Parallels Plesk Panel administrator's city to New York:

>init_conf.exe --update -city "New York"

-state

<string>

Specifies the state/province of the administrator's address.

To set the Parallels Plesk Panel administrator's state to NY:

>init_conf.exe --update -state NY

-zip

<string>

Specifies the Plesk administrator's postal/zip code.

Required with the --init.

To set the Parallels Plesk Panel administrator's zip code to 10292:

>init_conf.exe -u -zip 10292

-send_announce

true|false

Subscribes/Unsubscribes Parallels Plesk Panel administrator to the Parallels mailing list (announcements on new Parallels products, discounts, etc.).

Is true by default.

Available in Parallels Plesk Panel 7.6 and later.

To unsubscribe the Parallels Plesk Panel administrator from the Parallels mailing list:

>init_conf.exe --update -send_announce false

-country

<string>

Specifies the country of the administrator's address in the format of an upper-case two-letter code derived from ISO 3166.

To set the Parallels Plesk Panel administrator country to Australia:

>init_conf.exe --update -country AU

-admin_info_not_required

true|false

Defines whether Parallels Plesk Panel Administrator's personal info (except for email) is marked as Required or not.

Is false by default.

Available since Parallels Plesk Panel 8.1.

To initialize Parallels Plesk Panel server so that the Parallels Plesk Panel Administrator after entering his credentials to freshly-installed Parallels Plesk Panel got directly to Administrator's desktop skipping all 'first-login configuration' screens:

>init_conf.exe -u -admin_info_not_required true