The init_conf
utility is used to perform the initial configuration
of Plesk through CLI. By using this utility, you can also edit certain
parameters configured during the initial configuration of the Plesk
server. By using this utility, you can perform the following tasks:
- setting host name for the Plesk server
- setting the default IP address for the Plesk server
- configuring Plesk server networking parameters
- adding IP addresses to the list of shared IP addresses
- specifying and editing Plesk administrator’s personal information
- creating the default client account for the Plesk administrator
Usage
init_conf <command> [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
]
Example
The following command sets the default IP address to 192.0.2.14 and
sets its type to shared; sets the network mask to 255.255.255.0 and
the network interface name to eth0 for the default IP address; adds
shared IP addresses 192.0.2.46 and 192.0.2.47 to Plesk ; sets the
Plesk administrator’s name to John Doe and the administrator’s
password to adminpass; sets the administrator’s phone number to
555-5555, fax number to 333-3333, and email address to
[email protected]; sets the administrator’s company name to
Megacompany Inc., street address to 45 Trail street, city to New
York, ZIP code to 10292, and country to United States.
plesk bin init_conf --init -default-ip 192.0.2.14 -netmask 255.255.255.0 -iface eth0 -ip-type shared -hostname example.com -shared_ips add:192.0.2.46,192.0.2.47 -name "John Doe" -passwd mypass -phone 555-5555 -fax 333-3333 -email [email protected] -company "Megacompany Inc." -address "45 Trail street" -city "New York" -zip 10292 -country US -state NY
…