Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

207 lines
6.0 KiB

  1. How to Enlist, Build, Configure, and Start Running a Tigris Server
  2. ================
  3. About Tigris
  4. ================
  5. Tigris is the internal name of a NNTP server.
  6. ================
  7. About this Document
  8. ================
  9. The goal of this document is to track in one place the steps needed to build
  10. and run a private or lab Tigris server. It is a plain text document to make
  11. it easy for everyone on the project to edit. It lives at the top of the
  12. Tigris source tree to keep it close to that which it must track.
  13. If you find incomplete, incorrect, or out-of-date material in this file, just
  14. check the file out of the SLM tree and fix it.
  15. To enlist and get this just file:
  16. 0. If you need the SLM executables, get them from \\toolsvr\tools\slm
  17. 1. Create a directory like "c:\msn\apps\tigris"
  18. 2. Go to that directory
  19. 3. type "enlist -vgs \\gak\slm -p tigris" -- this ghost-enlists you to the
  20. Tigris project
  21. 4. type "ssync -u readme.txt" -- this unghosts this file.
  22. 5. If you want to edit this file:
  23. a. "ssync readme.txt" -- be sure you have the most current version
  24. b. "out readme.txt"
  25. c. edit the file
  26. d. "ssync readme.txt" -- merges your changes with any made at the
  27. same time. (If merging was necessary, re-edit to see that it
  28. is the way you want).
  29. e. "in readme.txt"
  30. Later, if you want to unghost all the Tigris project, the command
  31. is "ssync -u -r".
  32. ================
  33. Prerequisites
  34. ================
  35. To build Tigris you must be running Windows NT 3.51 Server (NOT Workstation).
  36. To install, connect to \\products2\release.
  37. Go to directory sys\winnt.35\winnt351.srv\internal\i386
  38. Run "winnt32". If you don't want to make floppy disks add "/b".
  39. When it ask what kind of license you have, say ??? (I said "7")
  40. Next, be sure you have service pack 3 installed. It can be found at
  41. \\ntbldsrv\inetsrv\ ... win35.qfe ???
  42. You must also have the SLM executables which you can get from
  43. \\toolsvr\tools\slm among other places.
  44. You must also install the Internet Server (aka Gilbralter).
  45. Connect to "\\ntbldsrv\inetsrv". Go to one of the lastest builds,
  46. for example "cd 100". In the "i386" directory you can find "setup".
  47. Also in the "help" directory you can find some HTML files suitable
  48. for viewing with a Web browser.
  49. Also, to creates a bunch of Gibraltar required registry key entries:
  50. run : tigris\setup\bin\install.exe
  51. ===============
  52. Installing
  53. ===============
  54. This step sets registry keys and copies files. You need to do this
  55. even you plan to build Tigris yourself.
  56. run
  57. \\johnsona\tigset\server\gettig.bat <JUNK DIR> <MSN BUILD #> <DEBUG or RETAIL>
  58. for example:
  59. \\johnsona\tigset\server\gettig.bat c:\junk 6123 debug
  60. [After you enlist (see next section), "gettig.bat" is available as
  61. apps\tigris\setup\server\gettig.bat]
  62. ================
  63. Enlistment
  64. ================
  65. If you do want to build your own copy, you will need to enlist in the Tigris
  66. project. Use slm:
  67. In a directory such as "c:\msn\apps\tigris". (You should be
  68. able to replace the "c:\msn\" part with whatever directory you want.)
  69. enlist -vs \\gak\slm -p tigris
  70. You will also need to enlist in parts of
  71. ntpublic ???
  72. build ???
  73. core ???
  74. ================
  75. Before Building
  76. ================
  77. (For some background on this read file "build\tools\build.txt".)
  78. Before building you must run the "msn.cmd" script to configure your computer.
  79. You can do this by going in to the build\tools directory and running
  80. msn build env nt 351 x86 debug
  81. If you want to be able to run the results under a debugger, then set these
  82. environment variables:
  83. set ntdebug=ntsd
  84. set ntdebugtype=both
  85. Before you build anything you will need to
  86. ================
  87. Building
  88. ================
  89. mos\core\common\shuttle ???
  90. mos\build ???
  91. Before building Tigris itself, you need to build ???. You can do this
  92. by going to the "core" directory and ???? typing "build -w". After a long
  93. while, it should finish.
  94. Now you can go to this "apps\tigris" directory and type "build -w". This
  95. will create the apps\target\i386\nntpsvc.dll. Copy this to your Gilbraltar directory.
  96. ================
  97. Installing
  98. ================
  99. Whether you build yourself or not, you need to "Install". Go
  100. to your junk directory and type
  101. "install <Gilbralter Directory>"
  102. for example
  103. install c:\inetsrv
  104. You may also need to set a reg key,
  105. Under Service Control ... nntpsvc, check that the szNewsgroupsPattern is something like
  106. "comp.os.*".
  107. ================
  108. Admin Configuration
  109. ================
  110. nntpcfg.dll is checked into apps\tigris\setup\bin. This is a dummy gibraltar
  111. admin DLL which allows inetmgr.exe to recognize NNTP servers and
  112. start/stop/pause them, but does not provide a property sheet to administer
  113. those servers. (Configuration of the servers is through the registry as
  114. described above.)
  115. To set this up on a machine which has gibraltar admin working:
  116. 1) Make sure a copy of apps\tigris\setup\bin\nntpcfg.dll is in your
  117. c:\inetsrv\admin (or equivalent) directory
  118. 2) to SOFTWARE\Microsoft\INetMgr\Parameters\AddOnServices
  119. add the Name/Value pair: NNTP: nntpcfg.dll
  120. ================
  121. Running
  122. ================
  123. To run the Tigris server, first
  124. net start nntpsrv
  125. If you want to run as an *.exe (say to make debugging easier):
  126. inetinfo -e nntpsvc
  127. ================
  128. Other Documents
  129. ================
  130. If you enlist in "\\gak\docs", project "marvel", you'll find
  131. a directory called "tigris".
  132. Many external documents related to the NNTP protocol and Netnews can
  133. be found in the "internet\external" directory of "marvel" on \\gak\docs.
  134. =========
  135. MISC
  136. =========
  137. I have just updated the code to reflect the move to the new reg keys.
  138. \\johnsona\tigset\server\gettig.bat should copy over all the files
  139. you will need. \\johnsona\at\nntpsvc.dll looks for the reg keys at the
  140. new location.
  141. You can grab the new binary in
  142. nntpsvc.ccc - only create directories that start with c
  143. nntpsvc.dll - creates everything
  144. =====
  145. DEBUGGING
  146. =====
  147. Run "regtrace" to get a pop-up of tracing options.