Annotation of doc/gutshtml/FastInstallation.html, revision 1.2

1.2     ! bowersj2    1: <html xmlns:o="urn:schemas-microsoft-com:office:office"
        !             2: xmlns:w="urn:schemas-microsoft-com:office:word"
        !             3: xmlns="http://www.w3.org/TR/REC-html40">
        !             4: 
        !             5: <head>
        !             6: <meta name=Title content="Fast Installation: Setting up a Red Hat 7">
        !             7: <meta name=Keywords content="">
        !             8: <meta http-equiv=Content-Type content="text/html; charset=macintosh">
        !             9: <meta name=ProgId content=Word.Document>
        !            10: <meta name=Generator content="Microsoft Word 10">
        !            11: <meta name=Originator content="Microsoft Word 10">
        !            12: <link rel=File-List href="Fast%20Installation_files/filelist.xml">
        !            13: <title>Fast Installation: Setting up a Red Hat 7</title>
        !            14: <!--[if gte mso 9]><xml>
        !            15:  <o:DocumentProperties>
        !            16:   <o:Author>Gerd Kortemeyer</o:Author>
        !            17:   <o:Template>Normal</o:Template>
        !            18:   <o:Revision>1</o:Revision>
        !            19:   <o:TotalTime>0</o:TotalTime>
        !            20:   <o:Created>2002-06-27T21:54:00Z</o:Created>
        !            21:   <o:Pages>1</o:Pages>
        !            22:   <o:Words>1010</o:Words>
        !            23:   <o:Characters>5762</o:Characters>
        !            24:   <o:Company>Michigan State University</o:Company>
        !            25:   <o:Lines>48</o:Lines>
        !            26:   <o:Paragraphs>11</o:Paragraphs>
        !            27:   <o:CharactersWithSpaces>7076</o:CharactersWithSpaces>
        !            28:   <o:Version>10.1412</o:Version>
        !            29:  </o:DocumentProperties>
        !            30:  <o:OfficeDocumentSettings>
        !            31:   <o:AllowPNG/>
        !            32:   <o:DownloadComponents>120</o:DownloadComponents>
        !            33:   <o:PixelsPerInch>1600x1200</o:PixelsPerInch>
        !            34:  </o:OfficeDocumentSettings>
        !            35: </xml><![endif]--><!--[if gte mso 9]><xml>
        !            36:  <w:WordDocument>
        !            37:   <w:Zoom>0</w:Zoom>
        !            38:   <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
        !            39:   <w:DisplayVerticalDrawingGridEvery>0</w:DisplayVerticalDrawingGridEvery>
        !            40:   <w:UseMarginsForDrawingGridOrigin/>
        !            41:  </w:WordDocument>
        !            42: </xml><![endif]-->
        !            43: <style>
        !            44: <!--
        !            45:  /* Font Definitions */
        !            46: @font-face
        !            47: 	{font-family:"Times New Roman";
        !            48: 	panose-1:0 2 2 6 3 5 4 5 2 3;
        !            49: 	mso-font-charset:0;
        !            50: 	mso-generic-font-family:auto;
        !            51: 	mso-font-pitch:variable;
        !            52: 	mso-font-signature:50331648 0 0 0 1 0;}
        !            53: @font-face
        !            54: 	{font-family:Arial;
        !            55: 	panose-1:0 2 11 6 4 2 2 2 2 2;
        !            56: 	mso-font-charset:0;
        !            57: 	mso-generic-font-family:auto;
        !            58: 	mso-font-pitch:variable;
        !            59: 	mso-font-signature:50331648 0 0 0 1 0;}
        !            60: @font-face
        !            61: 	{font-family:"Courier New";
        !            62: 	panose-1:0 2 7 3 9 2 2 5 2 4;
        !            63: 	mso-font-charset:0;
        !            64: 	mso-generic-font-family:auto;
        !            65: 	mso-font-pitch:variable;
        !            66: 	mso-font-signature:50331648 0 0 0 1 0;}
        !            67: @font-face
        !            68: 	{font-family:Wingdings;
        !            69: 	panose-1:0 5 2 1 2 1 8 4 8 7;
        !            70: 	mso-font-charset:2;
        !            71: 	mso-generic-font-family:auto;
        !            72: 	mso-font-pitch:variable;
        !            73: 	mso-font-signature:0 16 0 0 -2147483648 0;}
        !            74:  /* Style Definitions */
        !            75: p.MsoNormal, li.MsoNormal, div.MsoNormal
        !            76: 	{mso-style-parent:"";
        !            77: 	margin:0in;
        !            78: 	margin-bottom:.0001pt;
        !            79: 	mso-pagination:widow-orphan;
        !            80: 	font-size:12.0pt;
        !            81: 	font-family:Times;}
        !            82: h1
        !            83: 	{mso-style-next:Normal;
        !            84: 	margin:0in;
        !            85: 	margin-bottom:.0001pt;
        !            86: 	mso-pagination:widow-orphan;
        !            87: 	page-break-after:avoid;
        !            88: 	mso-outline-level:1;
        !            89: 	font-size:14.0pt;
        !            90: 	font-family:"Times New Roman";
        !            91: 	mso-font-kerning:0pt;
        !            92: 	font-weight:bold;}
        !            93: h2
        !            94: 	{mso-style-next:Normal;
        !            95: 	margin-top:12.0pt;
        !            96: 	margin-right:0in;
        !            97: 	margin-bottom:3.0pt;
        !            98: 	margin-left:0in;
        !            99: 	mso-pagination:widow-orphan;
        !           100: 	page-break-after:avoid;
        !           101: 	mso-outline-level:2;
        !           102: 	font-size:12.0pt;
        !           103: 	font-family:Arial;
        !           104: 	font-weight:bold;
        !           105: 	font-style:italic;}
        !           106: p
        !           107: 	{margin-right:0in;
        !           108: 	mso-margin-top-alt:auto;
        !           109: 	mso-margin-bottom-alt:auto;
        !           110: 	margin-left:0in;
        !           111: 	mso-pagination:widow-orphan;
        !           112: 	font-size:12.0pt;
        !           113: 	font-family:"Times New Roman";}
        !           114: pre
        !           115: 	{margin:0in;
        !           116: 	margin-bottom:.0001pt;
        !           117: 	mso-pagination:widow-orphan;
        !           118: 	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
        !           119: 	font-size:10.0pt;
        !           120: 	font-family:"Courier New";}
        !           121: tt {}
        !           122: @page Section1
        !           123: 	{size:8.5in 11.0in;
        !           124: 	margin:1.0in 1.25in 1.0in 1.25in;
        !           125: 	mso-header-margin:.5in;
        !           126: 	mso-footer-margin:.5in;
        !           127: 	mso-paper-source:0;}
        !           128: div.Section1
        !           129: 	{page:Section1;}
        !           130: @page Section2
        !           131: 	{size:8.5in 11.0in;
        !           132: 	margin:1.0in 1.25in 1.0in 1.25in;
        !           133: 	mso-header-margin:.5in;
        !           134: 	mso-footer-margin:.5in;
        !           135: 	mso-paper-source:0;}
        !           136: div.Section2
        !           137: 	{page:Section2;}
        !           138:  /* List Definitions */
        !           139: @list l0
        !           140: 	{mso-list-id:526917976;
        !           141: 	mso-list-type:hybrid;
        !           142: 	mso-list-template-ids:-1331112906 -1406905024 -344398962 1467254890 -638782688 -1081826792 -637395960 -765828298 -2120437558 -454631360;}
        !           143: @list l0:level1
        !           144: 	{mso-level-number-format:bullet;
        !           145: 	mso-level-text:\F0B7;
        !           146: 	mso-level-tab-stop:.5in;
        !           147: 	mso-level-number-position:left;
        !           148: 	text-indent:-.25in;
        !           149: 	font-size:10.0pt;
        !           150: 	font-family:Symbol;}
        !           151: @list l1
        !           152: 	{mso-list-id:716245914;
        !           153: 	mso-list-type:hybrid;
        !           154: 	mso-list-template-ids:-1772223172 1239213712 -1405203140 -1939727986 -1001496134 -1507811686 436794448 1330569048 -202857512 871669244;}
        !           155: @list l1:level1
        !           156: 	{mso-level-tab-stop:.5in;
        !           157: 	mso-level-number-position:left;
        !           158: 	text-indent:-.25in;}
        !           159: @list l2
        !           160: 	{mso-list-id:1211651025;
        !           161: 	mso-list-type:hybrid;
        !           162: 	mso-list-template-ids:1720480662 -1156523330 764584900 693815576 577507578 -1668380266 -358728502 1637385602 869286030 86140684;}
        !           163: @list l2:level1
        !           164: 	{mso-level-number-format:bullet;
        !           165: 	mso-level-text:\F0B7;
        !           166: 	mso-level-tab-stop:.5in;
        !           167: 	mso-level-number-position:left;
        !           168: 	text-indent:-.25in;
        !           169: 	font-size:10.0pt;
        !           170: 	font-family:Symbol;}
        !           171: @list l3
        !           172: 	{mso-list-id:1738747246;
        !           173: 	mso-list-type:hybrid;
        !           174: 	mso-list-template-ids:589056050 295589242 -1260124096 -821652718 -1874822846 1139856888 962002586 434413380 -1859721930 -926639952;}
        !           175: @list l3:level1
        !           176: 	{mso-level-number-format:bullet;
        !           177: 	mso-level-text:\F0B7;
        !           178: 	mso-level-tab-stop:.5in;
        !           179: 	mso-level-number-position:left;
        !           180: 	text-indent:-.25in;
        !           181: 	font-size:10.0pt;
        !           182: 	font-family:Symbol;}
        !           183: ol
        !           184: 	{margin-bottom:0in;}
        !           185: ul
        !           186: 	{margin-bottom:0in;}
        !           187: -->
        !           188: </style>
        !           189: </head>
        !           190: 
        !           191: <body bgcolor=white lang=EN-US style='tab-interval:.5in'>
        !           192: 
        !           193: <div class=Section1>
        !           194: 
        !           195: <h1>Fast Installation: Setting up a Red Hat 7.3 LON-CAPA Server</h1>
        !           196: 
        !           197: <h2><a name="_Toc421867176">Before you begin</a></h2>
        !           198: 
        !           199: <p>Installing Linux is getting easier and easier. However, it is still a
        !           200: non-trivial undertaking and experience with Red Hat Linux will make this
        !           201: process easier. You will be required to log in to the machine and execute some
        !           202: routine Unix commands. Some familiarity with Linux is assumed. </p>
        !           203: 
        !           204: <h2><a name="_Toc421867177">Installation Overview</a></h2>
        !           205: 
        !           206: <p>The installation process takes the following steps: </p>
        !           207: 
        !           208: <p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1;
        !           209: tab-stops:list .5in'><![if !supportLists]>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
        !           210: </span><![endif]>Obtain Red Hat 7.3 </p>
        !           211: 
        !           212: <p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1;
        !           213: tab-stops:list .5in'><![if !supportLists]>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
        !           214: </span><![endif]>Gather information for installing Red Hat </p>
        !           215: 
        !           216: <p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1;
        !           217: tab-stops:list .5in'><![if !supportLists]>3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
        !           218: </span><![endif]>Install Red Hat 7.3 </p>
        !           219: 
        !           220: <p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1;
        !           221: tab-stops:list .5in'><![if !supportLists]>4.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
        !           222: </span><![endif]>Determine your LON-CAPA Settings </p>
        !           223: 
        !           224: <p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1;
        !           225: tab-stops:list .5in'><![if !supportLists]>5.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
        !           226: </span><![endif]>Install LON-CAPA </p>
        !           227: 
        !           228: <p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1;
        !           229: tab-stops:list .5in'><![if !supportLists]>6.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
        !           230: </span><![endif]>Configure LON-CAPA </p>
        !           231: 
        !           232: <p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1;
        !           233: tab-stops:list .5in'><![if !supportLists]>7.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
        !           234: </span><![endif]>Pick a hosts.tab file </p>
        !           235: 
        !           236: <p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1;
        !           237: tab-stops:list .5in'><![if !supportLists]>8.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
        !           238: </span><![endif]>Create a Domain Coordinator </p>
        !           239: 
        !           240: <p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1;
        !           241: tab-stops:list .5in'><![if !supportLists]>9.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
        !           242: </span><![endif]>Start/Restart services </p>
        !           243: 
        !           244: <p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo1;
        !           245: tab-stops:list .5in'><![if !supportLists]>10.<span style='font:7.0pt "Times New Roman"'>&nbsp;
        !           246: </span><![endif]>Log in to LON-CAPA </p>
        !           247: 
        !           248: <h2><a name="_Toc421867178">Obtain the Red Hat 7.3 installation CDs</a></h2>
        !           249: 
        !           250: <p>If you like, you may contact the LON-CAPA development staff and we can mail
        !           251: the CDs to you. Another option is to download the cd images and burn them
        !           252: yourself, or install from a mirror site using ftp or http. </p>
        !           253: 
        !           254: <h2><a name="_Toc421867179">Determine Network settings for your site</a></h2>
        !           255: 
        !           256: <p>You will need to have the following information for your site. You must have
        !           257: a static IP address (do not use DHCP). </p>
        !           258: 
        !           259: <ul style='margin-top:0in' type=disc>
        !           260:  <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list .5in'>ip
        !           261:      address </li>
        !           262:  <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list .5in'>netmask
        !           263:      </li>
        !           264:  <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list .5in'>network
        !           265:      </li>
        !           266:  <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list .5in'>broadcast
        !           267:      </li>
        !           268:  <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list .5in'>hostname
        !           269:      </li>
        !           270:  <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list .5in'>gateway
        !           271:      </li>
        !           272:  <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list .5in'>domain
        !           273:      name server(s) </li>
        !           274: </ul>
        !           275: 
        !           276: <h2><a name="_Toc421867180">Install Red Hat 7.3</a></h2>
        !           277: 
        !           278: <p>When you install RedHat you will need to ensure the following (the list
        !           279: below is in the order the issues appear in the installation of Red Hat 7.3): </p>
        !           280: 
        !           281: <p class=MsoNormal>Installation Type </p>
        !           282: 
        !           283: <p class=MsoNormal style='margin-left:.5in'>You should definitely do a
        !           284: &quot;Server&quot; install. We do not recommend Trying to install LON-CAPA with
        !           285: a different installation type. </p>
        !           286: 
        !           287: <p class=MsoNormal>Partitioning your Drive </p>
        !           288: 
        !           289: <p class=MsoNormal style='margin-left:.5in'>You may want to use the automatic
        !           290: partitioning feature of Red Hat, however you should review the results and be
        !           291: prepared to modify them. LON-CAPA resource files are stored in the /home
        !           292: directory, so the lion's share of the drive should be allocated here. If you
        !           293: have 8 GB of space for Red Hat, /home should receive 4 to 6 gigs. Be sure to
        !           294: include adequate swap space. A minimum is 512 Megs, but you should typically
        !           295: have 1 or 2x as much swap space as you do physical RAM. </p>
        !           296: 
        !           297: <p class=MsoNormal>Network Configuration </p>
        !           298: 
        !           299: <p class=MsoNormal style='margin-left:.5in'>LON-CAPA will <b>not</b><span
        !           300: style='font-weight:normal'> work with a machine set up to use a dynamic IP
        !           301: address. When configuring your network card, be sure to unselect the DHCP
        !           302: option and enter in your network information. </span></p>
        !           303: 
        !           304: <p class=MsoNormal>Firewall Configuration </p>
        !           305: 
        !           306: <p class=MsoNormal style='margin-left:.5in'>The installation script will remove
        !           307: and disable your firewall. </p>
        !           308: 
        !           309: <p class=MsoNormal>Package Group Selection </p>
        !           310: 
        !           311: <p class=MsoNormal style='margin-left:.5in'>At a minimum, install the following
        !           312: packages: </p>
        !           313: 
        !           314: <ul style='margin-top:0in' type=disc>
        !           315:  <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'>NFS
        !           316:      File Server </li>
        !           317:  <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'>Windows
        !           318:      File Server </li>
        !           319:  <li class=MsoNormal style='mso-list:l2 level1 lfo3;tab-stops:list .5in'>Web
        !           320:      Server </li>
        !           321: </ul>
        !           322: 
        !           323: <p class=MsoNormal style='margin-left:.5in'>Other packages can be installed as
        !           324: you like. </p>
        !           325: 
        !           326: <p class=MsoNormal>X Windows Configuration </p>
        !           327: 
        !           328: <p class=MsoNormal style='margin-left:.5in'>If you chose to install the
        !           329: X-windows packages you will need to configure them. If you are unsure of the
        !           330: support for your video card you may wish to skip the configuration. </p>
        !           331: 
        !           332: <p class=MsoNormal>Other notes: </p>
        !           333: 
        !           334: <ul style='margin-top:0in' type=disc>
        !           335:  <li class=MsoNormal style='mso-list:l3 level1 lfo4;tab-stops:list .5in'>Use
        !           336:      md5 and shadow passwords if you are given the choice (this is the
        !           337:      default). </li>
        !           338: </ul>
        !           339: 
        !           340: <h2><a name="_Toc421867181">Determine LON-CAPA settings</a></h2>
        !           341: 
        !           342: <p>LON-CAPA requires a number of identifying parameters be set in order for it
        !           343: to function at all. Below is a list with descriptions. </p>
        !           344: 
        !           345: <p class=MsoNormal>Host Type (library or access) </p>
        !           346: 
        !           347: <p class=MsoNormal style='margin-left:.5in'>The server must be designated a
        !           348: 'library' or an 'access' server. In general you should have a library server
        !           349: for your instructors to create their course content on and run their courses.
        !           350: Students should connect to access servers. If you are doing the first install
        !           351: of LON-CAPA at your site, or if you are playing with it for your own
        !           352: edification, you should make your machine a 'library' server. </p>
        !           353: 
        !           354: <p class=MsoNormal>LON-CAPA domain </p>
        !           355: 
        !           356: <p class=MsoNormal style='margin-left:.5in'>Each site or school which installs
        !           357: LON-CAPA needs its own domain. Here at MSU we use 'msu'. You should choose
        !           358: something short but meaningful. <i>Restriction: One word, no hyphens,
        !           359: underscores, or special characters!</i><span style='font-style:normal'> </span></p>
        !           360: 
        !           361: <p class=MsoNormal>LON-CAPA host id </p>
        !           362: 
        !           363: <p class=MsoNormal style='margin-left:.5in'>Each LON-CAPA server requires a
        !           364: unique internal name. We use names such as &quot;msul1&quot; for the first
        !           365: library server. <i>Restriction: One word, no hyphens, underscores, or special
        !           366: characters!</i><span style='font-style:normal'> </span></p>
        !           367: 
        !           368: <p class=MsoNormal>Host administrator email </p>
        !           369: 
        !           370: <p class=MsoNormal style='margin-left:.5in'>The amount of email sent to this
        !           371: address is relatively minimal. Messages are sent every time the system starts
        !           372: up, or if the system is in serious trouble. On a laptop, make this <tt><span
        !           373: style='font-family:"Courier New"'>root@localhost</span></tt>. </p>
        !           374: 
        !           375: <p class=MsoNormal>Root password for SQL database </p>
        !           376: 
        !           377: <p class=MsoNormal style='margin-left:.5in'>In order to keep people from
        !           378: corrupting the MYSQL database, a root password is needed. You'll need to
        !           379: remember this. </p>
        !           380: 
        !           381: <h2><a name="_Toc421867182">Install LON-CAPA</a></h2>
        !           382: 
        !           383: <p>Log in as root with the password you provided during the Red Hat
        !           384: installation process. </p>
        !           385: 
        !           386: <pre><span style="mso-spacerun: yes">&nbsp;</span>wget http://install.loncapa.org/versions/rh73install/loncapa-rh73install.tar tar xf loncapa-rh73install.tar cd install ./install.pl </pre>
        !           387: 
        !           388: <h2><a name="_Toc421867183">Configure LON-CAPA</a></h2>
        !           389: 
        !           390: <p>Execute the following commands </p>
        !           391: 
        !           392: <pre><span style="mso-spacerun: yes">&nbsp;</span>cd /root/loncapa/ ./UPDATE </pre>
        !           393: 
        !           394: <p class=MsoNormal>You will need to enter the LON-CAPA configuration
        !           395: information you requested above. Additionally, you will need to enter the
        !           396: following information (options 5 and 6 in the menu, recommended settings): </p>
        !           397: 
        !           398: <p class=MsoNormal>Cache Expiration Time </p>
        !           399: 
        !           400: <p class=MsoNormal style='margin-left:.5in'>86400 </p>
        !           401: 
        !           402: <p class=MsoNormal>Server Load </p>
        !           403: 
        !           404: <p class=MsoNormal style='margin-left:.5in'>2.0 </p>
        !           405: 
        !           406: <p class=MsoNormal>You can deviate from the above settings if you know what you
        !           407: are doing. </p>
        !           408: 
        !           409: <h2><a name="_Toc421867184">Picking a hosts.tab file</a></h2>
        !           410: 
        !           411: <p class=MsoNormal>The &quot;hosts.tab&quot; file controls which LON-CAPA servers
        !           412: your server attempts to access and which servers it will respond to. If this is
        !           413: your first install of LON-CAPA on your network, we suggest choosing a
        !           414: 'standalone' &quot;hosts.tab&quot;. On a laptop, you must choose 'standalone'.
        !           415: Please contact the support staff at www.loncapa.org for information about
        !           416: adding more hosts to your &quot;hosts.tab&quot; file. </p>
        !           417: 
        !           418: <p><b>Note:</b><span style='font-weight:normal'> for </span><b>non</b><span
        !           419: style='font-weight:normal'>-standalone configurations, you do need to add
        !           420: yourself to the </span><tt><span style='font-family:"Courier New"'>/home/httpd/lonTabs/hosts.tab</span></tt>
        !           421: to initially test your configuration. Eventually, you will be added to the
        !           422: general cluster tables by LON-CAPA staff, so this is temporary. A <tt><span
        !           423: style='font-family:"Courier New"'>hosts.tab</span></tt> entry has the format </p>
        !           424: 
        !           425: <pre><span style="mso-spacerun: yes">&nbsp;</span>lonHostID:domain:hosttype:dns-name:ipaddress </pre>
        !           426: 
        !           427: <p class=MsoNormal>for example </p>
        !           428: 
        !           429: <pre><span style="mso-spacerun: yes">&nbsp;</span>103l5:library:s17.lite.msu.edu:35.8.63.27 </pre>
        !           430: 
        !           431: <p class=MsoNormal>Please edit this file with a UNIX editor, not a PC or Mac
        !           432: one, so that the linebreaks are correct. </p>
        !           433: 
        !           434: <h2><a name="_Toc421867185">Creating a Domain Coordinator</a></h2>
        !           435: 
        !           436: <p>You will need at least one user at your site who has the role of 'domain
        !           437: coordinator'. This user creates accounts for other users and grants them
        !           438: additional privileges. The make_domain_coordinator.pl script invoked below
        !           439: requires that you enter the users password. The password will show in plaintext
        !           440: as you type it. Feel free to use the &quot;passwd username&quot; command to
        !           441: change it later. Replace USERNAME and DOMAIN with an appropriate user name and
        !           442: your domain. </p>
        !           443: 
        !           444: <pre><span style="mso-spacerun: yes">&nbsp;</span>cd /root/loncapa/loncom/build perl make_domain_coordinator.pl USERNAME DOMAIN (WILL PROMPT FOR PASSWORD HERE) mkdir ~USERNAME/public_html chown USERNAME:www ~USERNAME/public_html chmod 0775 ~USERNAME/public_html </pre>
        !           445: 
        !           446: <h2><a name="_Toc421867186">Start/Restart Services</a></h2>
        !           447: 
        !           448: <p>The services take about 10 minutes to start. </p>
        !           449: 
        !           450: <pre><span style="mso-spacerun: yes">&nbsp;</span>/etc/init.d/loncontrol start /etc/init.d/httpd restart </pre>
        !           451: 
        !           452: <h2><a name="_Toc421867187">Make Sure that Services Autostart on Boot</a></h2>
        !           453: 
        !           454: <p>On Redhat 7.3 it is not guaranteed that Apache and MySQL automatically
        !           455: restart on boot, even when installing with &quot;server&quot; configuration.
        !           456: After logging in as root, check under &quot;Programs&quot; - &quot;System&quot;
        !           457: - &quot;Service Configuration&quot; that &quot;Start on Boot&quot; is checked
        !           458: for httpd and mysqld, save and restart.. </p>
        !           459: 
        !           460: <h2><a name="_Toc421867188">Log in to your LON-CAPA Machine</a></h2>
        !           461: 
        !           462: <p>Point a web browser at your new machine and log in as the domain
        !           463: coordinator. Congratulations! </p>
        !           464: 
        !           465: </div>
        !           466: 
        !           467: <span style='font-size:12.0pt;font-family:Times;mso-ansi-language:EN-US'><br
        !           468: clear=ALL style='page-break-before:always;mso-break-type:section-break'>
        !           469: </span>
        !           470: 
        !           471: <div class=Section2>
        !           472: 
        !           473: <p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
        !           474: 
        !           475: </div>
        !           476: 
        !           477: </body>
        !           478: 
        !           479: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>