Click here to Skip to main content
969 members (175 online)
Click here to Skip to main content
Add your own
alternative version

Stats

1.8K views
Posted 25 Nov 2011

Sharepoint Site Install and Configuration Scripts

, 25 Nov 2011
Rate this:
Please Sign up or sign in to vote.
I have included some scripts my co-worker Oleg Petrychenko gave me to install Sharepoint 2007 from scratch

Introduction

These files make the very difficult and time consuming Sharepoint 2007 install on a new server easy and automagical.

Background

I have used these at least once on a development server. I make no guarantees as to warranty at all, use at your own risk, but they worked OK for me. It simplifies the total install process infinitely.

Disclaimer - Hope this helps, if it doesn't, don't bother to harass me about it. You get what you pay for and you got this for free. If this worked for you, vote me a 5!

Using the Code

To use the MOSS 2007 install scripts, you first have to run them as the farm administrator account. Download the zip file and de-compress on the server you wish to install Sharepoint on. Follow these steps to use the scripts.

  1. Make sure you have installed the enterprise edition of Sharepoint, binaries only, don't run the configuration wizard to create a new Sharepoint site.
  2. Open a command prompt: hit start button/Programs/accessories/command Prompt.
  3. Cd to the directory the scripts are located in.
  4. Edit the SetInputs.cmd file and change these values:
    • DBServer=[server on which the database will reside for Sharepoint]
    • FarmAcct=[Farm Administrator NT user name]
    • FarmAcctPWD=[Farm Administrator Password]
    • FarmAcctEmail=[Farm Administrator email]
    • WSSSearchAcct=[Farm Administrator NT user name]
    • WSSSearchAcctPWD=[Farm Administrator Password]
    • SearchAccessAcct=[Farm Administrator NT user name]
    • SearchAccessAcctPWD=[Farm Administrator Password]
    • MOSSSearchAcct=[Farm aDministrator NT user name]
    • MOSSSearchAcctPWD=[Farm Administrator Password]
    • SSPAppPoolAcct=[Farm aDministrator NT user name]
    • SSPAppPoolAcctPWD=[Farm Administrator Password]
    • MySitesAppPoolAcct=[Farm aDministrator NT user name]
    • MySitesAppPoolAcctPWD=[Farm Administrator Password]
    • PortalAppPoolAcct=[Farm aDministrator NT user name]
    • PortalAppPoolAcctPWD=[Farm Administrator Password]
    • MOSSPath=C:\ [You can change this if the default install is not on c: drive]
  5. Type MOSS_INSTALL.
  6. Make sure after the install or any install you run the psconfig utility, I included a script for that too... Run after every install or Update.bat.

Points of Interest

Man, this saves a lot of time! Try them and let me know how they work for you! Thanks Oleg! Hope this helps, if it doesn't, don't bother to harass me about it, you get what you pay for and you got this for free.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Christopher G. Lasater
Web Developer
United States United States
Christopher G. Lasater

I am also a published author, please check out my book:
ISBN: 1-59822-031-4
Title: Design Patterns
Author:Christopher G. Lasater
More from my web site
Amazon.com


You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
RA-Web1 | 2.8.170924.2 | Last Updated 25 Nov 2011
Article Copyright 2011 by Christopher G. Lasater
Everything else Copyright © RootAdmin, 1999-2017
Layout: fixed | fluid