Notes on building server (Lyta) updated 10
April
2003
Install OS (Windows Server 2003)
- Make sure bios doesn't stop on KB errors and boots from
HDD-0
- Be careful to delete all partitions otherwise you end
up with the OS on E:
- Set IP address to fixed 192.168.0.128 + ISP DNS (not
via Dlink proxy DNS as mail doesn't like the Dlink proxy implementation)
- Set display resolution to 1024 x 768 75Hz so 15" monitor
works
- Enable Terminal Server access
- Change clock's internet time update the default server
'time.windows.com' isn't reliable select another server
- Mirror drives
- Change Administrator name to Andrew (do this before
installing SQL otherwise SQL service logon accounts will need to be updated)
- Add windows accounts (Laura, Nick - Administrator)
Install SQL Server 2000
- Do this before IIS otherwise you end up with a web instance
as well
- Windows will complain that SP2 is not compatible,
proceed anyway
- Install the latest SQL server service pack (SP3)
Add Application Server (Web Server) Role
- Add windows hosts file for the supported web sites
- Take the defaults except click 'Front Page Server
Extensions' and 'Enable ASP.NET'
- Copy the live web sites to the inetpub directory
- Use IIS admin to add new web sites (and set header
strings)
- Stop the default web site
- In Web Service Extensions - enable ASP pages
- In Web Service Extensions - add entry for Nick's cursor
(anotherurl\library\execs\cursor.dll) and make the directory able to execute
scripts
FrontPage Extensions (for each web site)
- Add FrontPage extensions
- Add roles for Browse and Author
- MAKE SURE ANONYMOUS ACCESS IS ASSIGNED BROWSE ROLE
- Add windows user Laura as Author role on
www.andrewandlaura.com there is no
need to add any other users as windows administrators get full rights.
PhpBB setup
- Install latest php (4.3.1) take defaults set mail
server and from address as php@anotherurl.com
- Copy latest version of PhpBB (2.04) to
www.anotherurl.com forums directory
- Turn forums directory into an application using
Properties, Create... Allow Scripts and Executables
- In the forums, Properties, Configuration tab add
mapping .php to c:\php\php.exe "%s"
- Add forums default document for index.php
- Add server extensions entry for php again to c:\php\php.exe
"%s"
- Create new database called phpbb
- Add a system DNS for new database called forums
- Make config.php writable at IIS level and file system
level
- Run php install page, create new database schema
- Enter database and delete content of all phpbb_ tables
(do not drop the tables as this removes additional schema info such as
indexes and id fields) , import all the
tables from the old database
- Make config.php readonly again
Add Mail Server (POP3, SMTP) role
- Select 'use encrypted password file' (otherwise outlook
express will prompt every time you logon), add anotherurl.com domain
- Use IIS SMPT configuration to allow mail relay for 192.168.0.0
(255.255.255.0) otherwise you won't be able to send outgoing mail without
first authenticating against lyta
- Clear all arbitrary limit check boxes for messages, up
connection timeout to 30 minutes
Install CVSNT
- Copy the C:\CVS directory
- Create a C:\CVSLocks directory
- Install the service (2.0.0) disable all protocols
except sspi don't bother installing locking service
- Use control panel icon to point at CVS directory and
start service
Install VIEWCVS components
- Install Active Python
- Turn viewcvs web directory into an application using
Properties, Create..., Give script execution setting, Disable anonymous access,
add .cgi mapping to c:\python22\python.exe "%s"
- In Web Service Extensions - add entry for Python
(c:\python22\python.exe "%s")
- Create c:\rcs directory with required tools
- Create C:\Program Files\Enscript directory with
contents
- Create C:\Program Files\viewcvs-1.0-dev directory with
contents
- Add c:\rcs directory to system environment path
variable before cvsnt entry as the cvsnt version can't handle spaces in
directory names, reboot machine
- Users must be in the administrators group to view cvs
(couldn't figure out which right(s) is required)