Parallels Plesk Panel Installation Manual

Parallels® Plesk Control Panel
Copyright Notice
ISBN: N/A Parallels 660 SW 39th Street Suite 205 Renton, Washington 98057 USA Phone: +1 (425) 282 6400 Fax: +1 (425) 282 6444
© Copyright 1999-2008, Parallels, Inc. All rights reserved
Distribution of this work or derivative of this work in any form is prohibited unless prior written
permission is obtained from the copyright holder.
Patented technology protected by U.S.Patents 7,328,225; 7,325,017; 7,293,033; 7,099,948;
7,076,633.
Patents pending in the U.S. Product and service names mentioned herein are the trademarks of their respective owners.
Contents
Preface 4
Typographical Conventions ........................................................................................................... 4
Feedback ....................................................................................................................................... 5
Introduction 6
Meeting Installation Requirements 6
Installing Plesk for Windows 9
Installing Plesk for Windows Using GUI ...................................................................................... 10
Installing Plesk for Windows Using Command Line Interface ..................................................... 13
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
Updating Earlier Versions of Plesk for Windows to Latest Version of Plesk for Windows 55
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
Resolving Post-Installation Issues 59
Updating Plesk for Windows 60
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
Modifying Plesk for Windows 66
Uninstalling Plesk for Windows 67
4 Preface
In this section:
Typographical Conventions ............................................................................... 4
Feedback .......................................................................................................... 5
Formatting convention
Type of Information
Example
Special Bold
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 guides 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 Administrators 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 Dont 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:
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;184802
http://technet2.microsoft.com/WindowsServer/f/?en/library/70bd36c1-fa5e-4da4­8daf-2a71916e5c031033.mspx
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 on­screen instructions to complete the initial configuration of Plesk. For more information on post-installation configuration of Plesk, refer to the Plesk for Windows Administrators 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>:
setupplesk.exe <variable name1>=<value1> <variable name2>=<value2> ... <variable nameN>=<valueN>
For example, the following command installs Plesk into the c:\plesk bin directory and Plesk data into the d:\plesk data directory:
setupplesk.exe INSTALLDIR=c:\plesk binDATADIR=d:\plesk data”.
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== completeset plesk_exclude=MSDE,MSSQLEXPRESS if %3== typicalset 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%\plesk­install.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:
install-plesk.cmd <distrib path> <installation path> complete <MSSQL host> <MSSQL admin name> <MSSQL admin password>
To perform a Typical installation of Plesk, run:
16 Installing Plesk for Windows
install-plesk.cmd <distrib path> <installation path> typical <MSSQL host> <MSSQL admin name> <MSSQL admin password>
Both commands use the following variables:
<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== completeset plesk_exclude=MSDE,MSSQLEXPRESS if %3== typicalset 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%\plesk­install.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
MSSQLEXPRESS:
install-plesk.cmd <distrib path> <installation path> <component ID> <MSSQL host> <MSSQL admin name> <MSSQL admin password>
18 Installing Plesk for Windows
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== completeset plesk_exclude=MSDE,MSSQLEXPRESS if %3== typicalset 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%\plesk­install.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:
install-plesk.cmd <distrib path> <installation path> complete <MSSQL host> <MSSQL admin name> <MSSQL admin password>
To perform a Typical installation of Plesk, run:
20 Installing Plesk for Windows
install-plesk.cmd <distrib path> <installation path> typical <MSSQL host> <MSSQL admin name> <MSSQL admin password>
Both commands use the following variables:
<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== completeset plesk_exclude=MSDE,MSSQLEXPRESS if %3== typicalset 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%\plesk­install.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
MSDE and MSSQLEXPRESS:
install-plesk.cmd <distrib path> <installation path> WSBNET <MSSQL host> <MSSQL admin name> <MSSQL admin password>
The following variables are used by this command: <distrib path> - full path to SetupPlesk.exe file.
Loading...
+ 46 hidden pages