Previous Topic

Book Contents

Installing Plesk 7.5 for Windows Using Command Line

You can install Plesk using either graphical step-by-step installer or the command line. This chapter describes the second installation method.

If you use the Plesk Network Installer, you should extract the *.msi installer first. To do this, unpack the Network Installer executable file with the WinRAR program (http://www.rarlab.com/) in some folder. You will get a set of *.msi and *.cab files. Locate the file with name like plesk_7.5.x_buildyyyy.msi, where x and y stand for the program version. This is the main installer file.

You perform the installation by opening the command prompt (Start menu -> Run -> cmd.exe) and typing the following command:

msiexec /i <name of the aforementioned *.msi file or GUID> <variable name1>=<value1> <variable name2>=<value2> ... <variable nameN>=<valueN>

For example:

msiexec /i plesk_7.5.0_build050217.19.msi INSTALLDIR="c:\plesk bin" DATADIR="d:\plesk data"

This command instructs the installer to install Plesk into the "c:\plesk bin" directory and its data into the "d:\plesk data" directory.

If you use the Plesk Web Installer, the command line to accomplish the same action is:

setupplesk.exe INSTALLDIR="c:\plesk bin" DATADIR="d:\plesk data".

Below is the list of variables you can use:

Variable

Description

Version

Default value

General Variables

MSSQL_SA_PWD

Password of the 'sa' user in MSDE

7.5.0

<randomly generated>

DOWNLOADFILES

Specifies whether the Web installer should download files from SWsoft's server (value should be either "yes" or "no")

7.5.0

yes

ADMINMYSQL_PORT

Port number used by administrator's MySQL server

7.5.0

8306

ADMINAPACHE_SERVERPORT

Port number used by the control panel

7.5.0

8443

Directories

SETVHOSTSDIR

Specifies where virtual hosts reside

7.5.0

[Inetpub]vhosts

ACRONIS_TIA_INSTALLDIR

Acronis True Image Agent installation path

7.5.0

[ACRONIS_INSTALLDIR]TrueImageAgent

ACRONIS_TIC_INSTALLDIR

Acronis True Image Console installation path

7.5.0

[ACRONIS_INSTALLDIR]TrueImageConsole

ACRONIS_TIS_INSTALLDIR

Acronis True Image Server installation path

7.5.0

[ACRONIS_INSTALLDIR]TrueImageEnterprise

ADDITIONAL_INSTALLDIR

Additional components installation path

7.5.0

[INSTALLDIR]Additional

DATABASE_DATADIR

Place where databases reside

7.5.0

[DATADIR]Databases

DATABASE_INSTALLDIR

MySQL and MSDE DBMSs installation path

7.5.0

[INSTALLDIR]Databases

DATADIR

Place where Plesk data resides

7.5.0

[INSTALLDIR]

MSDE_INSTALLDIR

MSDE installation path

7.5.0

[DATABASE_INSTALLDIR]MSDE

INSTALLDIR

Plesk installation path

7.5.0

[Program files]SWsoft\Plesk

As Plesk uses the Microsoft Installer technology, it supports all of its standard parameters, which you can find here:

http://msdn.microsoft.com/library/en-us/msi/setup/command_line_options.asp

For example, to automate the Plesk installation, use the 'silent' installation mode with the command line switch /q (you still can use variables for specifying options):

msiexec /i <*.msi file or GUID> /q
<variable name1>=<value1> <variable name2>=<value2> ... <variable nameN>=<valueN>

You can choose what features you want to see installed. Each feature has an identifier (ID) and many can be installed in the user-specified locations.

You specify the feature list in the ADDLOCAL property of the Plesk installation command:

msiexec /i <*.msi file or GUID>
<variable name1>=<value1> <variable name2>=<value2> ... <variable nameN>=<valueN> ADDLOCAL = <FeatureID1>, <FeatureID2>, ..., <FeatureIDN>

The following list contains descriptions of the Plesk for Windows features and components, which could be installed, along with the corresponding Feature ID's and location variables (where available). You can change the location variables in the command line for changing the default installation locations. Note that Feature ID's are case-sensitive. ('MySQL' is not the same as 'mysql'!)

Feature ID

Parent Feature

Title

Description

Location variable

PleskCP

 

Plesk Core

Installs Plesk components

INSTALLDIR

DatabaseServers

 

Database Management

Contains SQL database servers and ODBC drivers

DATABASE_INSTALLDIR

PleskAppVaults

 

Plesk Site Applications

Contains ready to use application packages

APPVAULT_INSTALLDIR

KasperskyAV

AntiVirus

Kaspersky

Installs Kaspersky AV 4.0.2.26

 

MySQL

DatabaseServers

MySQL Database Server

Installs MySQL 4.1.8-nt

MYSQL_INSTALLDIR

PortalSK

StarterKits

Portal Starter Kit

Installs Starter Kit demonstrating how to use ASP.NET and the .NET Framework for building a dynamic portal application

PORTALSK_INSTALLDIR

ReportsSK

StarterKits

Reports Starter Kit

Installs Starter Kit demonstrating a simple data reporting solution for displaying multiple views on data, creating charts, and rendering any type of data in a Web application

REPORTSSK_INSTALLDIR

TimeTrackerSK

StarterKits

Time Tracker Starter Kit

Installs Starter Kit demonstrating how to build a line-of-business ASP.NET application to track time worked on projects

TIMETRACKERSK_INSTALLDIR

MySQLODBC

DatabaseServers

MySQL Connector

Installs ODBC driver (also known as the MyODBC 3.51 Driver).

 

PhpMyAdmin

DatabaseServers

PHP MyAdmin

Installs Web-based MySQL manager (PHP MyAdmin 2.6.0-pl3).

 

MSDNSSupport

DNSSupport

MS DNS support files

Installs files for supporting MS DNS Server.

 

MerakSupport

MailServersSupport

Merak support files

Installs files for supporting Merak Mail Server.

 

CommerceSK

StarterKits

Commerce Starter Kit

Installs Starter Kit demonstrating an ecommerce storefront application complete with shopping cart, product catalog, and a web service to submit orders.

COMMERCESK_INSTALLDIR

FTPSupport

SupportFiles

FTP Servers

Contains Microsoft, Gene6 and Serv-U FTP servers support files

 

MSSQLWebAdmin

DatabaseServers

ASP.NET Enterprise Manager

Installs Web-based MS SQL manager 0.1.3

MSSQLWEBADMIN_INSTALLDIR

MSDE

DatabaseServers

Microsoft SQL Server Desktop Engine

Installs MSDE 2000 SP3 A.

MSDE_INSTALLDIR

Expand

PleskCP

Plesk Agent

Installs Plesk Agent that allows integration with third-party management systems

 

DrWeb

AntiVirus

DrWeb Installs

Mail Antivirus 4.32.2.12010

DRWEB_INSTALLDIR

LonghornSkin

Skins

Longhorn

Longhorn Aero, Longhorn Black and Longhorn Yellow

 

Uebimiau

PleskAppVaults

UebiMiau

Installs WebMail client with the folders support.

 

postNuke

PleskAppVaults

postNuke

Installs Weblog/Content Management System (CMS).

 

phpBook

PleskAppVaults

phpBook

Installs Guestbook application.

 

phpBB

PleskAppVaults

phpBB

Installs customizable Bulletin Board application

 

gtChat

PleskAppVaults

gtChat

Installs user-friendly Web Chat application

 

bbClone

PleskAppVaults

bbClone

Installs advanced Web Counter application

 

Tomcat

 

Tomcat

Contains Tomcat Java servlet engines

TOMCAT_INSTALLDIR

Additional

 

 

Script Engines Installs additional script engines. Contains Python, Perl, PHP

ADDITIONAL_INSTALLDIR

AWStats

Statistics

AWStats

Installs AWStats 6.0 that generates graphical reports on Web, FTP, Mail servers' usage.

 

WebMail

MailServers

WebMail Client

Installs Horde IMP 3.2.3 that provides web mail access to IMAP and POP3 accounts

 

PHP

Additional

PHP

Installs PHP engine 4.3.10 (cgi-fcgi)

PHP_INSTALLDIR

osCommerce

PleskAppVaults

osCommerce

Installs on-line shop e-commerce solution

 

Documentation

 

Plesk Documentation

Installs Plesk user's guides

 

Webalizer

Statistics

Webalizer

Installs Webalizer V2.01-10 English that produces web server usage reports in HTML format

WEBALIZER_INSTALLDIR

Bind

DNSServers

BIND DNS Server

Installs BIND DNS Server 9.2.4

BIND_INSTALLDIR

Mambo

PleskAppVaults

Mambo CMS

Installs Web content management system

 

BackupSystems

 

Backup Systems

Contains Acronis

 

SpamAssassin

MailServers

SpamAssasin

Installs SpamAssasin 2.64 which is an application intended to identify e-mail spam messages.

SPAMASSASSIN_INSTALLDIR

Perl

Additional

Perl

Installs Perl v5.8.6 built for MSWin32-x86-multi-thread

PERL_INSTALLDIR

JDK

Tomcat

Java 2 SDK

Installs Java Software Development Kit

JDK_INSTALLDIR

Python

Additional

Python

Installs Python 2.4.3

PYTHON_INSTALLDIR

MailEnable

MailServers

MailEnable Mail Server

Installs MailEnable Standard 1.8

MAILENABLE_INSTALLDIR

DNSSupport

SupportFiles

DNS Servers

Contains MS DNS and BIND support files

 

AcronisImageAgent

Acronis

True Image Agent

Installs on a remote system to enable access from Acronis True Image Management Console

ACRONIS_TIA_INSTALLDIR

MailServers

 

Mail Management

Contains Mail Enable Mail Server, WebMail Client and Spam Filtering program

MAILSERVERS_INSTALLDIR

StarterKits

 

ASP.NET Starter Kits

Contains sample ASP.NET applications that provide code to accomplish common Web development tasks

STARTERKITS_INSTALLDIR

Statistics

 

Statistics

Contains programs intended to analyze web server log files

 

CommunitySK

StarterKits

Community Starter Kit

Installs Starter Kit enabling an individual or an ISP to quickly create a community Web site such as a user group site, a developer resource site, or a news site

COMMUNITYSK_INSTALLDIR

PDFDoc

Documentation

PDF Format

Installs Plesk user's guides in PDF format

 

HTMLDoc

Documentation

HTML Format

Installs Plesk user's guides in HTML format

 

PleskSkins

Skins

Plesk

Plesk Blue, Plesk Classic Silver, Plesk Nature, Plesk Sea, Plesk Silver and Plesk Violet

 

AquaSkin

Skins

Aqua

Aqua and Aqua Compact

 

WinXPSkins

Skins

WinXP

WinXP Blue, WinXP Reloaded, WinXP Reloaded Compact, WinXP Olivegreen and WinXP Silver

 

AntiVirus

 

Antivirus

Contains DrWeb and Kaspersky antivirus programs

 

AcronisEnterpriseServer

Acronis

Enterprise Server

Installs Acronis True Image Enterprise Server

ACRONIS_TIS_INSTALLDIR

AcronisManagementConsole

Acronis

Management Console

Installs Acronis True Image Management Console that helps to install and manage the Acronis True Image Agent on a remote machine: creates partition/disk backups, schedules data backup etc.

ACRONIS_TIC_INSTALLDIR

Skins

 

Plesk Skins

Installs custom styles of Plesk interface appearance

 

Acronis

 

BackupSystems

Acronis True Image Enterprise ServerContains True Image Management Console, Acronis True Image Agent, and Acronis True Image Enterprise Server

ACRONIS_INSTALLDIR

SiteBuilder

PleskCP

Plesk SiteBuilder

Installs web-based WYSIWYG application that allows creating, modifying and updating websites

 

DNSServers

 

DNS Servers

Contains BIND DNS Server

DNS_INSTALLDIR

For example, to install Plesk in silent mode with Acronis installed into the "c:\Acronis" directory and the PDF documentation installed into the default location, use the following command:

msiexec /i <*.msi file or GUID> /q ACRONIS_INSTALLDIR="c:\Acronis" ADDLOCAL = Acronis, PDFDoc

Note: We recommend specify all paths without the ending slash ('\') (e.g. "c:\Acronis" instead of "c:\Acronis\"), because the ending slash can cause some problems later.

Some features have dependencies on other features. So, when you install such a feature, its dependencies are installed too. The following table lists such dependencies:

Feature

Master feature

Tomcat

JDK

AWStats

Perl

WebMail

PHP

SpamAssassin

Perl

SiteBuilder

PHP