Click here to Skip to main content
Click here to Skip to main content
Go to top

Sharepoint Site Install and Configuration Scripts

, 19 Oct 2010
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


Comments and Discussions

 
GeneralMy vote of 5 PinmemberChristopher G. Lasater18-Oct-10 10:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 19 Oct 2010
Article Copyright 2010 by Christopher G. Lasater
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid