IIS 5.0 DIY (transfer)

zhaozj2021-02-08  282

When you install Windows2000, if you choose to install IIS, then the system will create an iInetPub directory in your% systemDrive% when installing, and you will create a scripts directory in the inetpub directory, IIS also creates a virtual Directory Scipts points to this directory and execute permissions to this directory. Summary Time NSFOCUS Safety Group Research Discovery Discovery Most issues are for the executable directory of the Web site, so we recommend moving this directory to non-system disk to a certain extent to ensure certain security .

However, when we choose to install the system components, you can't define the installation drive letter yourself, so there is this article today. :)

We don't choose to install IIS when installing the system, and you can use the unmanned way to customize the installation IIS 5.0. First confirm that your Windows 2000 installation media is available. The installation media in this example is a disc, so you can create an unattended installation file on your hard drive or floppy disk, this example In the D disk, we will create an Iis5install.txt as an unattended installation file. Let's take a look at the content of the file:

[Components] 'installed components

IIS_COMMON = on 'public file

IIS_INETMGR = ON 'IIS Manager

IIS_WWW = On 'WWW Service

IIS_FTP = ON 'FTP service

IIS Manager IIS_HTMLA = On 'Web Mode

[InternetServer]

Path = "d: / inetsrv" 'COMMON file placement position (if you uninstall the IIS re-hand, the public file is still the same as the position remains unchanged)

PathftProot = "d: / inetpub / ftproot" 'FTP root path

Pathwwwroot = "d: / inetpub / wwwroot" 'WWW root path

After the file is stored, run "sysocmgr /i:%windir%/inf/sysoc.inf /u :d:/iis5install.txt",

There will be no prompt boxes, the system will automatically install IIS, and the scripts directory will be invalid in the D disk.

If you need to install more IIS components, the following is a more detailed unattended installation file:

========================================= begin =========== ====================

; This is an es, unattended Installation File

; IIS, MTS, AND INDEX Server Are ON

; Target Path SHOULD BE NEW DIRECTORY

Adminpassword is blank. [Unattended]

UnattendMode = fullunatted

Oempreinstall = NO

TargetPath = *

FileSystem = LeaveAlone

[UserData]

Fullname = "Your user name"

Orgname = "Your Organization Name"

Computername = "computername"

[Guiunatted]

Timezone = "004"

Adminpassword = *

Autologon = YES

[LicenseFilePrintData]

Automode = "PERSERVER"

Automs = "0"

[Display]

Bitsperpel = 4

XResolution = 800

YResolution = 600

VREFRESH = 70

[Networking]

InstallDefaultComponents = YES

[Identification]

JoinWorkgroup = Workgroup

Turns Nt Components On OR OFF

[Components]

IIS_COMMON = ON

IIS_INETMGR = ON

IIS_WWW = ON

IIS_FTP = ON

IIS_HTMLA = ON

IIS_DOC = ON

IIS_PWMGR = ON

IIS_SMTP = ON

IIS_SMTP_DOCS = ON

MTS_CORE = ON

MSMQ = OFF

TerminalServices = OFF

Reminst = OFF

CERTSRV = OFF

RStorage = OFF

Indexsrv_system = on

CERTSRV_CLIENT = OFF

CERTSRV_SERVER = OFF

CERTSRV_DOC = OFF

[InternetServer]

; WITHOUT THESE Keys Specified Iis Will Use The Default Settings

Note That the path is location for inetsrv, The Core Iis Programs and FILES.

PATH = D: / SecureLocation

PathftProot = E: / inetpub / ftproot pathwwroot = E: / inetpub / wwwroot

转载请注明原文地址:https://www.9cbs.com/read-1512.html

New Post(0)