version 1.11, 2001/01/17 12:49:33
|
version 1.12, 2001/01/17 13:04:59
|
Line 5
|
Line 5
|
</HEAD> |
</HEAD> |
<BODY> |
<BODY> |
<H1>LON-CAPA Software Developer Instructions</H1> |
<H1>LON-CAPA Software Developer Instructions</H1> |
|
<BR><I>Written by Scott Harrison, January 17, 2001</I> |
|
<BR><I>Last updated, January 17, 2001</I> |
<OL> |
<OL> |
<LI><A HREF="#Using_CVS">Using CVS</A> |
<LI><A HREF="#Using_CVS">Using CVS</A> |
<UL> |
<UL> |
Line 152 alwaysrun:
|
Line 153 alwaysrun:
|
<LI><A NAME="loncapafiles"> |
<LI><A NAME="loncapafiles"> |
<H2>Adding/removing files from the LON-CAPA installation (doc/loncapafiles/loncapafiles.html)</H2> |
<H2>Adding/removing files from the LON-CAPA installation (doc/loncapafiles/loncapafiles.html)</H2> |
<STRONG>To add and remove (and alter)</STRONG> |
<STRONG>To add and remove (and alter)</STRONG> |
|
<P> |
All that you have to do to alter the behavior of the installation is |
All that you have to do to alter the behavior of the installation is |
edit a single file (<TT>doc/loncapafiles/loncapafiles.html</TT>). |
edit a single file (<TT>doc/loncapafiles/loncapafiles.html</TT>). |
Adding, removing, and altering files requires proper attention |
Adding, removing, and altering files requires proper attention |
to the syntax of file format of course. |
to the syntax of file format of course. |
|
</P> |
<STRONG>File Format</STRONG> |
<STRONG>File Format</STRONG> |
<P> |
<P> |
The preceding <A HREF=#"makebuild">"make build"</A> documentation |
The preceding <A HREF=#"makebuild">"make build"</A> documentation |
Line 248 combination has been working very effici
|
Line 251 combination has been working very effici
|
</P> |
</P> |
<LI><A NAME="configversusnonconfig"> |
<LI><A NAME="configversusnonconfig"> |
<H2>Configurable files versus non-configurable files</H2> |
<H2>Configurable files versus non-configurable files</H2> |
|
<STRONG>Machine-specific information is the difference</STRONG> |
|
<P> |
|
The current list of configurable files for the LON-CAPA system is |
|
/etc/httpd/access.conf. |
|
All of these configurable files contain machine-specific information. |
|
For instance, the LON-CAPA system relies on unique host IDs such |
|
as msua3, s1, s2, msul1, and 103a1 (specified as a "PerlSetVar lonHostID" |
|
field within /etc/httpd/access.conf). |
|
Non-configurable files simply do NOT have machine-specific information. |
|
<STRONG>The impact on updating software</STRONG> |
|
<P> |
|
What this means in terms of software updating is that |
|
<UL> |
|
<LI>non-configurable files can be simply overwritten with newer versions |
|
(without "anything" else to worry about), |
|
<LI>and configurable files must follow these steps to be safely overwritten |
|
<OL> |
|
<LI>have their machine specific information saved, |
|
<LI>be overwritten, and then |
|
<LI>have their machine specific information restored. |
|
</UL> |
|
</P> |
<LI><A NAME="makeinstall"> |
<LI><A NAME="makeinstall"> |
<H2>Updating the non-configurable files on your machine (make install)</H2> |
<H2>Updating the non-configurable files on your machine (make install)</H2> |
|
|
|
|
<LI><A NAME="makeconfiginstall"> |
<LI><A NAME="makeconfiginstall"> |
<H2>Updating the configurable files on your machine (make configinstall)</H2> |
<H2>Updating the configurable files on your machine (make configinstall)</H2> |
|
|
|
|
<LI><A NAME="makeRPM"> |
<LI><A NAME="makeRPM"> |
<H2>Building RPMs (make RPM)</H2> |
<H2>Building RPMs (make RPM)</H2> |
</OL> |
</OL> |
</BODY> |
</BODY> |
</HTML> |
</HTML> |
|
|
|
|
|
|
|
|