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

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

 

Syntax

init_conf.exe <command> [

<option1> [<param1>…<param n>]

[<option2> [<param1>…<param n>]]

…[<option_N> [<param1>…<param n>]]

]

 

Example

The following command sets IP address 192.0.2.0 as shared, sets the host name to somewhere.com and sets the administrator's name to Administrator and the administrator's password to MyPass. Finally, this command creates the default client account (named My Domains).

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

 

Commands

Command

Parameter

Description

Example

--init

 

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

 

--update or -u

 

Changes the administrator's contact info.

To change the administrator's email to admin@somewhere.com:

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

--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 as the parameters as shared.

Used with --init only.

To set 192.0.2.0 as shared IP:

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

-hostname

<FQDN>

Sets the full host name of the server.

Used with --init only.

To set the host name to somewhere.com:

>init_conf.exe --init -hostname somewhere.com

-company

<string>

Defines the administrator's company name.

>init_conf.exe --update -company "Administrator's Company"

-name

<string>

Specifies the Plesk administrator's contact name.

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

-passwd

<password>

Specifies Plesk administrator's password.

>init_conf.exe --init -passwd somepassword

-phone

<number>

Specifies the administrator's phone number.

>init_conf.exe --update -phone 5555555

-fax

<number>

Specifies the administrator's fax number.

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

-email

<string>

Specifies the administrator's email address.

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

-addr

<string>

Specifies the administrator's street address.

>init_conf.exe --update -addr "Streetname 1"

-city

<string>

Specifies the city of the administrator's address.

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

-state

<string>

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

>init_conf.exe --update -state NY

-pcode

<string>

Specifies the zip code of the administrator's address.

>init_conf.exe --update -pcode 77568

-send_announce

true|false

Subscribes administrator to the SWsoft mailing list (announcements on new SWsoft products, discounts, etc.) when set to true.

Available in Plesk 7.6 and later.

To subscribe the administrator to the SWsoft mailing:

>init_conf.exe --update -send_announce true

-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 change country to Australia in the administrator's contact info:

>init_conf.exe --update -country AU

-def_client

 

Creates the default 'My Domains' client account for the administrator.

Used with --init only.

To create the default user account:

>init_conf.exe --init -def_client

-admin_info_not_required

true|false

Defines whether Plesk Administrator's personal info (except for e-mail) is marked as Required or not.

Set to false by default.

Available since Plesk 8.1.

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

>init_conf.exe --init -hostname plesk.example.com -admin_info_not_required true