Items you must select,
such as menu options,
command buttons, or items
in a list.
Go to the System tab.
Titles of chapters, sections,
and subsections.
Read the Basic Administration chapter.
Italics
Used to emphasize the
importance of a point, to
introduce a term or to
designate a command line
placeholder, which is to be
replaced with a real name
or value.
The system supports the
so called wildcard character search.
Monospace
The names of commands,
files, and directories.
The license file is located
in the
http://docs/common
/licenses directory.
Preface
Typographical Conventions
Before you start using this guide, it is important to understand the documentation
conventions used in it.
The following kinds of formatting in the text identify special information.
Preface 5
Preformatted
On-screen computer output
in your command-line
sessions; source code in
XML, C++, or other
programming languages.
# ls –al /files
total 14470
Preformatted
Bold
What you type, contrasted
with on-screen computer
output.
# cd
/root/rpms/php
CAPITALS
Names of keys on the
keyboard.
SHIFT, CTRL, ALT
KEY+KEY
Key combinations for which
the user must press and
hold down one key and
then press another.
CTRL+P, ALT+F4
Feedback
If you have found a mistake in this guide, or if you have suggestions or ideas on how to
improve this guide, please send your feedback using the online form at
http://www.parallels.com/en/support/usersdoc/. Please include in your report the guide‟s title,
chapter and section titles, and the fragment of text in which you have found an error.
This guide covers installation, update, modification and uninstallation process for Plesk
C H A P T E R 1
Introduction
Meeting Installation Requirements
for Windows.
To learn about Plesk for Windows installation requirements, refer to the Meeting
Installation Requirements (see page 6) chapter.
To learn about installing Plesk for Windows, refer to the Installing Plesk for
Windows (on page 9) chapter.
Attention: Make sure your server fits the requirements listed in the Meeting
Installation Requirements (see page 6) chapter before installing Plesk.
To read about installing Plesk for Windows through GUI, refer to the Installing
Plesk for Windows Using GUI (on page 10) section.
To read about installing Plesk for Windows through command line, refer to the
Installing Plesk for Windows Using Command Line Interface (on page 13)
section.
To learn about updating earlier versions of Plesk for Windows to the latest version
of Plesk for Windows, refer to the Updating Earlier Version of Plesk for Windows to
Latest Version of Plesk for Windows (on page 55) chapter.
To learn about resolving post-installation issues, refer to the Resolving Post-
Installation Issues (on page 59) chapter.
To learn about updating Plesk for Windows, refer to the Updating Plesk for
Windows (on page 60) chapter.
To learn about modifying Plesk for Windows installation, refer to the Modifying
Plesk for Windows (on page 66) chapter.
To read about uninstalling Plesk for Windows, refer to the Uninstalling Plesk for
Windows (on page 67) chapter.
Meeting Installation Requirements 7
Before you install Plesk on your server, make sure the following requirements are met:
Microsoft Windows 2003 Server or Microsoft Windows 2008 Server is installed on
your system.
Your server uses static IP address.
QoS Packet Scheduler service is enabled.
Internet Information Server (IIS) is installed on your system with WWW and FTP
support.
Mail Server role is NOT chosen for your server, otherwise there will be conflicts with
MailEnable mail server included with Plesk.
Your server is NOT working as a Windows Domain Controller (neither primary nor
backup). If this requirement is not fulfilled, a system crash may occur during the
creation of domains with certain names.
Attention: Plesk must be installed on NTFS partitions. We strongly recommend that
you install Plesk on a clean server. Only the required operating system components
should be installed. If you have to choose a role for your server, select the Application
Server role.
The following things should be taken in consideration when before installing Plesk or
some of its specific components:
If you want to use SSI, ASP and FrontPage services, select the respective
components during the installation of IIS.
If you want to install SiteBuilder for Windows included with Plesk for Windows
installation package, make sure that .NET Framework 2.0 is installed on your
server.
If you want to install the Tomcat component included with Plesk installer, please
make sure that the folder where Tomcat will be installed has no national or special
characters in its name. The following characters are allowed: basic Latin
characters, numerals, space and the following symbols: !#$%&()+,-.:;=@[]_{}.
If you want to use ColdFusion:
ColdFusion should be installed separately before installing Plesk.
If you intend to use ColdFusion support in Plesk, ColdFusion should be installed
on the server with Default Web Site chosen on the Web Server Selection step of
installation. Otherwise, if you choose All IIS Websites, ColdFusion support will
always be activated for all domains that have physical hosting, regardless of the
corresponding checkbox status.
If you want to use Microsoft SQL Server DBMS support in Plesk:
Microsoft SQL Server should be installed and configured to use standard or
mixed security mode.
If Microsoft SQL Server is not installed, you can select Microsoft Database
Engine (MSDE) or Microsoft SQL Server 2005 Express Edition
(MSSQLEXPRESS) on Windows 2003 platform and Microsoft SQL Server 2005
Express Edition on Windows 2008 platform to be installed with Plesk and
configured with administrator name „sa‟ and random password, which you can
change later on the Server > Databases page.
8 Meeting Installation Requirements
If you want to use external Microsoft SQL Server (in case it was installed before
Plesk), you need to supply the required password on the Server > Databases
page.
If you have AVG antivirus on your system, please disable it during Plesk
installation, upgrade or template deployment, to avoid its conflict with DrWeb. AVG
detects drwebcom.exe as a virus and prevents file coping. This leads to Plesk
installation (upgrade) failure.
Due to the large quantity of various software available on the market, Parallels cannot
guarantee compatibility with all third-party software products, except when explicitly
stated otherwise. Please exercise special caution when using various antivirus and
firewall software that has issues with blocking of potentially dangerous programs,
because such software is known to to malfunction when working on the server with
installed Plesk.
Plesk for Windows is available through the SetupPlesk.exe installer, which will
In this chapter:
Installing Plesk for Windows Using GUI ............................................................. 10
Installing Plesk for Windows Using Command Line Interface ............................ 13
C H A P T E R 2
Installing Plesk for Windows
download and install all the required prerequisites and Plesk components depending
on your installation choices.
There are two ways to install Plesk through downloaded installer:
Install Plesk using GUI (Graphical User Interface). This installation procedure is
described in the Installing Plesk for Windows Using GUI (on page 10) section.
Install Plesk using CLI (Command Line Interface). This installation procedure is
described in the Installing Plesk for Windows Using Command Line Interface (on
page 13) section.
If you are relatively unexperienced user, we recommend to install Plesk via GUI.
If you have an earlier version of Plesk installed on your server, refer to the Updating
Earlier Versions of Plesk for Windows to Latest Version of Plesk for Windows (on page
55) chapter.
10 Installing Plesk for Windows
Installing Plesk for Windows Using GUI
To install Plesk for Windows on your server using GUI:
1 Log in to your system as Administrator or another user with
Administrator privileges.
2 Make sure that you have the Plesk installation package ready. You
can download the required Plesk installation package from Parallels
Web site (http://www.parallels.com (http://www.parallels.com/)).
3 Run Plesk installer by running the SetupPlesk.exe file.
4 The installer will check your system for required components and
determine whether your system is ready to install Plesk or not. If
some of the required components are missing, the installer will run
Plesk for Windows Prerequisites Wizard to install the missing
components. In this case, click Next > to proceed with the installing the
components and click Next > again after the required components are
installed.
5 After the installation of the required components is complete, Plesk
installer will display a welcome message. Click Next > to proceed.
If you have an earlier version of Plesk installed on your server, you will be prompted
to update your version of Plesk to the current Plesk for Windows version. Refer to
the Updating Earlier Versions of Plesk for Windows to Latest Version of Plesk for
Windows (on page 55) chapter for more information.
6 Read the license agreement. Select the I accept the license agreement
option, if you agree with all terms and conditions stated in the license
agreement, and click Next > to proceed.
If your server already hosts domains on IIS 6.0 or mail accounts on a mail server
supported by Plesk, you will be prompted to migrate the existing data to Plesk.
Refer to the In-Place Migration to Plesk for Windows Administrator‟s Guide for more
information.
7 Choose the installation paths for Plesk and its applications (Destination
Folder), Plesk and its applications data (Application Data Folder) and virtual hosts data (Virtual Hosts Destination Folder). Click Next > to proceed.
8 Choose the required installation type (Typical, Complete or Custom) and
click Next >.
Selecting Typical will install all available Plesk components included in Plesk
distribution, except the following:
Plesk documentation in PDF format
Microsoft SQL Server 2005 Express Edition
Kaspersky Antivirus
Tomcat and Java 2 SDK
Python script engine
Installing Plesk for Windows 11
Selecting Complete will install all available Plesk components included in Plesk
distribution.
Selecting Custom will allow you to choose the Plesk components you wish to
install, including Plesk database engine and Plesk web server engine.
Note: SiteBuilder for Windows is integrated in Plesk and is installed with Plesk
by default. You can choose not to install it by deselecting the corresponding
option during Custom installation.
1. If you chose Custom installation, the next screen will prompt
you to choose the Plesk engine components (database and
web server) you wish to use. Select the required components
and click Next >.
You have the following choice of Plesk database engines:
MySQL. MySQL database can be used to ensure the compatibility with earlier
versions of Plesk. This engine is used by default when upgrading Plesk from
versions earlier than 7.6.
Microsoft Access. Select this database engine if you wish Plesk to use less
server resources, but operate slower. This engine is used by default when
Plesk is installed in Virtuozo environment.
Microsoft SQL Server. Select this database engine if you wish Plesk to use
more server resources and operate faster. This engine is used by default for
Plesk installation.
You can choose the following web server engines for Plesk:
Internet Information Server (IIS). IIS uses less server resources than Apache,
but it is not as stable as Apache. This engine is used by default for Plesk
installation. It is also used when upgrading Plesk from 7.5.
Apache Web Server. Apache is more stable than IIS, but uses more server
resources.
2. Select the Plesk components you would like to install and click
Next >. You can click Reset to reset the components selection to
the default values.
3. If you chose not to install MSDE during the selection of Plesk
components to be installed, you will be prompted to specify
the parameters of local MSDE instance (host name and
administrator's login with password). This is required if you
selected Microsoft SQL Server as Plesk database engine or if
you chose to install SiteBuilder for Windows. Otherwise, if you
do not want to use MSDE, you can select the Don’t use Microsoft SQL Server check box and click Next >.
9 Specify the administrator password for default login („admin‟) used for
accessing Plesk control panel after the installation.
The password cannot be shorter than 4 symbols and longer than 15 symbols. For
security reasons, the password should be more than 8 symbols, and it should
comprise a combination of letters, numbers, and punctuation; dictionary words and
proper names should be avoided.
12 Installing Plesk for Windows
10 Leave the Enable Shared W3WP Desktop check box selected if you want IIS
to allocate one shared desktop for all World Wide Web Worker
Processes to optimize server memory usage. Click Next > to proceed
with the installation.
Windows has a notion of desktops where applications write their output to. By
default, IIS allocates a new desktop for each application pool it creates. However,
application pools do not have any graphical output and this could be a waste of
memory to allocate separate desktops for each of them. Leaving the Enable the use of a Shared W3WP Desktop check box selected allows IIS to allocate one shared
desktop for all World Wide Web Worker Processes (W3WP). Note that sometimes
this setting could cause problems. Use the following Microsoft resources to get
more information on this topic:
11 Plesk installer will notify you that clicking Next > will install Plesk with
selected options. Click Next > to proceed.
12 The installer will start the components installation process. If you are
using web installer, it will connect to the Parallels Web site, download
the components you selected, and install them. When the installation
of Plesk components is finished, the installer will notify you that Plesk
for Windows was successfully installed. Click Finish to finish the
installation process.
Plesk will start working right after the installation is finished. If you chose to install
Acronis True Image Module, Plesk will ask you to reboot the system. After the reboot,
Plesk launches automatically.
To complete the initial configuration of Plesk, log in to the Plesk control panel running
on your host at https://machine.domain.name:8443/ or https://IP-
address:8443/. Use the username „admin‟ and password „setup‟ (both are case
sensitive). For security reasons, change the password upon initial login. Follow the onscreen instructions to complete the initial configuration of Plesk. For more information
on post-installation configuration of Plesk, refer to the Plesk for Windows
Administrator‟s Guide.
Installing Plesk for Windows 13
Installing Plesk for Windows Using
In this section:
Installing Plesk Without MSDE and MSSQLEXPRESS ..................................... 14
Installing Plesk with MSDE ................................................................................ 25
Installing Plesk with MSSQLEXPRESS ............................................................. 34
List of Variables Available for Plesk Installation Through Command Line .......... 43
List of Plesk Components Available for Plesk Installation Through Command Line 47
Command Line Interface
The installation of Plesk through command line interface is recommended only for
advanced users. It is assumed that the reader of this section and its subsections
possesses a sufficient degree of knowledge about creating files and working with
command line interface (including the use of variables).
To install Plesk from command line using web installer:
Open the command prompt (Start > Run > cmd.exe) and run the following command,
supplying installation options in place of <variable name>=<value>:
To see the list of variables that can be used when installing Plesk through command
line, refer to the List of Variables Available for Plesk Installation Through Command
Line (on page 43) section.
You can choose what Plesk components you want to install. To see the list of Plesk
components that can be installed when installing Plesk through command line, refer to
the List of Plesk Components Available for Plesk Installation Through Command Line
(on page 47) section.
14 Installing Plesk for Windows
Installing Plesk Without MSDE and MSSQLEXPRESS
In this section:
Performing Complete or Typical Installation of Plesk Without MSDE and
MSSQLEXPRESS from Command Line ................................ ............................ 15
Performing Custom Installation of Plesk Without MSDEand MSSQLEXPRESS from
Command Line .................................................................................................. 17
Installing Plesk with External Microsoft SQL Server .......................................... 19
Installing Plesk Without SiteBuilder and MSDE and MSSQLEXPRESS from
Command Line .................................................................................................. 21
Installing Plesk Without PHP, Perl or Python and MSDE and MSSQLEXPRESS from
Command Line .................................................................................................. 23
The following typical installation cases are addressed in this section:
Complete or Typical installation of Plesk in silent mode without MSDE and
MSSQLEXPRESS is described in the Performing Complete or Typical Installation of
Plesk Without MSDE and MSSQLEXPRESS from Command Line (on page 15)
section.
In case of Typical installation, all available Plesk components included in Plesk
distribution are installed, except the following:
Plesk documentation in PDF format
Microsoft SQL Server 2005 Express Edition
Kaspersky Antivirus
Tomcat and Java 2 SDK
Python script engine
Custom installation of Plesk in silent mode without MSDE and MSSQLEXPRESS is
described in the Performing Custom Installation of Plesk Without MSDE and
MSSQLEXPRESS from Command Line (on page 17) section.
Complete installation of Plesk in silent mode using external Microsoft SQL Server is
described in the Installing Plesk with External Microsoft SQL Server (on page 19)
section. Note that this installation procedure is similar to Complete installation of Plesk
without MSDE and MSSQLEXPRESS.
Complete installation of Plesk in silent mode without SiteBuilder, MSDE and
MSSQLEXPRESS is described in the Installing Plesk Without SiteBuilder, MSDE and
MSSQLEXPRESS from Command Line (on page 21) section.
Complete installation of Plesk in silent mode without PHP, Perl or Python and MSDE
and MSSQLEXPRESS is described in the Installing Plesk Without PHP, Perl or Python
and MSDE and MSSQLEXPRESS from Command Line (on page 23) section.
Installing Plesk for Windows 15
Performing Complete or Typical Installation of Plesk Without
MSDE and MSSQLEXPRESS from Command Line
To perform a Complete or Typical Plesk for Windows installation without MSDE and
MSSQLEXPRESS from command line:
1 Create a file called install-plesk.cmd in your system. Copy the
following information into it:
@echo off
if “%6” == “” (
echo “ USAGE: install-plesk.cmd <distrib path> <installation path>
<mode> <MSSQL host> <MSSQL admin name> <MSSQL admin password>”
echo “ where
echo “ <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
echo “ <MSSQL host> is MSSQL Server location with optional instance
name (e.g. localhost\SQLEXPRESS),
echo “ <MSSQL admin name> is MSSQL Server administrator name
echo “ <MSSQL admin password> is MSSQL Server administrator password
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
@echo on
“%plesk_distrib_dir%\SetupPlesk.exe” /qn MSSQL_HOST=%4
MSSQL_ADMIN_NAME=%5 MSSQL_ADMIN_PASSWD=%6 INSTALLDIR=”%plesk_dir%”
ADDLOCAL=ALL REMOVE=%plesk_exclude% /l*v “%plesk_dir%\pleskinstall.log”
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run one of the following commands to install Plesk without MSDE and
MSSQLEXPRESS:
To perform a Complete installation of Plesk, run:
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
<MSSQL host> - external Microsoft SQL host name.
<MSSQL admin name> - external Microsoft SQL administrator login.
<MSSQL admin password> - external Microsoft SQL administrator password.
4 The installer will proceed with installing Plesk without MSDE and
MSSQLEXPRESS.
Installing Plesk for Windows 17
Performing Custom Installation of Plesk Without MSDEand
MSSQLEXPRESS from Command Line
To perform a Custom Plesk for Windows installation without MSDE and
MSSQLEXPRESS from command line:
1 Create a file called install-plesk.cmd in your system. Copy the
following information into it:
@echo off
if “%6” == “” (
echo “ USAGE: install-plesk.cmd <distrib path> <installation path>
<mode> <MSSQL host> <MSSQL admin name> <MSSQL admin password>”
echo “ where
echo “ <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
echo “ <MSSQL host> is MSSQL Server location with optional instance
name (e.g. localhost\SQLEXPRESS),
echo “ <MSSQL admin name> is MSSQL Server administrator name
echo “ <MSSQL admin password> is MSSQL Server administrator password
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
@echo on
“%plesk_distrib_dir%\SetupPlesk.exe” /qn MSSQL_HOST=%4
MSSQL_ADMIN_NAME=%5 MSSQL_ADMIN_PASSWD=%6 INSTALLDIR=”%plesk_dir%”
ADDLOCAL=ALL REMOVE=%plesk_exclude% /l*v “%plesk_dir%\pleskinstall.log”
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run the following command to install Plesk without MSDE and
Important: This command will install all available Plesk components except those
specified in place of <component ID> variable.
The following variables are used by this command:
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
<component ID> - ID of the component that should not be installed, for
example, KasperskyAV. You can specify several component IDs at once,
separating them with a comma. For the list of available component IDs, refer to
the List of Plesk Components Available for Plesk Installation Through Command
Line (on page 47) section. Otherwise, the command will install all components.
<MSSQL host> - external Microsoft SQL host name.
<MSSQL admin name> - external Microsoft SQL administrator login.
<MSSQL admin password> - external Microsoft SQL administrator password.
4 The installer will proceed with installing Plesk without specified
components and without MSDE and MSSQLEXPRESS.
Installing Plesk for Windows 19
Installing Plesk with External Microsoft SQL Server
To perform a Complete or Typical Plesk for Windows installation with external Microsoft
SQL Server from command line:
1 Create a file called install-plesk.cmd in your system. Copy the
following information into it:
@echo off
if “%6” == “” (
echo “ USAGE: install-plesk.cmd <distrib path> <installation path>
<mode> <MSSQL host> <MSSQL admin name> <MSSQL admin password>”
echo “ where
echo “ <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
echo “ <MSSQL host> is MSSQL Server location with optional instance
name (e.g. localhost\SQLEXPRESS),
echo “ <MSSQL admin name> is MSSQL Server administrator name
echo “ <MSSQL admin password> is MSSQL Server administrator password
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
@echo on
“%plesk_distrib_dir%\SetupPlesk.exe” /qn MSSQL_HOST=%4
MSSQL_ADMIN_NAME=%5 MSSQL_ADMIN_PASSWD=%6 INSTALLDIR=”%plesk_dir%”
ADDLOCAL=ALL REMOVE=%plesk_exclude% /l*v “%plesk_dir%\pleskinstall.log”
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
Note. You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run one of the following commands to install Plesk using external
Microsoft SQL Server:
To perform a Complete installation of Plesk, run:
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
<MSSQL host> - external Microsoft SQL host name.
<MSSQL admin name> - external Microsoft SQL administrator login.
<MSSQL admin password> - external Microsoft SQL administrator password.
4 The installer will proceed with installing Plesk using external Microsoft
SQL Server.
Installing Plesk for Windows 21
Installing Plesk Without SiteBuilder and MSDE and
MSSQLEXPRESS from Command Line
To install Plesk without SiteBuilder and MSDE from command line:
1 Create a file called install-plesk.cmd in your system. Copy the
following information into it:
@echo off
if “%6” == “” (
echo “ USAGE: install-plesk.cmd <distrib path> <installation path>
<mode> <MSSQL host> <MSSQL admin name> <MSSQL admin password>”
echo “ where
echo “ <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
echo “ <MSSQL host> is MSSQL Server location with optional instance
name (e.g. localhost\SQLEXPRESS),
echo “ <MSSQL admin name> is MSSQL Server administrator name
echo “ <MSSQL admin password> is MSSQL Server administrator password
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
@echo on
“%plesk_distrib_dir%\SetupPlesk.exe” /qn MSSQL_HOST=%4
MSSQL_ADMIN_NAME=%5 MSSQL_ADMIN_PASSWD=%6 INSTALLDIR=”%plesk_dir%”
ADDLOCAL=ALL REMOVE=%plesk_exclude% /l*v “%plesk_dir%\pleskinstall.log”
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run the following command to install Plesk without SiteBuilder and
The following variables are used by this command:
<distrib path> - full path to SetupPlesk.exe file.
22 Installing Plesk for Windows
<installation path> - full path to the folder where Plesk should be
installed.
<MSSQL host> - external Microsoft SQL host name.
<MSSQL admin name> - external Microsoft SQL administrator login.
<MSSQL admin password> - external Microsoft SQL administrator password.
4 The installer will proceed with installing Plesk without SiteBuilder and
MSDE and MSSQLEXPRESS.
Installing Plesk for Windows 23
Installing Plesk Without PHP, Perl or Python and MSDE and
MSSQLEXPRESS from Command Line
To install Plesk without PHP, Perl or Python and MSDE from command line:
1 Create a file called install-plesk.cmd in your system. Copy the
following information into it:
@echo off
if “%6” == “” (
echo “ USAGE: install-plesk.cmd <distrib path> <installation path>
<mode> <MSSQL host> <MSSQL admin name> <MSSQL admin password>”
echo “ where
echo “ <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
echo “ <MSSQL host> is MSSQL Server location with optional instance
name (e.g. localhost\SQLEXPRESS),
echo “ <MSSQL admin name> is MSSQL Server administrator name
echo “ <MSSQL admin password> is MSSQL Server administrator password
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
@echo on
“%plesk_distrib_dir%\SetupPlesk.exe” /qn MSSQL_HOST=%4
MSSQL_ADMIN_NAME=%5 MSSQL_ADMIN_PASSWD=%6 INSTALLDIR=”%plesk_dir%”
ADDLOCAL=ALL REMOVE=%plesk_exclude% /l*v “%plesk_dir%\pleskinstall.log”
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run the following command to install Plesk without PHP, Perl or
Important: This command will install all available Plesk components except PHP,
Perl and Python. If you want to install any of these components, remove them from
the command text. For example, if you do not want to install PHP and Python, but
you want to install Perl, remove Perl from the command text above.
The following variables are used by this command:
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
<MSSQL host> - external Microsoft SQL host name.
<MSSQL admin name> - external Microsoft SQL administrator login.
<MSSQL admin password> - external Microsoft SQL administrator password.
4 The installer will proceed with installing Plesk without PHP, Perl or
Python and MSDE and MSSQLEXPRESS.
Installing Plesk for Windows 25
Installing Plesk with MSDE
In this section:
Performing Complete or Typical Installation of Plesk with MSDE from Command
Line ................................................................................................................... 26
Performing Custom Installation of Plesk with MSDE from Command Line ......... 28
Installing Plesk Without SiteBuilder and with MSDE from Command Line ......... 30
Installing Plesk Without PHP, Perl or Python and with MSDE from Command Line
The following typical installation cases are addressed in this section:
Complete or Typical installation of Plesk in silent mode with MSDE is described in the
Performing Complete or Typical Installation of Plesk With MSDE from Command Line
(on page 26) section.
In case of Typical installation, all available Plesk components included in Plesk
distribution are installed, except the following:
Plesk documentation in PDF format
Microsoft SQL Server 2005 Express Edition
Kaspersky Antivirus
Tomcat and Java 2 SDK
Python script engine
Custom installation of Plesk in silent mode with MSDE is described in the Performing
Custom Installation of Plesk With MSDE from Command Line (on page 28) section.
Complete installation of Plesk in silent mode without SiteBuilder and with MSDE is
described in the Installing Plesk Without SiteBuilder and with MSDE from Command
Line (on page 30) section.
Complete installation of Plesk in silent mode without PHP, Perl or Python and with
MSDE is described in the Installing Plesk Without PHP, Perl or Python and with MSDE
from Command Line (on page 32) section.
26 Installing Plesk for Windows
Performing Complete or Typical Installation of Plesk with MSDE
from Command Line
To perform a Complete or Typical Plesk for Windows installation with MSDE from
command line:
1 Create a file called install-plesk-with-msde.cmd in your
system. Copy the following information into it:
@echo off
if “%3” == “” (
echo “ USAGE: install-plesk-with-msde.cmd <distrib path> <installation
path> <mode> [<MSDE password>]”
echo “ where <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
set msde_pwd=1q2w3e
if “%~4” NEQ “” set msde_pwd=%4
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run one of the following commands to install Plesk with MSDE:
To perform a Complete installation of Plesk, run:
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
[<MSDE password>] - Password for default MSDE administrator login „sa‟.
Note that this parameter is optional; if you do not specify it, the default MSDE
password will be set to „1q2w3e‟.
4 The installer will proceed with installing Plesk with MSDE.
28 Installing Plesk for Windows
Performing Custom Installation of Plesk with MSDE from
Command Line
To perform a Custom Plesk for Windows installation with MSDE from command line:
1 Create a file called install-plesk-with-msde.cmd in your
system. Copy the following information into it:
@echo off
if “%3” == “” (
echo “ USAGE: install-plesk-with-msde.cmd <distrib path> <installation
path> <mode> [<MSDE password>]”
echo “ where <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,SiteBuilder,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
set msde_pwd=1q2w3e
if “%~4” NEQ “” set msde_pwd=%4
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run the following command to install Plesk with MSDE:
Important: This command will install all available Plesk components except those
specified in place of <component ID> variable.
The following variables are used by this command:
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
<component ID> - ID of the component that should not be installed, for
example, KasperskyAV. You can specify several component IDs at once,
separating them with a comma. For the list of available component IDs, refer to
the List of Plesk Components Available for Plesk Installation Through Command
Line (on page 47) section. Otherwise, the command will install all components.
[<MSDE password>] - Password for default MSDE administrator login „sa‟.
Note that this parameter is optional; if you do not specify it, the default MSDE
password will be set to „1q2w3e‟.
4 The installer will proceed with installing Plesk without specified
components and with MSDE.
30 Installing Plesk for Windows
Installing Plesk Without SiteBuilder and with MSDE from
Command Line
To install Plesk for Windows without SiteBuilder and with MSDE from command line:
1 Create a file called install-plesk-with-msde.cmd in your
system. Copy the following information into it:
@echo off
if “%3” == “” (
echo “ USAGE: install-plesk-with-msde.cmd <distrib path> <installation
path> <mode> [<MSDE password>]”
echo “ where <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,SiteBuilder,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
set msde_pwd=1q2w3e
if “%~4” NEQ “” set msde_pwd=%4
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run the following command to install Plesk without SiteBuilder and
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
[<MSDE password>] - Password for default MSDE administrator login „sa‟.
Note that this parameter is optional; if you do not specify it, the default MSDE
password will be set to „1q2w3e‟.
4 The installer will proceed with installing Plesk without SiteBuilder and
with MSDE.
32 Installing Plesk for Windows
Installing Plesk Without PHP, Perl or Python and with MSDE
from Command Line
To install Plesk for Windows without PHP, Perl or Python and with MSDE from
command line:
1 Create a file called install-plesk-with-msde.cmd in your
system. Copy the following information into it:
@echo off
if “%3” == “” (
echo “ USAGE: install-plesk-with-msde.cmd <distrib path> <installation
path> <mode> [<MSDE password>]”
echo “ where <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,SiteBuilder,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
set msde_pwd=1q2w3e
if “%~4” NEQ “” set msde_pwd=%4
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run the following command to install Plesk without PHP, Perl or
Important: This command will install all available Plesk components except PHP,
Perl and Python. If you want to install any of these components, remove them from
the command text. For example, if you do not want to install PHP and Python, but
you want to install Perl, remove Perl from the command text.
The following variables are used by this command:
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
[<MSDE password>] - Password for default MSDE administrator login „sa‟.
Note that this parameter is optional; if you do not specify it, the default MSDE
password will be set to „1q2w3e‟.
4 The installer will proceed with installing Plesk without PHP, Perl or
Python and with MSDE.
34 Installing Plesk for Windows
Installing Plesk with MSSQLEXPRESS
In this section:
Performing Complete or Typical Installation of Plesk With MSSQLEXPRESS from
Command Line .................................................................................................. 35
Performing Custom Installation of Plesk With MSSQLEXPRESS from Command
Line ................................................................................................................... 37
Installing Plesk Without SiteBuilder and with MSSQLEXPRESS from Command Line
Installing Plesk Without PHP, Perl or Python and with MSSQLEXPRESS from
Command Line .................................................................................................. 41
The following typical installation cases are addressed in this section:
Complete or Typical installation of Plesk in silent mode with MSSQLEXPRESS is
described in the Performing Complete or Typical Installation of Plesk With
MSSQLEXPRESS from Command Line (see page 35) section.
In case of Typical installation, all available Plesk components included in Plesk
distribution are installed, except the following:
Plesk documentation in PDF format
Microsoft SQL Server 2005 Express Edition
Kaspersky Antivirus
Tomcat and Java 2 SDK
Python script engine
Custom installation of Plesk in silent mode with MSSQLEXPRESS is described in the
Performing Custom Installation of Plesk With MSSQLEXPRESS from Command Line
(see page 37) section.
Complete installation of Plesk in silent mode without SiteBuilder and with
MSSQLEXPRESS is described in the Installing Plesk Without SiteBuilder and with
MSSQLEXPRESS from Command Line (see page 39) section.
Complete installation of Plesk in silent mode without PHP, Perl or Python and with
MSSQLEXPRESS is described in the Installing Plesk Without PHP, Perl or Python and
with MSSQLEXPRESS from Command Line (see page 41) section.
Installing Plesk for Windows 35
Performing Complete or Typical Installation of Plesk With
MSSQLEXPRESS from Command Line
To perform a Complete or Typical Plesk for Windows installation with MSSQLEXPRESS
from command line:
1 Create a file called install-plesk-with-mssqlexpress.cmd in
your system. Copy the following information into it:
@echo off
if “%3” == “” (
echo “ USAGE: install-plesk-with-mssqlexpress.cmd <distrib path>
<installation path> <mode> [<MSSQLEXPRESS password>]”
echo “ where <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
set mssqlexpress_pwd=1q2w3e4R
if “%~4” NEQ “” set mssqlexpress_pwd=%4
@echo on
set
sql_server_exe=%plesk_distrib_dir%\sql_server_2005_express_edition_sp2
_x32.EXE
If “%PROCESSOR_ARCHITECTURE%” NEQ “x86” set
sql_server_exe=%plesk_distrib_dir%\sql_server_2005_express_edition_sp2
_x64.EXE
@echo SQL SERVER Installer path: “%sql_server_exe%” “%sql_server_exe%” /qb ADDLOCAL=ALL DISABLENETWORKPROTOCOLS=0
SEQURITYMODE=SQL REBOOT=ReallySuppress
INSTALLSQLDIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLSQLDATADIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLSQLSHAREDDIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLASDATADIR=”%plesk_dir%\Databases\MSSQL\”
INSTANCENAME=MSSQLSERVER
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
set osql_exe=%plesk_dir%Databases\MSSQL\90\Tools\Binn\OSQL.EXE
if not exist “%osql_exe%” set osql_exe=%plesk_dir%
(x86)\90\Tools\Binn\OSQL.EXE
@echo OSQL.EXE path: “%osql_exe%” “%osql_exe%” -E -Q “ALTER LOGIN sa ENABLE; ALTER LOGIN sa WITH
PASSWORD=’%mssqlexpress_pwd%’”
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
reg ADD “HKLM\SOFTWARE\Microsoft\Microsoft SQL
Server\MSSQL.1\MSSQLServer” /v LoginMode /d 2 /t REG_DWORD /f
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run one of the following commands to install Plesk with
MSSQLEXPRESS:
To perform a Complete installation of Plesk, run:
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
[<MSSQLEXPRESS password>] - Password for default MSSQLEXPRESS
administrator login „sa‟. Note that this parameter is optional; if you do not specify
it, the default MSSQLEXPRESS password will be set to „1q2w3e4R‟.
4 The installer will proceed with installing Plesk with MSSQLEXPRESS.
Installing Plesk for Windows 37
Performing Custom Installation of Plesk With MSSQLEXPRESS
from Command Line
To perform a Custom Plesk for Windows installation with MSSQLEXPRESS from
command line:
1 Create a file called install-plesk-with-mssqlexpress.cmd in
your system. Copy the following information into it:
@echo off
if “%3” == “” (
echo “ USAGE: install-plesk-with-mssqlexpress.cmd <distrib path>
<installation path> <mode> [<MSSQLEXPRESS password>]”
echo “ where <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
set mssqlexpress_pwd=1q2w3e4R
if “%~4” NEQ “” set mssqlexpress_pwd=%4
@echo on
set
sql_server_exe=%plesk_distrib_dir%\sql_server_2005_express_edition_sp2
_x32.EXE
If “%PROCESSOR_ARCHITECTURE%” NEQ “x86” set
sql_server_exe=%plesk_distrib_dir%\sql_server_2005_express_edition_sp2
_x64.EXE
@echo SQL SERVER Installer path: “%sql_server_exe%” “%sql_server_exe%” /qb ADDLOCAL=ALL DISABLENETWORKPROTOCOLS=0
SEQURITYMODE=SQL REBOOT=ReallySuppress
INSTALLSQLDIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLSQLDATADIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLSQLSHAREDDIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLASDATADIR=”%plesk_dir%\Databases\MSSQL\”
INSTANCENAME=MSSQLSERVER
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
set osql_exe=%plesk_dir%Databases\MSSQL\90\Tools\Binn\OSQL.EXE
if not exist “%osql_exe%” set osql_exe=%plesk_dir%
(x86)\90\Tools\Binn\OSQL.EXE
@echo OSQL.EXE path: “%osql_exe%” “%osql_exe%” -E -Q “ALTER LOGIN sa ENABLE; ALTER LOGIN sa WITH
PASSWORD=’%mssqlexpress_pwd%’”
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
reg ADD “HKLM\SOFTWARE\Microsoft\Microsoft SQL
Server\MSSQL.1\MSSQLServer” /v LoginMode /d 2 /t REG_DWORD /f
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run the following command to install Plesk with MSSQLEXPRESS:
Important: This command will install all available Plesk components except those
specified in place of <component ID> variable.
The following variables are used by this command:
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
<component ID> - ID of the component that should not be installed, for
example, KasperskyAV. You can specify several component IDs at once,
separating them with a comma. For the list of available component IDs, refer to
the List of Plesk Components Available for Plesk Installation Through Command
Line section. Otherwise, the command will install all components.
[<MSSQLEXPRESS password>] - Password for default MSSQLEXPRESS
administrator login „sa‟. Note that this parameter is optional; if you do not specify
it, the default MSSQLEXPRESS password will be set to „1q2w3e4R‟.
4 The installer will proceed with installing Plesk with MSSQLEXPRESS.
Installing Plesk for Windows 39
Installing Plesk Without SiteBuilder and with MSSQLEXPRESS
from Command Line
To install Plesk for Windows without SiteBuilder and with MSSQLEXPRESS from
command line:
1 Create a file called install-plesk-with-mssqlexpress.cmd in
your system. Copy the following information into it:
@echo off
if “%3” == “” (
echo “ USAGE: install-plesk-with-mssqlexpress.cmd <distrib path>
<installation path> <mode> [<MSSQLEXPRESS password>]”
echo “ where <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
set mssqlexpress_pwd=1q2w3e4R
if “%~4” NEQ “” set mssqlexpress_pwd=%4
@echo on
set
sql_server_exe=%plesk_distrib_dir%\sql_server_2005_express_edition_sp2
_x32.EXE
If “%PROCESSOR_ARCHITECTURE%” NEQ “x86” set
sql_server_exe=%plesk_distrib_dir%\sql_server_2005_express_edition_sp2
_x64.EXE
@echo SQL SERVER Installer path: “%sql_server_exe%” “%sql_server_exe%” /qb ADDLOCAL=ALL DISABLENETWORKPROTOCOLS=0
SEQURITYMODE=SQL REBOOT=ReallySuppress
INSTALLSQLDIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLSQLDATADIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLSQLSHAREDDIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLASDATADIR=”%plesk_dir%\Databases\MSSQL\”
INSTANCENAME=MSSQLSERVER
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
set osql_exe=%plesk_dir%Databases\MSSQL\90\Tools\Binn\OSQL.EXE
if not exist “%osql_exe%” set osql_exe=%plesk_dir%
(x86)\90\Tools\Binn\OSQL.EXE
@echo OSQL.EXE path: “%osql_exe%” “%osql_exe%” -E -Q “ALTER LOGIN sa ENABLE; ALTER LOGIN sa WITH
PASSWORD=’%mssqlexpress_pwd%’”
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
reg ADD “HKLM\SOFTWARE\Microsoft\Microsoft SQL
Server\MSSQL.1\MSSQLServer” /v LoginMode /d 2 /t REG_DWORD /f
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run the following command to install Plesk without SiteBuilder and
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
[<MSSQLEXPRESS password>] - Password for default MSSQLEXPRESS
administrator login „sa‟. Note that this parameter is optional; if you do not specify
it, the default MSSQLEXPRESS password will be set to „1q2w3e4R‟.
Installing Plesk for Windows 41
Installing Plesk Without PHP, Perl or Python and with
MSSQLEXPRESS from Command Line
To install Plesk for Windows without PHP, Perl or Python and with MSSQLEXPRESS
from command line:
1 Create a file called install-plesk-with-mssqlexpress.cmd in
your system. Copy the following information into it:
@echo off
if “%3” == “” (
echo “ USAGE: install-plesk-with-mssqlexpress.cmd <distrib path>
<installation path> <mode> [<MSSQLEXPRESS password>]”
echo “ where <mode> can be:
echo “ complete - Complete Plesk installation
echo “ typical - Typical Plesk installation
echo “ {comp_list} - Complete Plesk installation without specified
components (use a comma to separate the components)
exit /b 1
)
set plesk_distrib_dir=%~1
set plesk_dir=%~2
set plesk_non_typical=KasperskyAV,PDFDoc,Python,JDK,Tomcat
if “%3” == “complete” set plesk_exclude=MSDE,MSSQLEXPRESS
if “%3” == “typical” set
plesk_exclude=MSDE,MSSQLEXPRESS,%plesk_non_typical%
if “%plesk_exclude%” == “” set plesk_exclude=MSDE,MSSQLEXPRESS,%~3
set mssqlexpress_pwd=1q2w3e4R
if “%~4” NEQ “” set mssqlexpress_pwd=%4
@echo on
set
sql_server_exe=%plesk_distrib_dir%\sql_server_2005_express_edition_sp2
_x32.EXE
If “%PROCESSOR_ARCHITECTURE%” NEQ “x86” set
sql_server_exe=%plesk_distrib_dir%\sql_server_2005_express_edition_sp2
_x64.EXE
@echo SQL SERVER Installer path: “%sql_server_exe%” “%sql_server_exe%” /qb ADDLOCAL=ALL DISABLENETWORKPROTOCOLS=0
SEQURITYMODE=SQL REBOOT=ReallySuppress
INSTALLSQLDIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLSQLDATADIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLSQLSHAREDDIR=”%plesk_dir%\Databases\MSSQL\”
INSTALLASDATADIR=”%plesk_dir%\Databases\MSSQL\”
INSTANCENAME=MSSQLSERVER
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
set osql_exe=%plesk_dir%Databases\MSSQL\90\Tools\Binn\OSQL.EXE
if not exist “%osql_exe%” set osql_exe=%plesk_dir%
(x86)\90\Tools\Binn\OSQL.EXE
@echo OSQL.EXE path: “%osql_exe%” “%osql_exe%” -E -Q “ALTER LOGIN sa ENABLE; ALTER LOGIN sa WITH
PASSWORD=’%mssqlexpress_pwd%’”
If “%ERRORLEVEL%” NEQ “0” exit /b %ERRORLEVEL%
reg ADD “HKLM\SOFTWARE\Microsoft\Microsoft SQL
Server\MSSQL.1\MSSQLServer” /v LoginMode /d 2 /t REG_DWORD /f
Note: You are welcome to change the script text above to best suit your needs. For
example, you can change „/qn‟ to „/qb‟ in the script text, if you want to see the
progress bar during the installation. Please make sure that you clearly understand
what are you changing before making the changes, as Parallels shall not be held
liable in any manner whatsoever for any losses or damage caused by using the
modified script text.
2 Open the command line interface (Start > Run > cmd.exe).
3 Run the following command to install Plesk without PHP, Perl or
Important: This command will install all available Plesk components except PHP,
Perl and Python. If you want to install any of these components, remove them from
the command text. For example, if you do not want to install PHP or Python, but
you want to install Perl, remove Perl from the command text.
The following variables are used by this command:
<distrib path> - full path to SetupPlesk.exe file.
<installation path> - full path to the folder where Plesk should be
installed.
[<MSSQLEXPRESS password>] - Password for default MSSQLEXPRESS
administrator login „sa‟. Note that this parameter is optional; if you do not specify
it, the default MSSQLEXPRESS password will be set to „1q2w3e4R‟.
Installing Plesk for Windows 43
List of Variables Available for Plesk Installation Through
Variable
Description
Version
Default value
General Variables
MSSQL_SA_PWD
Password for „sa‟ user in
MSDE installed by Plesk.
7.5.0
<random password>
DOWNLOADFILES
Specifies whether to
download necessary files
from Parallels server during
the installation (“yes” or
“no”).
7.5.0
yes
ADMINMYSQL_PORT
Port number of Plesk SQL
Server.
7.5.0
8306
ADMINAPACHE_SERVE
RPORT
Port number of Plesk
Control Panel.
7.5.0
8443
SETVHOSTSDIR
Set vhosts directory path.
7.5.0
[Inetpub]vhosts
USE_SHARED_W_DESK
TOP
Enable Shared W3WP
Desktop (“true” or “false”).
7.5.0
true
PSA_PASSWORD
Password for Plesk „admin‟
user.
7.5.0
setup
DEBUG
Set up Plesk in debug
mode. The debug
information will be written to
Event Log. (0 or 1).
7.5.5
0
Command Line
This section covers the usage of variables available for installation of Plesk through
command line interface.
Since Plesk uses Microsoft Installer technology, all standard Microsoft Installer
parameters are fully supported. To see the list of Microsoft Installer parameters, please
visit the following page:
http://msdn.microsoft.com/library/en-
us/msi/setup/command_line_options.asp
For example, to perform a „silent‟ installation of Plesk, you can use the command line
parameter „/q‟:
Below is the list of variables that you can use when performing installation of Plesk
through command line interface.
Note: All variables and values are case-sensitive. Use all upper case variables and all
lower case values exactly as specified below.
44 Installing Plesk for Windows
AUTOINSTALL
Pseudo-silent mode: user
attention is not required
during the installation
(“none” or“auto”). Note that
GUI sequence actions (e.g.,
MSDE installation) are
performed as well.
7.5.5
none
MSSQL_HOST
Server name or IP address
of server with installed
MSSQL. If MSDE is
installed by Plesk, then this
parameter will be
overwritten with local
MSSQL server parameters.
MSSQL_HOST may
contain instance name (e.g.
127.0.0.1\OneMSSQLInsta
nce)
7.6.0
localhost
MSSQL_ADMIN_NAME
MSSQL administrator‟s
login.
7.5.0
MSSQL_ADMIN_PASSW
D
MSSQL administrator‟s
password.
7.5.0
Directories
INSTALLDIR
Install location of Plesk.
7.5.0
[Program
files]Parallels\Plesk
DATADIR
Location of data belonging
to Plesk and all other
components.
7.5.0
[INSTALLDIR]
ACRONIS_INSTALLDIR
Install location of Acronis.
7.5.0
[INSTALLDIR]Acronis
ACRONIS_TIA_INSTALL
DIR
Install location of Acronis
True Image Agent.
7.5.0
[ACRONIS_INSTALLD
IR]TrueImageAgent
ACRONIS_TIC_INSTALL
DIR
Install location of Acronis
True Image Console.
7.5.0
[ACRONIS_INSTALLD
IR]TrueImageConsole
ACRONIS_TIS_INSTALL
DIR
Install location of Acronis
True Image Server.
7.5.0
[ACRONIS_INSTALLD
IR]TrueImageEnterpris
e
ADDITIONAL_INSTALLDI
R
Install location of additional
components.
7.5.0
[INSTALLDIR]Addition
al
DATABASE_DATADIR
Location of database
servers data.
7.5.0
[DATADIR]Databases
DATABASE_INSTALLDIR
Install location of database
servers.
7.5.0
[INSTALLDIR]Databas
es
MSDE_INSTALLDIR
Install location of MSDE.
7.5.0
[DATABASE_INSTAL
LDIR]MSDE
WSBNET_INSTALLDIR
Install location of
SiteBuilder 3.1 for
Windows.
7.6.0
[ProgramFiles]
SiteBuilder
Installing Plesk for Windows 45
STARTERKITS_INSTALL
DIR
Install location of
StarterKits.
7.5.5
[INSTALLDIR]ASP.NE
T Starter Kits
APPVAULT_INSTALLDIR
Install location of
AppVaults.
7.5.5
[INSTALLDIR]\var\cgit
ory
MSSQLEXPRESS_INSTA
LLDIR
Install location of
MSSQLEXPRESS.
8.3.0
[DATABASE_INSTAL
LDIR]MSSQL
Plesk Engine Parameters
DBPROVIDER
Database engine for storing
Plesk data:
MySQL – use MySQL
database server,
Jet – use MS Access
database file (mdb),
MSSQL – use MS SQL
database server.
7.6.0
Jet
DBLOGIN
Database username used
for all Plesk operations.
Password for this user is
equal to
PSA_PASSWORD.
If DBPROVIDER is set to
Jet or MySQL, DBLOGIN
shouldn‟t be specified.
If DBPROVIDER is set to
MSSQL, user DBLOGIN
will be created on the
MSSQL server (specified
by arguments
MSSQL_HOST,
MSSQL_ADMIN_NAME,
and
MSSQL_ADMIN_PASSWD
).
7.6.0
admin
DBNAME
Plesk database name.
If DBPROVIDER is set to
Jet, DBNAME means the
path to the mdb file
7.6.0
psa
PLESKCP_PROVIDER
Webserver engine for Plesk
Control Panel:
apache – use Apache webserver,
iis – use Microsoft Internet
Information Server.
7.6.0
iis
46 Installing Plesk for Windows
SiteBuilder For Windows Parameters
WSBNET_SQLSERVER
Address of MSSQL server
for storing SiteBuilder
database.
If this argument isn‟t
specified, it will be equal to
MSSQL_HOST
7.6.0
WSBNET_SQLUSER
MSSQL server
administrator name.
If this argument isn‟t
specified, it will be equal to
MSSQL_ADMIN_NAME
7.6.0
WSBNET_SQLPWD
MSSQL server
administrator password.
If this argument isn‟t
specified, it will be equal to
MSSQL_ADMIN_PASSWD
7.6.0
WSBNET_DBNAME
SiteBuilder database name.
If WSBNET_DBNAME is
set to „auto‟, the name of
SiteBuilder database will be
generated randomly.
7.6.0
auto
WSB_UPGRADE [force]
To upgrade SiteBuilder
versions 3.x, specify
WSB_UPGRADE=force in
the installer command line.
A previous version of
SiteBuilder must be
installed by Plesk.
8.3.0
Installing Plesk for Windows 47
List of Plesk Components Available for Plesk
Feature ID
Parent Feature
Title
Description
Location variable
PleskCP
Plesk Core
Installs Plesk
components
INSTALLDIR
DatabaseServ
ers
Database
Management
Contains SQL
database servers
and ODBC drivers
DATABASE_INST
ALLDIR
PleskAppVault
s
Plesk Site
Applications
Contains ready to
use application
packages
APPVAULT_INST
ALLDIR
KasperskyAV
AntiVirus
Kaspersky
Installs Kaspersky
AV 4.0.2.26
MySQL
DatabaseServ
ers
MySQL Database
Server
Installs MySQL
4.1.8-nt
MYSQL_INSTALL
DIR
Installation Through Command Line
This section covers the installation of selected Plesk components through command
line interface.
Each Plesk component has its own unique identifier (ID). This identifier is used when
you select the components you want to install. To specify what features should be
installed, use the ADDLOCAL variable with the list of required components, separating
them with a comma:
Some components can be installed in the user-specified locations. To specify where
such a component should be installed, use the corresponding location variable (see the
Location variable column in the table below). For example, to install Plesk in silent mode
with Acronis installed into the „c:\Acronis‟ directory and documentation in PDF
format installed into the default location, use the following command:
Note: We recommend specify all paths without the ending slash („\‟) (e.g.
“c:\Acronis” instead of “c:\Acronis\”), because the ending slash might cause
some problems later.
The table below contains the list of available Plesk components and their respective
feature IDs along with location variables (where applicable). Note that feature IDs are
case-sensitive (for example, „MySQL‟ is not the same as „mysql‟).
48 Installing Plesk for Windows
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_INST
ALLDIR
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_INS
TALLDIR
TimeTrackerS
K
StarterKits
Time Tracker
Starter Kit
Installs Starter Kit
demonstrating how
to build a line-ofbusiness ASP.NET
application to track
time worked on
projects
TIMETRACKERS
K_INSTALLDIR
MySQLODBC
DatabaseServ
ers
MySQL
Connector
Installs ODBC driver
(also known as the
MyODBC 3.51
Driver).
PhpMyAdmin
DatabaseServ
ers
PHP MyAdmin
Installs Web-based
MySQL manager
(PHP MyAdmin
2.6.0-pl3).
MSDNSSuppo
rt
DNSSupport
MS DNS support
files
Installs files for
supporting MS DNS
Server.
MerakSupport
MailServersSu
pport
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_I
NSTALLDIR
FTPSupport
SupportFiles
FTP Servers
Contains Microsoft,
Gene6 and Serv-U
FTP servers support
files
Installing Plesk for Windows 49
MSSQLWebA
dmin
DatabaseServ
ers
ASP.NET
Enterprise
Manager
Installs Web-based
MS SQL manager
0.1.3
MSSQLWEBADMI
N_INSTALLDIR
MSDE
DatabaseServ
ers
Microsoft SQL
Server Desktop
Engine
Installs MSDE 2000
SP3 A.
MSDE_INSTALLD
IR
Expand
PleskCP
Plesk Agent
Installs Plesk Agent
that allows
integration with thirdparty management
systems
Installs AWStats 6.0
that generates
graphical reports on
Web, FTP, Mail
servers‟ usage.
50 Installing Plesk for Windows
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
PleskAppVault
s
osCommerce
Installs on-line shop
e-commerce solution
Documentatio
n
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_INS
TALLDIR
Bind
DNSServers
BIND DNS
Server
Installs BIND DNS
Server 9.2.4
BIND_INSTALLDI
R
Installing Plesk for Windows 51
Mambo
PleskAppVa
ults
Mambo CMS
Installs Web
content
management
system
BackupSyste
ms
Backup
Systems
Contains Acronis
SpamAssass
in
MailServers
SpamAssasin
Installs
SpamAssasin 2.64
which is an
application
intended to identify
e-mail spam
messages.
SPAMASSASSI
N_INSTALLDIR
Perl
Additional
Perl
Installs Perl v5.8.6
built for MSWin32x86-multi-thread
PERL_INSTALL
DIR
JDK
Tomcat
Java 2 SDK
Installs Java
Software
Development Kit
JDK_INSTALLDI
R
Python
Additional
Python
Installs Python
2.4.3
PYTHON_INST
ALLDIR
MailEnable
MailServers
MailEnable Mail
Server
Installs MailEnable
Standard 1.8
MAILENABLE_I
NSTALLDIR
DNSSupport
SupportFiles
DNS Servers
Contains MS DNS
and BIND support
files
AcronisImag
eAgent
Acronis
True Image Age
nt
Installs on a
remote system to
enable access
from Acronis True
Image
Management
Console
ACRONIS_TIA_I
NSTALLDIR
MailServers
Mail
Management
Contains Mail
Enable Mail
Server, WebMail
Client and Spam
Filtering program
MAILSERVERS
_INSTALLDIR
52 Installing Plesk for Windows
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
CommunityS
K
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
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_I
NSTALLDIR
Skins
Plesk Skins
Installs custom
styles of Plesk
interface
appearance
Acronis
BackupSystems
Acronis True
Image Enterprise
Server contains
True Image
Management
Console, Acronis
True Image Agent,
and Acronis True
Image Enterprise
Server
ACRONIS_INST
ALLDIR
WSBNET
PleskCP
Plesk
SiteBuilder
Installs web-based
WYSIWYG
application that
allows creating,
modifying and
updating websites
DNSServers
DNS Servers
Contains BIND
DNS Server
DNS_INSTALLD
IR
MSSQLEXP
RESS
DatabaseSer
vers
Microsoft SQL
Server 2005
Express Edition
Installs MS SQL
Server 2005
Express Edition
SP2
MSSQLEXPRES
S_INSTALLDIR
54 Installing Plesk for Windows
Note that some features require other features to be installed. When you install a
Dependent feature
Required feature
Tomcat
JDK
AWStats
Perl
WebMail
PHP
SpamAssassin
Perl
WSBNET
PHP
feature that depends on some other feature, both will be installed. The following table
lists such dependencies:
If you have an earlier version of Plesk for Windows (for example, Plesk 7.6 for
In this chapter:
Updating Plesk Version 7.5 or Later to Latest Version of Plesk Through GUI .... 56
Updating Plesk Version 7.5 or Later to Latest Version of Plesk Through Command
Line Interface .................................................................................................... 57
Updating Plesk Version 7 or Earlier to Latest Version of Plesk .......................... 58
C H A P T E R 3
Updating Earlier Versions of Plesk for
Windows to Latest Version of Plesk for
Windows
Windows) installed on your server, you can update it to latest version of Plesk for
Windows without losing your data.
To learn about updating Plesk version 7.5 and later to latest Plesk version through
GUI, refer to the Updating Plesk Version 7.5 or Later to Latest Version of Plesk
Through GUI (on page 56) section.
To learn about updating Plesk version 7.5 and later to current Plesk version through
command line interface (CLI), refer to the Updating Plesk Version 7.5 or Later to
latest Version of Plesk Through Command Line Interface (on page 57) section.
To read about updating Plesk version 7 or earlier to current Plesk version, refer to
the Updating Plesk Version 7 or Earlier to Latest Version of Plesk (on page 58)
section.
56 Updating Earlier Versions of Plesk for Windows to Latest Version of Plesk for Windows
Updating Plesk Version 7.5 or Later to
Latest Version of Plesk Through GUI
For more information about updating Plesk version 7 or earlier to latest Plesk version
refer to the Updating Plesk Version 7 or Earlier to Latest Version of Plesk (on page 58)
section.
Attention! If you are running Plesk 7.5 or later servers in Virtuozzo environment, the
update procedure might cause data loss and Plesk server malfunction. Parallels will not
be responsible or liable, directly or indirectly, for any damage or loss caused or alleged
to be caused by or in connection with upgrade of Plesk for Windows running in
Virtuozzo environment to Plesk for Windows version 8.1 or later. If you want to update
Plesk 7.6 or later servers working in Virtuozzo environment to Plesk 8.1 or later,
consult Parallels sales team or support team before doing the update.
To update Plesk 7.5 or later to latest Plesk version using GUI: 1 Log in to your system as Administrator or another user with
Administrator privileges.
2 Make sure that you have the Plesk installation package ready. You
can download the required Plesk installation package from Parallels
Web site (http://www.parallels.com (http://www.parallels.com/)).
3 Start Plesk installer by running the SetupPlesk.exe file. After
checking your system, the installer will display a welcome message of
the Update Wizard. Click Next > to proceed.
4 The installer will update the existing version of Plesk to latest Plesk
version. This process will take some time. Click Finish to complete the
update process.
5 The installer will prompt you to restart your computer. Confirm the
restart. Plesk will start automatically upon the system startup after the
reboot.
Note: Acronis True Image Module is not updated automatically with Plesk. To update
Acronis True Image Module to its latest version, you need to uninstall the previous
version of Acronis True Image Module, and install the latest Acronis True Image
Module version. For information on both uninstallation of previous Acronis True Image
Module version and installation of latest Acronis True Image Module version refer to
the Modifying Plesk for Windows (on page 66) chapter.
Updating Earlier Versions of Plesk for Windows to Latest Version of Plesk for Windows 57
Updating Plesk Version 7.5 or Later to
Latest Version of Plesk Through
Command Line Interface
For more information about updating Plesk version 7 or earlier to latest Plesk version
refer to the Updating Plesk Version 7 or Earlier to Latest Version of Plesk (on page 58)
section.
Attention! If you are running Plesk 7.5 or later servers in Virtuozzo environment, the
update procedure might cause data loss and Plesk server malfunction. Parallels will not
be responsible or liable, directly or indirectly, for any damage or loss caused or alleged
to be caused by or in connection with upgrade of Plesk for Windows running in
Virtuozzo environment to Plesk for Windows version 8.1 or later. If you want to update
Plesk 7.6 or later servers working in Virtuozzo environment to Plesk 8.1 or later,
consult Parallels sales or support team before doing the update.
To update Plesk 7.5 or later to latest Plesk version: 1 Log in to your system as Administrator or another user with
Administrator privileges.
2 Make sure that you have Plesk installer ready. You can download the
Plesk installer from Parallels Web site (http://www.parallels.com
(http://www.parallels.com/)).
3 Open the command line interface (Start > Run > cmd.exe).
4 Run the following command to update your version of Plesk to the
latest Plesk version:
setupplesk.exe /qb
5 The installer will start updating your version of Plesk to latest Plesk
version. Note that this process will take some time.
58 Updating Earlier Versions of Plesk for Windows to Latest Version of Plesk for Windows
Updating Plesk Version 7 or Earlier to
Latest Version of Plesk
The procedure of updating Plesk version 7 or earlier to latest version of Plesk involves
migration and is performed only though GUI.
To update Plesk version 7 or earlier to latest version of Plesk: 1 Download Plesk 7.5.6+ for Windows installer of your choice (web
installer or network installer)
2 Run the installer and follow the onscreen instructions.
The following things should be taken in consideration when migrating data from
Plesk 7 or earlier to Plesk 7.5.6+:
During the migration from Plesk 6.5 for Windows, problems with long user
names can appear. Therefore, you must reduce the names of the following
users down to 15 characters via the control panel: web users‟ names, FTP/FrontPage users‟ names, and subdomain users‟ names.
If you use the option of deleting of all your current data, only data in Plesk is
deleted - sites in IIS are not deleted as a fallback measure in case something
goes wrong. So, if you do not need them, you must delete them manually after
installing Plesk.
There also can be issues with file locking during migration if you use some third-
party components placed in Plesk installation folders. Therefore, uninstall all
third-party software from Plesk folders before starting the migration. If you need
these components, you will have to reinstall them after the migration.
If Plesk 7.0 for Windows was installed on Windows 2000 (which has IIS 5.0), but
you installed Windows 2003 Server (having IIS 6.0) after that and now want to
install Plesk 7.6 for Windows with migration, Plesk installer will not switch IIS 6.0
into the IIS 5.0 compatibility mode, which may cause some issues with sites
functioning.
3 After you finish updating Plesk version 7 or earlier to Plesk 7.5.6+,
download the latest Plesk for Windows installer of your choice and
update Plesk 7.5.6+ to the latest version of Plesk.
For more information about updating Plesk version 7.5 and later to latest version of
Plesk through GUI, refer to the Updating Plesk Version 7.5 or Later to Latest Version of
Plesk Through GUI (on page 56) section.
For more information about updating Plesk version 7.5 and later to latest version of
Plesk through command line interface (CLI), refer to the Updating Plesk Version 7.5 or
Later to Latest Version of Plesk Through Command Line Interface (on page 57)
section.
If you have Tomcat and MailEnable Professional installed simultaneously on your
C H A P T E R 4
Resolving Post-Installation Issues
server, it is a conflicting setup, because Tomcat and HTTPMail component of
MailEnable Professional use the same port 8080.
To resolve this conflict:
1 Start MailEnable Professional management console (Start > All
Programs > Mail Enable > MailEnable Professional).
2 In the list of MailEnable properties (on the left), select MailEnable
3 Right click on HTTPMail and click Properties.
4 Change the value in the HTTPMail Port field under the General tab to
value other than 8080. Make sure that the new value does not
coincide with a port used by other programs. Typically, setting it to
8081 will not cause any other conflicts.
5 Click OK to save changes. Follow the instructions on the screen to
complete the conflict resolution.
Refer to Plesk for Windows Advanced Administration Guide for more information on
installing third party components and resolving other post-installation issues.
You can easily install the necessary updates and even upgrade your control panel to
C H A P T E R 5
Updating Plesk for Windows
the latest available release using the Updater function within your control panel.
To update your Plesk control panel:
1 Log in to Plesk.
2 Click the Server shortcut in the navigation pane.
3 Click the Updater icon in the Services group.
The control panel connects to the Parallels official Plesk Update server at URL
http://autoinstall.plesk.com, retrieves information on the available releases, then
analyses the components installed in the system and displays the lists of available
releases and component updates. For each release a brief description of available
operations is displayed.
4 Select the check boxes corresponding to the updates you wish to
install and click Install. A confirmation screen appears.
5 Specify your e-mail address. You will be sent a notice by e-mail once
update is completed. To confirm installation of the selected updates,
select the check box and click OK. The updates you selected will be
downloaded and automatically installed in the background mode.
You can also install all necessary updates by using external Plesk Auto Updater utility.
To upgrade your Plesk control panel via Plesk Auto Updater:
1 Open the Start menu > All Programs > Parallels > Plesk > Plesk Auto
Updater. Plesk Auto Updater will connect to Parallels Web site and
retrieve the list of available updates.
2 After Plesk Auto Updater retrieves the list of available updates from
Parallels Web site, select the check boxes corresponding to the
components you wish to install.
3 Click Install.
Your selected updates will be first downloaded and then installed. Follow the
instructions of the Installation Wizard that will guide you through the installation
process.
Depending on the importance of installed updates, Plesk might prompt you to
restart your server. It is highly recommended to restart the server, otherwise
your control panel might not work properly.
Notes on updating procedures:
Updating Plesk for Windows 61
When upgrading to a new control panel version, you will be notified by e-mail of
In this chapter:
Setting Up Plesk Auto Updater to Notify You About Control Panel Updates ...... 62
Configuring Automatic Updates of Your Control Panel ...................................... 63
Setting Up a Custom Updates Server for Plesk Updates ................................... 64
upgrade procedure start and end. The notification message will include the
event log and a list of installed components, if upgrade is successful. However,
you may not receive any error notice if your mail server fails. In this case you
can check for errors in the autoinstaller.log file located on the server hard drive.
All control panel operations are suspended during the installation of control
panel components that affect the control panel‟s core functionality.
62 Updating Plesk for Windows
Setting Up Plesk Auto Updater to Notify
You About Control Panel Updates
You can configure Plesk Auto Updater utility to notify you that updates for your Plesk
control panel are available, so that you know it‟s time to update your Plesk.
To make Plesk Auto Updater utility notify you when Plesk updates are available:
1 Open the Start menu > All Programs > Parallels > Plesk > Configure Auto
Updater.
2 Select the Keep my Plesk server up to date check box.
3 In the Check for updates and at fields select date and time when Plesk
Auto Updater should connect to Parallels Web site and check for
updates.
4 Select what should Auto Updater do when it finds that Plesk updates
are available:
Notify me if there are any updates available but do not download and install them
automatically - a notification is sent to you when updates are available, so that
you can update Plesk manually.
Download the updates automatically and notify me when they are ready to be installed -
updates are downloaded automatically in the background; notification is sent to
you so that you can update Plesk manually without downloading the updates.
5 Select notification options in the Send Notification section:
To e-mail - specify the e-mail address to which Plesk Auto Updater should send
the notifications.
From e-mail - specify the e-mail address from which Plesk Auto Updater should
send the notifications.
Subject - specify the subject of notification e-mails. The default subject is “The
Plesk Auto Updater notification”.
6 Click Apply.
Updating Plesk for Windows 63
Configuring Automatic Updates of Your
Control Panel
If you do not want to install updates manually, you can configure Plesk Auto Updater to
download and install updates without your intervention, keeping Plesk up-to-date
automatically.
To make Plesk Auto Updater automatically update your Plesk control panel:
1 Open the Start menu > All Programs > Parallels > Plesk > Configure Auto
Updater.
2 Select the Keep my Plesk server up to date check box.
3 In the Check for updates and at fields select date and time when Plesk
Auto Updater should connect to Parallels web site and check for
updates.
4 Select the Download and install the updates automatically and notify me once they
are downloaded and installed option. The updates will be downloaded and
installed automatically, and two notifications will be sent to you, letting
you know that updates were downloaded and installed
correspondingly.
5 Select notification options in the Send Notification section:
To e-mail - specify the e-mail address to which Plesk Auto Updater should send
the notifications.
From e-mail - specify the e-mail address from which Plesk Auto Updater should
send the notifications.
Subject - specify the subject of notification e-mails. The default subject is “The
Plesk Auto Updater notification”.
6 Click Apply.
Note. You may receive a notice in the notification message saying that a certain
update couldn‟t be installed in silent mode. If you receive such a notice, please update
Plesk manually using the Plesk Updater.
64 Updating Plesk for Windows
Setting Up a Custom Updates Server for
Plesk Updates
If you maintain a great number of Plesk servers, to reduce bandwidth usage, you may
want to set up a mirror of the official Plesk Update server inside your network, and then
configure your Plesk servers to use it.
You can set up a mirror on any networked computer with Linux or Windows operating
system and Web server installed. The following instruction provides the steps for
setting up a mirror on Windows-based servers:
1 Download the MirrorManager.exe utility from Parallels site at
www.parallels.com.
2 Copy or move the utility to the server where you want to set up the
mirror.
3 Run the utility. The utility retrieves a list of available updates from
Parallels server, and shows it in the Server Configuration File window.
4 To create a new blank configuration file, click New file. Note that you
can also make a copy of the configuration file retrieved from Parallels
Updates server (shown in the Server Configuration File window), and then
remove the unwanted updates from the list. To make a copy of the
original configuration file, from the File menu, select Duplicate Server Configuration.
5 To arrange conveniently the windows on the screen, from the Window
menu, select Tile Vertically.
6 Decide which updates you would like to make available from your
mirror server, select them in the Server Configuration File window, and
click Download. When prompted, specify the Web server‟s directory
where you want to place updates, such as
C:\Inetpub\vhosts\default\htdocs\Updates. Click OK.
7 From the Server Configuration File window, drag the selected updates to
the new window on the left.
8 Do the following for each selected update:
a Click an update‟s name in the window to the left.
b In the Packet properties window, double-click the Source URL entry.
c Type the URL to your mirror server (for example, http://example.com/Updates/)
and click OK.
d Double-click the Readme URL entry.
e Type the URL to your mirror server (for example, http://example.com/Updates/)
and click OK.
9 Click Save Asand save the configuration file to the Web server‟s
a Go to Start > Administrative Tools > Internet Information Services (IIS) Manager > Web
Sites, right-click the domain name, select Properties, click the HTTP Headers tab,
and then click the MIME Types button.
b Click New. In the Extension box, type .xml, in the MIME type box, type
application/octet-stream. Click OK.
c Click New. In the Extension box, type .crc, in the MIME type box, type
application/octet-stream. Click OK.
d Click New. In the Extension box, type .msp, in the MIME type box, type
application/octet-stream. Click OK.
e Click New. In the Extension box, type .msi, in the MIME type box, type
application/octet-stream. Click OK.
f Click OK and close the Internet Information Services (IIS) Manager.
11 Log in to Plesk and go to Server > Updater > Automatic Update tab.
12 Select the Automatically update Plesk check box, type the network address
of your mirror server and click OK.
Plesk for Windows distribution comes with a variety of components required for
C H A P T E R 6
Modifying Plesk for Windows
providing various hosting services. If you decide to change your hosting , it is possible
to install new components and remove old, redundant ones by modifying Plesk for
Windows installation.
To modify Plesk for Windows installation, adding new components or removing old
ones:
1 Go to Start > Control Panel > Add or Remove Programs > Plesk for Microsoft
Windows and click Change.
2 Select Modify and click Next >.
3 Select the Plesk components you would like to install or uninstall and
click Next >. You can click Reset to reset the components selection to
the default values.
4 Review the changes you are going to make and click Install. You can
click < Back anytime to return to the previous screen and change your
selection, or click Cancel to cancel the modification process altogether
without saving changes.
To uninstall Plesk for Windows:
C H A P T E R 7
Uninstalling Plesk for Windows
1 Log in to your system as Administrator or another user with
Administrator privileges.
2 Go to Start > Control Panel > Add or Remove Programs.
3 Select Plesk for Microsoft Windows and click Remove.
4 You will be asked whether you really want to uninstall Plesk for
Windows. Confirm the removal by clicking Yes. After Plesk is removed
from your server, the restart confirmation will appear. Confirm the
restart to finish the uninstallation process.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.