<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://clonwiki0.jlab.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=129.57.167.104</id>
	<title>CLONWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://clonwiki0.jlab.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=129.57.167.104"/>
	<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Special:Contributions/129.57.167.104"/>
	<updated>2026-04-09T03:03:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4945</id>
		<title>Tcl/Tk</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4945"/>
		<updated>2010-10-01T16:33:29Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: /* RHEL5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Basic Tcl/Tk must be installed to satisfy CODA references. Following packages were downloaded to &#039;&#039;/usr/local/downloads&#039;&#039; from the web:&lt;br /&gt;
 tcl8.4.13&lt;br /&gt;
 tk8.4.13&lt;br /&gt;
 tix-8.4.0&lt;br /&gt;
 expect-5.43&lt;br /&gt;
 blt2.4z&lt;br /&gt;
 itcl&lt;br /&gt;
 itk&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-dp &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-debug &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 mysqltcl&lt;br /&gt;
&lt;br /&gt;
Installation instructions:&lt;br /&gt;
&lt;br /&gt;
* tcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tix&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
&lt;br /&gt;
In file Makefile.in:&lt;br /&gt;
&lt;br /&gt;
1. Replace &#039;pkglibdir&#039; by &#039;libdir&#039; in 4 places in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-lib-binaries:&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        @list=&#039;$(lib_BINARIES)&#039;; for p in $$list; do \&lt;br /&gt;
          if test -f $$p; then \&lt;br /&gt;
            echo &amp;quot; $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            echo &amp;quot; $(RANLIB) $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(RANLIB) $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            ....................................&lt;br /&gt;
&lt;br /&gt;
to enforce libTix8.4.so installation into ${exec_prefix}/lib/,&lt;br /&gt;
not into ${exec_prefix}/lib/Tix8.4/&lt;br /&gt;
&lt;br /&gt;
2. Add following fragment to enforce &#039;tixwish&#039; building:&lt;br /&gt;
&lt;br /&gt;
 WISH_OBJS = tixAppInit.o&lt;br /&gt;
 tixwish: $(WISH_OBJS) $(PKG_LIB_FILE)&lt;br /&gt;
        ${CC} ${CFLAGS} ${LDFLAGS} $(WISH_OBJS) -L./ -lTix8.4 -ltk8.4 -ltcl8.4 \&lt;br /&gt;
                $(CC_SEARCH_FLAGS) -o tixwish&lt;br /&gt;
&lt;br /&gt;
3. Add &#039;tixwish&#039; target to the following line:&lt;br /&gt;
&lt;br /&gt;
 binaries: $(BINARIES) pkgIndex.tcl tixwish&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Add &#039;tixwish&#039; line in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-binaries: binaries install-lib-binaries install-bin-binaries&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_PROGRAM) tixwish $(DESTDIR)$(bindir)&lt;br /&gt;
        ...........................................&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* expect&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 ./configure --prefix=/usr --with-tcl=/usr/lib --with-tclinclude=/usr/local/src/tcl8.4.13/generic --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* blt&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 ./configure \--with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
   --with-tclincls=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-tkincls=/usr/local/src/tk8.4.13/generic \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* symbolic links&lt;br /&gt;
&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
* itcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr &lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:itcl3.3&amp;gt; /usr/bin/tclsh8.4 &lt;br /&gt;
 % package require Itcl&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
* itk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
  --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
  --with-itcl=/usr/local/src/itcl3.3 \&lt;br /&gt;
  --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:src&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require Itk&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-dp&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-dp.4.0.b2/unix&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr&lt;br /&gt;
 in generic/dpInit.c:&lt;br /&gt;
   /*sergey&lt;br /&gt;
   if (TclHasSockets(interp) != TCL_OK) {&lt;br /&gt;
   return TCL_ERROR;&lt;br /&gt;
   }&lt;br /&gt;
   */&lt;br /&gt;
 gmake&lt;br /&gt;
 ###gmake tests&lt;br /&gt;
 cd ..&lt;br /&gt;
 /usr/bin/wish teki.tcl&lt;br /&gt;
 ###&#039;File | Install&#039;.  Select dp.tek, click &#039;Open&#039;, select &#039;Custom&#039;,&lt;br /&gt;
 choose &#039;Solaris&#039; (or whatever), root directory for code files &#039;/usr/lib/tcl8.4&#039;&lt;br /&gt;
 cd /usr/lib/tcl8.4/dp4.0/library/&lt;br /&gt;
 chmod 755 *&lt;br /&gt;
 All DP scripts&lt;br /&gt;
 should have &amp;quot;package require dp&amp;quot; as their first line which will&lt;br /&gt;
 automatically load the DP module if it has not been loaded already.&lt;br /&gt;
 #test&lt;br /&gt;
 /usr/bin/tclsh8.4&lt;br /&gt;
 %  package require dp&lt;br /&gt;
 4.0&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-debug&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-debug-2.0&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared --with-tcl=/usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* mysqltcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tclinclude=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-mysql-include=/usr/include/mysql \&lt;br /&gt;
   --with-mysql-lib=/usr/lib/mysql \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require mysqltcl&lt;br /&gt;
 3.05&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;When everything is compiled on one machine of particular flavor, run following commands on other machines of the same flavor:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
== RHEL5 ==&lt;br /&gt;
&lt;br /&gt;
Install following using &#039;&#039;yum&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 yum install tcl-devel tk-devel tix tix-devel expect expect-devel&lt;br /&gt;
&lt;br /&gt;
Install the rest as it described above:&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
 cd /usr/local/src/blt2.4z &lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 gmake install&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4944</id>
		<title>Tcl/Tk</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4944"/>
		<updated>2010-10-01T16:32:34Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: /* RHEL5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Basic Tcl/Tk must be installed to satisfy CODA references. Following packages were downloaded to &#039;&#039;/usr/local/downloads&#039;&#039; from the web:&lt;br /&gt;
 tcl8.4.13&lt;br /&gt;
 tk8.4.13&lt;br /&gt;
 tix-8.4.0&lt;br /&gt;
 expect-5.43&lt;br /&gt;
 blt2.4z&lt;br /&gt;
 itcl&lt;br /&gt;
 itk&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-dp &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-debug &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 mysqltcl&lt;br /&gt;
&lt;br /&gt;
Installation instructions:&lt;br /&gt;
&lt;br /&gt;
* tcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tix&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
&lt;br /&gt;
In file Makefile.in:&lt;br /&gt;
&lt;br /&gt;
1. Replace &#039;pkglibdir&#039; by &#039;libdir&#039; in 4 places in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-lib-binaries:&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        @list=&#039;$(lib_BINARIES)&#039;; for p in $$list; do \&lt;br /&gt;
          if test -f $$p; then \&lt;br /&gt;
            echo &amp;quot; $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            echo &amp;quot; $(RANLIB) $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(RANLIB) $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            ....................................&lt;br /&gt;
&lt;br /&gt;
to enforce libTix8.4.so installation into ${exec_prefix}/lib/,&lt;br /&gt;
not into ${exec_prefix}/lib/Tix8.4/&lt;br /&gt;
&lt;br /&gt;
2. Add following fragment to enforce &#039;tixwish&#039; building:&lt;br /&gt;
&lt;br /&gt;
 WISH_OBJS = tixAppInit.o&lt;br /&gt;
 tixwish: $(WISH_OBJS) $(PKG_LIB_FILE)&lt;br /&gt;
        ${CC} ${CFLAGS} ${LDFLAGS} $(WISH_OBJS) -L./ -lTix8.4 -ltk8.4 -ltcl8.4 \&lt;br /&gt;
                $(CC_SEARCH_FLAGS) -o tixwish&lt;br /&gt;
&lt;br /&gt;
3. Add &#039;tixwish&#039; target to the following line:&lt;br /&gt;
&lt;br /&gt;
 binaries: $(BINARIES) pkgIndex.tcl tixwish&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Add &#039;tixwish&#039; line in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-binaries: binaries install-lib-binaries install-bin-binaries&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_PROGRAM) tixwish $(DESTDIR)$(bindir)&lt;br /&gt;
        ...........................................&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* expect&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 ./configure --prefix=/usr --with-tcl=/usr/lib --with-tclinclude=/usr/local/src/tcl8.4.13/generic --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* blt&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 ./configure \--with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
   --with-tclincls=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-tkincls=/usr/local/src/tk8.4.13/generic \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* symbolic links&lt;br /&gt;
&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
* itcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr &lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:itcl3.3&amp;gt; /usr/bin/tclsh8.4 &lt;br /&gt;
 % package require Itcl&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
* itk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
  --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
  --with-itcl=/usr/local/src/itcl3.3 \&lt;br /&gt;
  --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:src&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require Itk&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-dp&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-dp.4.0.b2/unix&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr&lt;br /&gt;
 in generic/dpInit.c:&lt;br /&gt;
   /*sergey&lt;br /&gt;
   if (TclHasSockets(interp) != TCL_OK) {&lt;br /&gt;
   return TCL_ERROR;&lt;br /&gt;
   }&lt;br /&gt;
   */&lt;br /&gt;
 gmake&lt;br /&gt;
 ###gmake tests&lt;br /&gt;
 cd ..&lt;br /&gt;
 /usr/bin/wish teki.tcl&lt;br /&gt;
 ###&#039;File | Install&#039;.  Select dp.tek, click &#039;Open&#039;, select &#039;Custom&#039;,&lt;br /&gt;
 choose &#039;Solaris&#039; (or whatever), root directory for code files &#039;/usr/lib/tcl8.4&#039;&lt;br /&gt;
 cd /usr/lib/tcl8.4/dp4.0/library/&lt;br /&gt;
 chmod 755 *&lt;br /&gt;
 All DP scripts&lt;br /&gt;
 should have &amp;quot;package require dp&amp;quot; as their first line which will&lt;br /&gt;
 automatically load the DP module if it has not been loaded already.&lt;br /&gt;
 #test&lt;br /&gt;
 /usr/bin/tclsh8.4&lt;br /&gt;
 %  package require dp&lt;br /&gt;
 4.0&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-debug&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-debug-2.0&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared --with-tcl=/usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* mysqltcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tclinclude=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-mysql-include=/usr/include/mysql \&lt;br /&gt;
   --with-mysql-lib=/usr/lib/mysql \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require mysqltcl&lt;br /&gt;
 3.05&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;When everything is compiled on one machine of particular flavor, run following commands on other machines of the same flavor:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
== RHEL5 ==&lt;br /&gt;
&lt;br /&gt;
Install following using &#039;&#039;yum&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 yum install tcl-devel tk-devel tix tix-devel expect expect-devel&lt;br /&gt;
&lt;br /&gt;
Install the rest as it described above:&lt;br /&gt;
&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
 cd /usr/local/src/blt2.4z &lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 gmake install&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4943</id>
		<title>Tcl/Tk</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4943"/>
		<updated>2010-10-01T16:32:03Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: /* RHEL5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Basic Tcl/Tk must be installed to satisfy CODA references. Following packages were downloaded to &#039;&#039;/usr/local/downloads&#039;&#039; from the web:&lt;br /&gt;
 tcl8.4.13&lt;br /&gt;
 tk8.4.13&lt;br /&gt;
 tix-8.4.0&lt;br /&gt;
 expect-5.43&lt;br /&gt;
 blt2.4z&lt;br /&gt;
 itcl&lt;br /&gt;
 itk&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-dp &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-debug &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 mysqltcl&lt;br /&gt;
&lt;br /&gt;
Installation instructions:&lt;br /&gt;
&lt;br /&gt;
* tcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tix&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
&lt;br /&gt;
In file Makefile.in:&lt;br /&gt;
&lt;br /&gt;
1. Replace &#039;pkglibdir&#039; by &#039;libdir&#039; in 4 places in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-lib-binaries:&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        @list=&#039;$(lib_BINARIES)&#039;; for p in $$list; do \&lt;br /&gt;
          if test -f $$p; then \&lt;br /&gt;
            echo &amp;quot; $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            echo &amp;quot; $(RANLIB) $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(RANLIB) $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            ....................................&lt;br /&gt;
&lt;br /&gt;
to enforce libTix8.4.so installation into ${exec_prefix}/lib/,&lt;br /&gt;
not into ${exec_prefix}/lib/Tix8.4/&lt;br /&gt;
&lt;br /&gt;
2. Add following fragment to enforce &#039;tixwish&#039; building:&lt;br /&gt;
&lt;br /&gt;
 WISH_OBJS = tixAppInit.o&lt;br /&gt;
 tixwish: $(WISH_OBJS) $(PKG_LIB_FILE)&lt;br /&gt;
        ${CC} ${CFLAGS} ${LDFLAGS} $(WISH_OBJS) -L./ -lTix8.4 -ltk8.4 -ltcl8.4 \&lt;br /&gt;
                $(CC_SEARCH_FLAGS) -o tixwish&lt;br /&gt;
&lt;br /&gt;
3. Add &#039;tixwish&#039; target to the following line:&lt;br /&gt;
&lt;br /&gt;
 binaries: $(BINARIES) pkgIndex.tcl tixwish&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Add &#039;tixwish&#039; line in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-binaries: binaries install-lib-binaries install-bin-binaries&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_PROGRAM) tixwish $(DESTDIR)$(bindir)&lt;br /&gt;
        ...........................................&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* expect&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 ./configure --prefix=/usr --with-tcl=/usr/lib --with-tclinclude=/usr/local/src/tcl8.4.13/generic --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* blt&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 ./configure \--with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
   --with-tclincls=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-tkincls=/usr/local/src/tk8.4.13/generic \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* symbolic links&lt;br /&gt;
&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
* itcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr &lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:itcl3.3&amp;gt; /usr/bin/tclsh8.4 &lt;br /&gt;
 % package require Itcl&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
* itk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
  --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
  --with-itcl=/usr/local/src/itcl3.3 \&lt;br /&gt;
  --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:src&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require Itk&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-dp&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-dp.4.0.b2/unix&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr&lt;br /&gt;
 in generic/dpInit.c:&lt;br /&gt;
   /*sergey&lt;br /&gt;
   if (TclHasSockets(interp) != TCL_OK) {&lt;br /&gt;
   return TCL_ERROR;&lt;br /&gt;
   }&lt;br /&gt;
   */&lt;br /&gt;
 gmake&lt;br /&gt;
 ###gmake tests&lt;br /&gt;
 cd ..&lt;br /&gt;
 /usr/bin/wish teki.tcl&lt;br /&gt;
 ###&#039;File | Install&#039;.  Select dp.tek, click &#039;Open&#039;, select &#039;Custom&#039;,&lt;br /&gt;
 choose &#039;Solaris&#039; (or whatever), root directory for code files &#039;/usr/lib/tcl8.4&#039;&lt;br /&gt;
 cd /usr/lib/tcl8.4/dp4.0/library/&lt;br /&gt;
 chmod 755 *&lt;br /&gt;
 All DP scripts&lt;br /&gt;
 should have &amp;quot;package require dp&amp;quot; as their first line which will&lt;br /&gt;
 automatically load the DP module if it has not been loaded already.&lt;br /&gt;
 #test&lt;br /&gt;
 /usr/bin/tclsh8.4&lt;br /&gt;
 %  package require dp&lt;br /&gt;
 4.0&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-debug&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-debug-2.0&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared --with-tcl=/usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* mysqltcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tclinclude=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-mysql-include=/usr/include/mysql \&lt;br /&gt;
   --with-mysql-lib=/usr/lib/mysql \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require mysqltcl&lt;br /&gt;
 3.05&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;When everything is compiled on one machine of particular flavor, run following commands on other machines of the same flavor:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
== RHEL5 ==&lt;br /&gt;
&lt;br /&gt;
Install following using &#039;&#039;yum&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 yum install tcl-devel tk-devel tix tix-devel expect expect-devel&lt;br /&gt;
&lt;br /&gt;
Install the rest as it described above:&lt;br /&gt;
&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
 cd /usr/local/src/blt2.4z &lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4942</id>
		<title>Tcl/Tk</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4942"/>
		<updated>2010-10-01T16:31:27Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: /* RHEL5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Basic Tcl/Tk must be installed to satisfy CODA references. Following packages were downloaded to &#039;&#039;/usr/local/downloads&#039;&#039; from the web:&lt;br /&gt;
 tcl8.4.13&lt;br /&gt;
 tk8.4.13&lt;br /&gt;
 tix-8.4.0&lt;br /&gt;
 expect-5.43&lt;br /&gt;
 blt2.4z&lt;br /&gt;
 itcl&lt;br /&gt;
 itk&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-dp &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-debug &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 mysqltcl&lt;br /&gt;
&lt;br /&gt;
Installation instructions:&lt;br /&gt;
&lt;br /&gt;
* tcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tix&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
&lt;br /&gt;
In file Makefile.in:&lt;br /&gt;
&lt;br /&gt;
1. Replace &#039;pkglibdir&#039; by &#039;libdir&#039; in 4 places in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-lib-binaries:&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        @list=&#039;$(lib_BINARIES)&#039;; for p in $$list; do \&lt;br /&gt;
          if test -f $$p; then \&lt;br /&gt;
            echo &amp;quot; $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            echo &amp;quot; $(RANLIB) $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(RANLIB) $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            ....................................&lt;br /&gt;
&lt;br /&gt;
to enforce libTix8.4.so installation into ${exec_prefix}/lib/,&lt;br /&gt;
not into ${exec_prefix}/lib/Tix8.4/&lt;br /&gt;
&lt;br /&gt;
2. Add following fragment to enforce &#039;tixwish&#039; building:&lt;br /&gt;
&lt;br /&gt;
 WISH_OBJS = tixAppInit.o&lt;br /&gt;
 tixwish: $(WISH_OBJS) $(PKG_LIB_FILE)&lt;br /&gt;
        ${CC} ${CFLAGS} ${LDFLAGS} $(WISH_OBJS) -L./ -lTix8.4 -ltk8.4 -ltcl8.4 \&lt;br /&gt;
                $(CC_SEARCH_FLAGS) -o tixwish&lt;br /&gt;
&lt;br /&gt;
3. Add &#039;tixwish&#039; target to the following line:&lt;br /&gt;
&lt;br /&gt;
 binaries: $(BINARIES) pkgIndex.tcl tixwish&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Add &#039;tixwish&#039; line in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-binaries: binaries install-lib-binaries install-bin-binaries&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_PROGRAM) tixwish $(DESTDIR)$(bindir)&lt;br /&gt;
        ...........................................&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* expect&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 ./configure --prefix=/usr --with-tcl=/usr/lib --with-tclinclude=/usr/local/src/tcl8.4.13/generic --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* blt&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 ./configure \--with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
   --with-tclincls=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-tkincls=/usr/local/src/tk8.4.13/generic \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* symbolic links&lt;br /&gt;
&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
* itcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr &lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:itcl3.3&amp;gt; /usr/bin/tclsh8.4 &lt;br /&gt;
 % package require Itcl&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
* itk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
  --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
  --with-itcl=/usr/local/src/itcl3.3 \&lt;br /&gt;
  --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:src&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require Itk&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-dp&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-dp.4.0.b2/unix&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr&lt;br /&gt;
 in generic/dpInit.c:&lt;br /&gt;
   /*sergey&lt;br /&gt;
   if (TclHasSockets(interp) != TCL_OK) {&lt;br /&gt;
   return TCL_ERROR;&lt;br /&gt;
   }&lt;br /&gt;
   */&lt;br /&gt;
 gmake&lt;br /&gt;
 ###gmake tests&lt;br /&gt;
 cd ..&lt;br /&gt;
 /usr/bin/wish teki.tcl&lt;br /&gt;
 ###&#039;File | Install&#039;.  Select dp.tek, click &#039;Open&#039;, select &#039;Custom&#039;,&lt;br /&gt;
 choose &#039;Solaris&#039; (or whatever), root directory for code files &#039;/usr/lib/tcl8.4&#039;&lt;br /&gt;
 cd /usr/lib/tcl8.4/dp4.0/library/&lt;br /&gt;
 chmod 755 *&lt;br /&gt;
 All DP scripts&lt;br /&gt;
 should have &amp;quot;package require dp&amp;quot; as their first line which will&lt;br /&gt;
 automatically load the DP module if it has not been loaded already.&lt;br /&gt;
 #test&lt;br /&gt;
 /usr/bin/tclsh8.4&lt;br /&gt;
 %  package require dp&lt;br /&gt;
 4.0&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-debug&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-debug-2.0&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared --with-tcl=/usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* mysqltcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tclinclude=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-mysql-include=/usr/include/mysql \&lt;br /&gt;
   --with-mysql-lib=/usr/lib/mysql \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require mysqltcl&lt;br /&gt;
 3.05&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;When everything is compiled on one machine of particular flavor, run following commands on other machines of the same flavor:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
== RHEL5 ==&lt;br /&gt;
&lt;br /&gt;
Install following using &#039;&#039;yum&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 yum install tcl-devel tk-devel tix tix-devel expect expect-devel&lt;br /&gt;
&lt;br /&gt;
Install following as it described above:&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/blt2.4z &lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4941</id>
		<title>Tcl/Tk</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4941"/>
		<updated>2010-10-01T16:28:19Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: /* RHEL5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Basic Tcl/Tk must be installed to satisfy CODA references. Following packages were downloaded to &#039;&#039;/usr/local/downloads&#039;&#039; from the web:&lt;br /&gt;
 tcl8.4.13&lt;br /&gt;
 tk8.4.13&lt;br /&gt;
 tix-8.4.0&lt;br /&gt;
 expect-5.43&lt;br /&gt;
 blt2.4z&lt;br /&gt;
 itcl&lt;br /&gt;
 itk&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-dp &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-debug &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 mysqltcl&lt;br /&gt;
&lt;br /&gt;
Installation instructions:&lt;br /&gt;
&lt;br /&gt;
* tcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tix&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
&lt;br /&gt;
In file Makefile.in:&lt;br /&gt;
&lt;br /&gt;
1. Replace &#039;pkglibdir&#039; by &#039;libdir&#039; in 4 places in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-lib-binaries:&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        @list=&#039;$(lib_BINARIES)&#039;; for p in $$list; do \&lt;br /&gt;
          if test -f $$p; then \&lt;br /&gt;
            echo &amp;quot; $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            echo &amp;quot; $(RANLIB) $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(RANLIB) $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            ....................................&lt;br /&gt;
&lt;br /&gt;
to enforce libTix8.4.so installation into ${exec_prefix}/lib/,&lt;br /&gt;
not into ${exec_prefix}/lib/Tix8.4/&lt;br /&gt;
&lt;br /&gt;
2. Add following fragment to enforce &#039;tixwish&#039; building:&lt;br /&gt;
&lt;br /&gt;
 WISH_OBJS = tixAppInit.o&lt;br /&gt;
 tixwish: $(WISH_OBJS) $(PKG_LIB_FILE)&lt;br /&gt;
        ${CC} ${CFLAGS} ${LDFLAGS} $(WISH_OBJS) -L./ -lTix8.4 -ltk8.4 -ltcl8.4 \&lt;br /&gt;
                $(CC_SEARCH_FLAGS) -o tixwish&lt;br /&gt;
&lt;br /&gt;
3. Add &#039;tixwish&#039; target to the following line:&lt;br /&gt;
&lt;br /&gt;
 binaries: $(BINARIES) pkgIndex.tcl tixwish&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Add &#039;tixwish&#039; line in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-binaries: binaries install-lib-binaries install-bin-binaries&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_PROGRAM) tixwish $(DESTDIR)$(bindir)&lt;br /&gt;
        ...........................................&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* expect&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 ./configure --prefix=/usr --with-tcl=/usr/lib --with-tclinclude=/usr/local/src/tcl8.4.13/generic --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* blt&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 ./configure \--with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
   --with-tclincls=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-tkincls=/usr/local/src/tk8.4.13/generic \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* symbolic links&lt;br /&gt;
&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
* itcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr &lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:itcl3.3&amp;gt; /usr/bin/tclsh8.4 &lt;br /&gt;
 % package require Itcl&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
* itk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
  --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
  --with-itcl=/usr/local/src/itcl3.3 \&lt;br /&gt;
  --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:src&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require Itk&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-dp&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-dp.4.0.b2/unix&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr&lt;br /&gt;
 in generic/dpInit.c:&lt;br /&gt;
   /*sergey&lt;br /&gt;
   if (TclHasSockets(interp) != TCL_OK) {&lt;br /&gt;
   return TCL_ERROR;&lt;br /&gt;
   }&lt;br /&gt;
   */&lt;br /&gt;
 gmake&lt;br /&gt;
 ###gmake tests&lt;br /&gt;
 cd ..&lt;br /&gt;
 /usr/bin/wish teki.tcl&lt;br /&gt;
 ###&#039;File | Install&#039;.  Select dp.tek, click &#039;Open&#039;, select &#039;Custom&#039;,&lt;br /&gt;
 choose &#039;Solaris&#039; (or whatever), root directory for code files &#039;/usr/lib/tcl8.4&#039;&lt;br /&gt;
 cd /usr/lib/tcl8.4/dp4.0/library/&lt;br /&gt;
 chmod 755 *&lt;br /&gt;
 All DP scripts&lt;br /&gt;
 should have &amp;quot;package require dp&amp;quot; as their first line which will&lt;br /&gt;
 automatically load the DP module if it has not been loaded already.&lt;br /&gt;
 #test&lt;br /&gt;
 /usr/bin/tclsh8.4&lt;br /&gt;
 %  package require dp&lt;br /&gt;
 4.0&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-debug&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-debug-2.0&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared --with-tcl=/usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* mysqltcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tclinclude=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-mysql-include=/usr/include/mysql \&lt;br /&gt;
   --with-mysql-lib=/usr/lib/mysql \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require mysqltcl&lt;br /&gt;
 3.05&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;When everything is compiled on one machine of particular flavor, run following commands on other machines of the same flavor:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
== RHEL5 ==&lt;br /&gt;
&lt;br /&gt;
Install following using &#039;&#039;yum&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 yum install tcl-devel tk-devel tix tix-devel expect expect-devel&lt;br /&gt;
&lt;br /&gt;
Install following as it described above:&lt;br /&gt;
&lt;br /&gt;
  blt2.4z&lt;br /&gt;
  itcl&lt;br /&gt;
  itk&lt;br /&gt;
  mysqltcl&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4940</id>
		<title>Tcl/Tk</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Tcl/Tk&amp;diff=4940"/>
		<updated>2010-10-01T16:26:25Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: /* RHEL5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Basic Tcl/Tk must be installed to satisfy CODA references. Following packages were downloaded to &#039;&#039;/usr/local/downloads&#039;&#039; from the web:&lt;br /&gt;
 tcl8.4.13&lt;br /&gt;
 tk8.4.13&lt;br /&gt;
 tix-8.4.0&lt;br /&gt;
 expect-5.43&lt;br /&gt;
 blt2.4z&lt;br /&gt;
 itcl&lt;br /&gt;
 itk&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-dp &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! tcl-debug &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 mysqltcl&lt;br /&gt;
&lt;br /&gt;
Installation instructions:&lt;br /&gt;
&lt;br /&gt;
* tcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* tix&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
&lt;br /&gt;
In file Makefile.in:&lt;br /&gt;
&lt;br /&gt;
1. Replace &#039;pkglibdir&#039; by &#039;libdir&#039; in 4 places in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-lib-binaries:&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        @list=&#039;$(lib_BINARIES)&#039;; for p in $$list; do \&lt;br /&gt;
          if test -f $$p; then \&lt;br /&gt;
            echo &amp;quot; $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            echo &amp;quot; $(RANLIB) $(DESTDIR)$(libdir)/$$p&amp;quot;; \&lt;br /&gt;
            $(RANLIB) $(DESTDIR)$(libdir)/$$p; \&lt;br /&gt;
            ....................................&lt;br /&gt;
&lt;br /&gt;
to enforce libTix8.4.so installation into ${exec_prefix}/lib/,&lt;br /&gt;
not into ${exec_prefix}/lib/Tix8.4/&lt;br /&gt;
&lt;br /&gt;
2. Add following fragment to enforce &#039;tixwish&#039; building:&lt;br /&gt;
&lt;br /&gt;
 WISH_OBJS = tixAppInit.o&lt;br /&gt;
 tixwish: $(WISH_OBJS) $(PKG_LIB_FILE)&lt;br /&gt;
        ${CC} ${CFLAGS} ${LDFLAGS} $(WISH_OBJS) -L./ -lTix8.4 -ltk8.4 -ltcl8.4 \&lt;br /&gt;
                $(CC_SEARCH_FLAGS) -o tixwish&lt;br /&gt;
&lt;br /&gt;
3. Add &#039;tixwish&#039; target to the following line:&lt;br /&gt;
&lt;br /&gt;
 binaries: $(BINARIES) pkgIndex.tcl tixwish&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Add &#039;tixwish&#039; line in following fragment:&lt;br /&gt;
&lt;br /&gt;
 install-binaries: binaries install-lib-binaries install-bin-binaries&lt;br /&gt;
        @mkdir -p $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)&lt;br /&gt;
        $(INSTALL_PROGRAM) tixwish $(DESTDIR)$(bindir)&lt;br /&gt;
        ...........................................&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* expect&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 ./configure --prefix=/usr --with-tcl=/usr/lib --with-tclinclude=/usr/local/src/tcl8.4.13/generic --enable-shared&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* blt&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 ./configure \--with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
   --with-tclincls=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-tkincls=/usr/local/src/tk8.4.13/generic \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* symbolic links&lt;br /&gt;
&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
* itcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr &lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:itcl3.3&amp;gt; /usr/bin/tclsh8.4 &lt;br /&gt;
 % package require Itcl&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
* itk&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
  --with-tk=/usr/local/src/tk8.4.13/unix \&lt;br /&gt;
  --with-itcl=/usr/local/src/itcl3.3 \&lt;br /&gt;
  --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10:src&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require Itk&lt;br /&gt;
 3.3&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-dp&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-dp.4.0.b2/unix&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix --prefix=/usr&lt;br /&gt;
 in generic/dpInit.c:&lt;br /&gt;
   /*sergey&lt;br /&gt;
   if (TclHasSockets(interp) != TCL_OK) {&lt;br /&gt;
   return TCL_ERROR;&lt;br /&gt;
   }&lt;br /&gt;
   */&lt;br /&gt;
 gmake&lt;br /&gt;
 ###gmake tests&lt;br /&gt;
 cd ..&lt;br /&gt;
 /usr/bin/wish teki.tcl&lt;br /&gt;
 ###&#039;File | Install&#039;.  Select dp.tek, click &#039;Open&#039;, select &#039;Custom&#039;,&lt;br /&gt;
 choose &#039;Solaris&#039; (or whatever), root directory for code files &#039;/usr/lib/tcl8.4&#039;&lt;br /&gt;
 cd /usr/lib/tcl8.4/dp4.0/library/&lt;br /&gt;
 chmod 755 *&lt;br /&gt;
 All DP scripts&lt;br /&gt;
 should have &amp;quot;package require dp&amp;quot; as their first line which will&lt;br /&gt;
 automatically load the DP module if it has not been loaded already.&lt;br /&gt;
 #test&lt;br /&gt;
 /usr/bin/tclsh8.4&lt;br /&gt;
 %  package require dp&lt;br /&gt;
 4.0&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;&amp;lt; DO NOT DO IT !!! * tcl-debug&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl-debug-2.0&lt;br /&gt;
 ./configure --prefix=/usr --enable-shared --with-tcl=/usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
&lt;br /&gt;
* mysqltcl&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 ./configure --with-tcl=/usr/local/src/tcl8.4.13/unix \&lt;br /&gt;
   --with-tclinclude=/usr/local/src/tcl8.4.13/generic \&lt;br /&gt;
   --with-mysql-include=/usr/include/mysql \&lt;br /&gt;
   --with-mysql-lib=/usr/lib/mysql \&lt;br /&gt;
   --prefix=/usr&lt;br /&gt;
 gmake&lt;br /&gt;
 gmake install&lt;br /&gt;
 #test&lt;br /&gt;
 clon10&amp;gt; /usr/bin/tclsh8.4&lt;br /&gt;
 % package require mysqltcl&lt;br /&gt;
 3.05&lt;br /&gt;
 % exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;When everything is compiled on one machine of particular flavor, run following commands on other machines of the same flavor:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 cd /usr/local/src/tcl8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tk8.4.13/unix&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/tix-8.4.0&lt;br /&gt;
 gmake install&lt;br /&gt;
 cp demos/bitmaps/about.xpm /usr/lib/Tix8.4/bitmaps/&lt;br /&gt;
 cd /usr/local/src/expect-5.43&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/blt2.4z&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itcl3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/itk3.3&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/local/src/mysqltcl-3.05&lt;br /&gt;
 gmake install&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
 ln -s wish8.4 wish&lt;br /&gt;
&lt;br /&gt;
== RHEL5 ==&lt;br /&gt;
&lt;br /&gt;
Install following using &#039;&#039;yum&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 yum install tcl-devel tk-devel tix-8.4.0 expect-5.43&lt;br /&gt;
&lt;br /&gt;
Install following as it described above:&lt;br /&gt;
&lt;br /&gt;
  blt2.4z&lt;br /&gt;
  itcl&lt;br /&gt;
  itk&lt;br /&gt;
  mysqltcl&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=Linux_Customization_on_CLON_Cluster&amp;diff=4939</id>
		<title>Linux Customization on CLON Cluster</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Linux_Customization_on_CLON_Cluster&amp;diff=4939"/>
		<updated>2010-10-01T16:24:32Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Following steps must be performed to complain with CLON Cluster requirements:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Automount&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Include machine name into [[clonfs1]] export list&lt;br /&gt;
&lt;br /&gt;
* Add/Modify [[automounts]]-related files in &#039;/etc&#039; directory (or copy them from similar machine) and symbolic links. Restart automount service:&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/autofs restart&lt;br /&gt;
&lt;br /&gt;
NOTE: To mount temporary &#039;&#039;iso&#039;&#039; images use command:&lt;br /&gt;
&lt;br /&gt;
 mkdir /mnt/isoimage&lt;br /&gt;
 mount -o loop -t iso9660 blablabla.iso /mnt/isoimage&lt;br /&gt;
&lt;br /&gt;
* DO NOT NEED ON RHEL5: perform [[MySQL Installation]]&lt;br /&gt;
&lt;br /&gt;
* Install required [[Tcl/Tk]] packages&lt;br /&gt;
&lt;br /&gt;
* Install required [[PERL]] modules&lt;br /&gt;
&lt;br /&gt;
* DO NOT NEED ON RHEL5: activate [[Ntp]] service (by default it is disabled, at least in RHEL4)&lt;br /&gt;
&lt;br /&gt;
* Proceed with SUN&#039;s [[JAVA installation]] (default one is IBM&#039;s and our stuff is not compiling; besides all Sun machines have Sun&#039;s JAVA and we want to have the same version everywhere).&lt;br /&gt;
&lt;br /&gt;
* install [[UPS (Uninterruptible Power Supplies)]] - related software&lt;br /&gt;
&lt;br /&gt;
* configure printers (see [[Troubleshooting printing]])&lt;br /&gt;
&lt;br /&gt;
* configure [[X server]] if your machine has display(s)&lt;br /&gt;
&lt;br /&gt;
* setup [[Nrpe]]&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=Automounts&amp;diff=4938</id>
		<title>Automounts</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Automounts&amp;diff=4938"/>
		<updated>2010-10-01T16:21:45Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: /* &amp;#039;&amp;#039;&amp;#039;RHEL5&amp;#039;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &#039;&#039;&#039;Solaris&#039;&#039;&#039; == &lt;br /&gt;
&lt;br /&gt;
Solaris automounts on CLON cluster controls by following files:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto_master&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 /-      /etc/auto_direct&lt;br /&gt;
 /-      auto_direct.ep&lt;br /&gt;
 /u      auto.u.ep&lt;br /&gt;
 /w      auto.w.ep&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Specific for mounting Computer Center /w areas at higher speed:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
instead of line&lt;br /&gt;
 /w      auto.w.ep&lt;br /&gt;
&lt;br /&gt;
insert line&lt;br /&gt;
 /w      /etc/auto_stage&lt;br /&gt;
&lt;br /&gt;
and create &#039;&#039;/etc/auto_stage&#039;&#039; file containing following:&lt;br /&gt;
&lt;br /&gt;
 stage0 -rsize=1048576,wsize=1048576 sfs61:/export/stage&lt;br /&gt;
 stage1 -rsize=1048576,wsize=1048576 sfs56:/export/stage&lt;br /&gt;
 stage2 -rsize=1048576,wsize=1048576 sfs59:/export/stage&lt;br /&gt;
 +auto.w.ep&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto_direct&#039;&#039;&#039; (replace &#039;&#039;SunOS_sun4u&#039;&#039; by &#039;&#039;SunOS_i86pc&#039;&#039; for Opteron/Intel-based Solaris machines)&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # auto_direct&lt;br /&gt;
 #&lt;br /&gt;
 #machine-dependent system directories&lt;br /&gt;
 /apps                 -rw,bg     clonfs1:/vol/apps/SunOS_sun4u&lt;br /&gt;
 /usr/local            -rw,bg     clonfs1:/vol/local/SunOS_sun4u&lt;br /&gt;
 #machine-independent system directories&lt;br /&gt;
 /mnt/downloads        -rw,bg     clonfs1:/vol/downloads&lt;br /&gt;
 /home                 -rw,bg     clonfs1:/vol/home&lt;br /&gt;
 /work                 -rw,bg     clonfs1:/vol/work&lt;br /&gt;
 /scratch              -rw,bg     clonfs1:/vol/scratch&lt;br /&gt;
 #machine-independent clas directories&lt;br /&gt;
 /usr/clas             -rw,bg     clonfs1:/vol/clas&lt;br /&gt;
 /mnt/archives         -rw,bg     clonfs1:/vol/archives&lt;br /&gt;
 /mnt/logs             -rw,bg     clonfs1:/vol/logs&lt;br /&gt;
 #&lt;br /&gt;
&lt;br /&gt;
 #some machines are using following mounts from clon10&lt;br /&gt;
 /data                 -rw,bg     clon10:/data&lt;br /&gt;
 /raidold              -rw,bg     clon10:/raidold&lt;br /&gt;
&lt;br /&gt;
 #clon00/clon10 admin clonfs1/clonfs2 mounts&lt;br /&gt;
 /mnt/admin/clonfs2	      -rw,bg  clonfs2:/&lt;br /&gt;
 /mnt/admin/clonfs1            -rw,bg  clonfs1:/&lt;br /&gt;
 /mnt/admin/clonfs1-apps       -rw,bg  clonfs1:/vol/apps&lt;br /&gt;
 /mnt/admin/clonfs1-archives   -rw,bg  clonfs1:/vol/archives&lt;br /&gt;
 /mnt/admin/clonfs1-clas       -rw,bg  clonfs1:/vol/clas&lt;br /&gt;
 /mnt/admin/clonfs1-clonweb    -rw,bg  clonfs1:/vol/clonweb&lt;br /&gt;
 /mnt/admin/clonfs1-clonwiki   -rw,bg  clonfs1:/vol/clonwiki&lt;br /&gt;
 /mnt/admin/clonfs1-downloads  -rw,bg  clonfs1:/vol/downloads&lt;br /&gt;
 /mnt/admin/clonfs1-home       -rw,bg  clonfs1:/vol/home&lt;br /&gt;
 /mnt/admin/clonfs1-local      -rw,bg  clonfs1:/vol/local&lt;br /&gt;
 /mnt/admin/clonfs1-logs       -rw,bg  clonfs1:/vol/logs&lt;br /&gt;
 /mnt/admin/clonfs1-mysql      -rw,bg  clonfs1:/vol/mysql&lt;br /&gt;
 /mnt/admin/clonfs1-scratch    -rw,bg  clonfs1:/vol/scratch&lt;br /&gt;
 /mnt/admin/clonfs1-work       -rw,bg  clonfs1:/vol/work&lt;br /&gt;
 #&lt;br /&gt;
&lt;br /&gt;
It is important to run cronjobs on clon00 to access those directories occationally to keep them mounted, so Nagios can check their free space.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solaris symbolic links&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 cd /&lt;br /&gt;
 ln -s /u/site site&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;RHEL5&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto.master&#039;&#039;&#039;: line &#039;&#039;/misc /etc/auto.misc&#039;&#039; must be there already, add 2 following lines after it&lt;br /&gt;
 /u      yp:auto.u.bb    --timeout 0 -DOSNAME=Linux-RHEL5&lt;br /&gt;
 /w      yp:auto.w.bb -v -d  -g&lt;br /&gt;
and comment out all other lines&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto.misc&#039;&#039;&#039; (replace &#039;&#039;Linux_i686&#039;&#039; by &#039;&#039;Linux_ppc&#039;&#039; or &#039;&#039;Linux_x86_64&#039;&#039; for corresponding machines)&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # auto.misc&lt;br /&gt;
 #&lt;br /&gt;
 cd		-fstype=iso9660,ro,nosuid,nodev	:/dev/cdrom&lt;br /&gt;
 #machine-dependent system directories&lt;br /&gt;
 apps            -rw,bg     clonfs1:/vol/apps/RHEL5_i686&lt;br /&gt;
 local           -rw,bg     clonfs1:/vol/local/RHEL5_i686&lt;br /&gt;
 #machine-independent system directories&lt;br /&gt;
 downloads       -rw,bg     clonfs1:/vol/downloads&lt;br /&gt;
 home            -rw,bg     clonfs1:/vol/home&lt;br /&gt;
 work            -rw,bg     clonfs1:/vol/work&lt;br /&gt;
 scratch         -rw,bg     clonfs1:/vol/scratch&lt;br /&gt;
 #machine-independent clas directories&lt;br /&gt;
 clas            -rw,bg     clonfs1:/vol/clas&lt;br /&gt;
 archives        -rw,bg     clonfs1:/vol/archives&lt;br /&gt;
 logs            -rw,bg     clonfs1:/vol/logs&lt;br /&gt;
 #&lt;br /&gt;
&lt;br /&gt;
 #clonweb only&lt;br /&gt;
 clonweb         -rw,bg     clonfs1:/vol/clonweb&lt;br /&gt;
&lt;br /&gt;
 #clondb1 only&lt;br /&gt;
 mysql         -rw,bg     clonfs1:/vol/mysql&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linux symbolic links&#039;&#039;&#039; (because of Linux automount limitations we cannot do the same as on Solaris, must use symbolic links):&lt;br /&gt;
&lt;br /&gt;
 cd /&lt;br /&gt;
 ln -s /u/site site&lt;br /&gt;
 mv home home.orig&lt;br /&gt;
 mv apps apps.orig&lt;br /&gt;
 ln -s /misc/apps apps&lt;br /&gt;
 ln -s /misc/home home&lt;br /&gt;
 ln -s /misc/work work&lt;br /&gt;
 mv scratch scratch.orig&lt;br /&gt;
 ln -s /misc/scratch scratch&lt;br /&gt;
 ln -s /usr/clas/archives/hist hist&lt;br /&gt;
 cd /usr&lt;br /&gt;
 mv local local.orig&lt;br /&gt;
 ln -s /misc/local local&lt;br /&gt;
 ln -s /misc/clas clas&lt;br /&gt;
 cd /mnt&lt;br /&gt;
 ln -s /misc/logs logs&lt;br /&gt;
 ln -s /misc/archives archives &lt;br /&gt;
&lt;br /&gt;
Run &#039;&#039;/etc/init.d/autofs restart&#039;&#039; (or &#039;&#039;reload&#039;&#039;). Make sure everything is mounted. If does not, reboot the machine.&lt;br /&gt;
&lt;br /&gt;
Make links to the Computer Center stuff in &#039;&#039;/usr/local&#039;&#039; area (only once when first RHEL5 machine of particular flavor is configured):&lt;br /&gt;
 cd /usr/local/bin&lt;br /&gt;
 ln -s /usr/local.orig/bin/jlab-linux-config jlab-linux-config&lt;br /&gt;
 ln -s /usr/local.orig/bin/jlab-satellite-connect jlab-satellite-connect&lt;br /&gt;
 ln -s /usr/local.orig/bin/mkdisk mkdisk&lt;br /&gt;
 ln -s /usr/local.orig/bin/satellite_checkin.pl satellite_checkin.pl&lt;br /&gt;
 ln -s /usr/local.orig/bin/update_crontab update_crontab&lt;br /&gt;
 cd /usr/local/etc&lt;br /&gt;
 ln -s /etc/motd motd&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;RHEL4&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Linux automounts on CLON cluster controls by following files:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto.master&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 /u      auto.u.bb    --timeout 0 -DOSNAME=Linux-RHEL4&lt;br /&gt;
 /w      auto.w.bb -v -d  -g&lt;br /&gt;
 /misc	/etc/auto.misc&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto.misc&#039;&#039;&#039; (replace &#039;&#039;Linux_i686&#039;&#039; by &#039;&#039;Linux_ppc&#039;&#039; or &#039;&#039;Linux_x86_64&#039;&#039; for corresponding machines)&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # auto.misc&lt;br /&gt;
 #&lt;br /&gt;
 cd		-fstype=iso9660,ro,nosuid,nodev	:/dev/cdrom&lt;br /&gt;
 #machine-dependent system directories&lt;br /&gt;
 apps            -rw,bg     clonfs1:/vol/apps/Linux_i686&lt;br /&gt;
 local           -rw,bg     clonfs1:/vol/local/Linux_i686&lt;br /&gt;
 #machine-independent system directories&lt;br /&gt;
 downloads       -rw,bg     clonfs1:/vol/downloads&lt;br /&gt;
 home            -rw,bg     clonfs1:/vol/home&lt;br /&gt;
 work            -rw,bg     clonfs1:/vol/work&lt;br /&gt;
 scratch         -rw,bg     clonfs1:/vol/scratch&lt;br /&gt;
 #machine-independent clas directories&lt;br /&gt;
 clas            -rw,bg     clonfs1:/vol/clas&lt;br /&gt;
 archives        -rw,bg     clonfs1:/vol/archives&lt;br /&gt;
 logs            -rw,bg     clonfs1:/vol/logs&lt;br /&gt;
 #&lt;br /&gt;
&lt;br /&gt;
 #clonweb only&lt;br /&gt;
 clonweb         -rw,bg     clonfs1:/vol/clonweb&lt;br /&gt;
&lt;br /&gt;
 #clondb1 only&lt;br /&gt;
 mysql         -rw,bg     clonfs1:/vol/mysql&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linux symbolic links&#039;&#039;&#039; (because of Linux automount limitations we cannot do the same as on Solaris, must use symbolic links)358-3042,&lt;br /&gt;
&lt;br /&gt;
 cd /&lt;br /&gt;
 ln -s /u/site site&lt;br /&gt;
 mv home home.orig&lt;br /&gt;
 rm -f apps&lt;br /&gt;
 ln -s /misc/apps apps&lt;br /&gt;
 ln -s /misc/home home&lt;br /&gt;
 ln -s /misc/work work&lt;br /&gt;
 ln -s /misc/scratch scratch&lt;br /&gt;
 ln -s /usr/clas/archives/hist hist&lt;br /&gt;
 cd /usr&lt;br /&gt;
 mv local local.orig&lt;br /&gt;
 ln -s /misc/local local&lt;br /&gt;
 ln -s /misc/clas clas&lt;br /&gt;
 cd /mnt&lt;br /&gt;
 ln -s /misc/logs logs&lt;br /&gt;
 ln -s /misc/archives archives&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=Automounts&amp;diff=4937</id>
		<title>Automounts</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Automounts&amp;diff=4937"/>
		<updated>2010-10-01T16:17:35Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: /* &amp;#039;&amp;#039;&amp;#039;RHEL5&amp;#039;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &#039;&#039;&#039;Solaris&#039;&#039;&#039; == &lt;br /&gt;
&lt;br /&gt;
Solaris automounts on CLON cluster controls by following files:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto_master&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 /-      /etc/auto_direct&lt;br /&gt;
 /-      auto_direct.ep&lt;br /&gt;
 /u      auto.u.ep&lt;br /&gt;
 /w      auto.w.ep&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Specific for mounting Computer Center /w areas at higher speed:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
instead of line&lt;br /&gt;
 /w      auto.w.ep&lt;br /&gt;
&lt;br /&gt;
insert line&lt;br /&gt;
 /w      /etc/auto_stage&lt;br /&gt;
&lt;br /&gt;
and create &#039;&#039;/etc/auto_stage&#039;&#039; file containing following:&lt;br /&gt;
&lt;br /&gt;
 stage0 -rsize=1048576,wsize=1048576 sfs61:/export/stage&lt;br /&gt;
 stage1 -rsize=1048576,wsize=1048576 sfs56:/export/stage&lt;br /&gt;
 stage2 -rsize=1048576,wsize=1048576 sfs59:/export/stage&lt;br /&gt;
 +auto.w.ep&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto_direct&#039;&#039;&#039; (replace &#039;&#039;SunOS_sun4u&#039;&#039; by &#039;&#039;SunOS_i86pc&#039;&#039; for Opteron/Intel-based Solaris machines)&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # auto_direct&lt;br /&gt;
 #&lt;br /&gt;
 #machine-dependent system directories&lt;br /&gt;
 /apps                 -rw,bg     clonfs1:/vol/apps/SunOS_sun4u&lt;br /&gt;
 /usr/local            -rw,bg     clonfs1:/vol/local/SunOS_sun4u&lt;br /&gt;
 #machine-independent system directories&lt;br /&gt;
 /mnt/downloads        -rw,bg     clonfs1:/vol/downloads&lt;br /&gt;
 /home                 -rw,bg     clonfs1:/vol/home&lt;br /&gt;
 /work                 -rw,bg     clonfs1:/vol/work&lt;br /&gt;
 /scratch              -rw,bg     clonfs1:/vol/scratch&lt;br /&gt;
 #machine-independent clas directories&lt;br /&gt;
 /usr/clas             -rw,bg     clonfs1:/vol/clas&lt;br /&gt;
 /mnt/archives         -rw,bg     clonfs1:/vol/archives&lt;br /&gt;
 /mnt/logs             -rw,bg     clonfs1:/vol/logs&lt;br /&gt;
 #&lt;br /&gt;
&lt;br /&gt;
 #some machines are using following mounts from clon10&lt;br /&gt;
 /data                 -rw,bg     clon10:/data&lt;br /&gt;
 /raidold              -rw,bg     clon10:/raidold&lt;br /&gt;
&lt;br /&gt;
 #clon00/clon10 admin clonfs1/clonfs2 mounts&lt;br /&gt;
 /mnt/admin/clonfs2	      -rw,bg  clonfs2:/&lt;br /&gt;
 /mnt/admin/clonfs1            -rw,bg  clonfs1:/&lt;br /&gt;
 /mnt/admin/clonfs1-apps       -rw,bg  clonfs1:/vol/apps&lt;br /&gt;
 /mnt/admin/clonfs1-archives   -rw,bg  clonfs1:/vol/archives&lt;br /&gt;
 /mnt/admin/clonfs1-clas       -rw,bg  clonfs1:/vol/clas&lt;br /&gt;
 /mnt/admin/clonfs1-clonweb    -rw,bg  clonfs1:/vol/clonweb&lt;br /&gt;
 /mnt/admin/clonfs1-clonwiki   -rw,bg  clonfs1:/vol/clonwiki&lt;br /&gt;
 /mnt/admin/clonfs1-downloads  -rw,bg  clonfs1:/vol/downloads&lt;br /&gt;
 /mnt/admin/clonfs1-home       -rw,bg  clonfs1:/vol/home&lt;br /&gt;
 /mnt/admin/clonfs1-local      -rw,bg  clonfs1:/vol/local&lt;br /&gt;
 /mnt/admin/clonfs1-logs       -rw,bg  clonfs1:/vol/logs&lt;br /&gt;
 /mnt/admin/clonfs1-mysql      -rw,bg  clonfs1:/vol/mysql&lt;br /&gt;
 /mnt/admin/clonfs1-scratch    -rw,bg  clonfs1:/vol/scratch&lt;br /&gt;
 /mnt/admin/clonfs1-work       -rw,bg  clonfs1:/vol/work&lt;br /&gt;
 #&lt;br /&gt;
&lt;br /&gt;
It is important to run cronjobs on clon00 to access those directories occationally to keep them mounted, so Nagios can check their free space.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solaris symbolic links&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 cd /&lt;br /&gt;
 ln -s /u/site site&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;RHEL5&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto.master&#039;&#039;&#039;: line &#039;&#039;/misc /etc/auto.misc&#039;&#039; must be there already, add 2 following lines after it&lt;br /&gt;
 /u      yp:auto.u.bb    --timeout 0 -DOSNAME=Linux-RHEL5&lt;br /&gt;
 /w      yp:auto.w.bb -v -d  -g&lt;br /&gt;
and comment out all other lines&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto.misc&#039;&#039;&#039; (replace &#039;&#039;Linux_i686&#039;&#039; by &#039;&#039;Linux_ppc&#039;&#039; or &#039;&#039;Linux_x86_64&#039;&#039; for corresponding machines)&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # auto.misc&lt;br /&gt;
 #&lt;br /&gt;
 cd		-fstype=iso9660,ro,nosuid,nodev	:/dev/cdrom&lt;br /&gt;
 #machine-dependent system directories&lt;br /&gt;
 apps            -rw,bg     clonfs1:/vol/apps/RHEL5_i686&lt;br /&gt;
 local           -rw,bg     clonfs1:/vol/local/RHEL5_i686&lt;br /&gt;
 #machine-independent system directories&lt;br /&gt;
 downloads       -rw,bg     clonfs1:/vol/downloads&lt;br /&gt;
 home            -rw,bg     clonfs1:/vol/home&lt;br /&gt;
 work            -rw,bg     clonfs1:/vol/work&lt;br /&gt;
 scratch         -rw,bg     clonfs1:/vol/scratch&lt;br /&gt;
 #machine-independent clas directories&lt;br /&gt;
 clas            -rw,bg     clonfs1:/vol/clas&lt;br /&gt;
 archives        -rw,bg     clonfs1:/vol/archives&lt;br /&gt;
 logs            -rw,bg     clonfs1:/vol/logs&lt;br /&gt;
 #&lt;br /&gt;
&lt;br /&gt;
 #clonweb only&lt;br /&gt;
 clonweb         -rw,bg     clonfs1:/vol/clonweb&lt;br /&gt;
&lt;br /&gt;
 #clondb1 only&lt;br /&gt;
 mysql         -rw,bg     clonfs1:/vol/mysql&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linux symbolic links&#039;&#039;&#039; (because of Linux automount limitations we cannot do the same as on Solaris, must use symbolic links):&lt;br /&gt;
&lt;br /&gt;
 cd /&lt;br /&gt;
 ln -s /u/site site&lt;br /&gt;
 mv home home.orig&lt;br /&gt;
 mv apps apps.orig&lt;br /&gt;
 ln -s /misc/apps apps&lt;br /&gt;
 ln -s /misc/home home&lt;br /&gt;
 ln -s /misc/work work&lt;br /&gt;
 ln -s /misc/scratch scratch&lt;br /&gt;
 ln -s /usr/clas/archives/hist hist&lt;br /&gt;
 cd /usr&lt;br /&gt;
 mv local local.orig&lt;br /&gt;
 ln -s /misc/local local&lt;br /&gt;
 ln -s /misc/clas clas&lt;br /&gt;
 cd /mnt&lt;br /&gt;
 ln -s /misc/logs logs&lt;br /&gt;
 ln -s /misc/archives archives &lt;br /&gt;
&lt;br /&gt;
Run &#039;&#039;/etc/init.d/autofs restart&#039;&#039; (or &#039;&#039;reload&#039;&#039;). Make sure everything is mounted. If does not, reboot the machine.&lt;br /&gt;
&lt;br /&gt;
Make links to the Computer Center stuff in &#039;&#039;/usr/local&#039;&#039; area (only once when first RHEL5 machine of particular flavor is configured):&lt;br /&gt;
 cd /usr/local/bin&lt;br /&gt;
 ln -s /usr/local.orig/bin/jlab-linux-config jlab-linux-config&lt;br /&gt;
 ln -s /usr/local.orig/bin/jlab-satellite-connect jlab-satellite-connect&lt;br /&gt;
 ln -s /usr/local.orig/bin/mkdisk mkdisk&lt;br /&gt;
 ln -s /usr/local.orig/bin/satellite_checkin.pl satellite_checkin.pl&lt;br /&gt;
 ln -s /usr/local.orig/bin/update_crontab update_crontab&lt;br /&gt;
 cd /usr/local/etc&lt;br /&gt;
 ln -s /etc/motd motd&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;RHEL4&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Linux automounts on CLON cluster controls by following files:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto.master&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 /u      auto.u.bb    --timeout 0 -DOSNAME=Linux-RHEL4&lt;br /&gt;
 /w      auto.w.bb -v -d  -g&lt;br /&gt;
 /misc	/etc/auto.misc&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/etc/auto.misc&#039;&#039;&#039; (replace &#039;&#039;Linux_i686&#039;&#039; by &#039;&#039;Linux_ppc&#039;&#039; or &#039;&#039;Linux_x86_64&#039;&#039; for corresponding machines)&lt;br /&gt;
&lt;br /&gt;
 #&lt;br /&gt;
 # auto.misc&lt;br /&gt;
 #&lt;br /&gt;
 cd		-fstype=iso9660,ro,nosuid,nodev	:/dev/cdrom&lt;br /&gt;
 #machine-dependent system directories&lt;br /&gt;
 apps            -rw,bg     clonfs1:/vol/apps/Linux_i686&lt;br /&gt;
 local           -rw,bg     clonfs1:/vol/local/Linux_i686&lt;br /&gt;
 #machine-independent system directories&lt;br /&gt;
 downloads       -rw,bg     clonfs1:/vol/downloads&lt;br /&gt;
 home            -rw,bg     clonfs1:/vol/home&lt;br /&gt;
 work            -rw,bg     clonfs1:/vol/work&lt;br /&gt;
 scratch         -rw,bg     clonfs1:/vol/scratch&lt;br /&gt;
 #machine-independent clas directories&lt;br /&gt;
 clas            -rw,bg     clonfs1:/vol/clas&lt;br /&gt;
 archives        -rw,bg     clonfs1:/vol/archives&lt;br /&gt;
 logs            -rw,bg     clonfs1:/vol/logs&lt;br /&gt;
 #&lt;br /&gt;
&lt;br /&gt;
 #clonweb only&lt;br /&gt;
 clonweb         -rw,bg     clonfs1:/vol/clonweb&lt;br /&gt;
&lt;br /&gt;
 #clondb1 only&lt;br /&gt;
 mysql         -rw,bg     clonfs1:/vol/mysql&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linux symbolic links&#039;&#039;&#039; (because of Linux automount limitations we cannot do the same as on Solaris, must use symbolic links)358-3042,&lt;br /&gt;
&lt;br /&gt;
 cd /&lt;br /&gt;
 ln -s /u/site site&lt;br /&gt;
 mv home home.orig&lt;br /&gt;
 rm -f apps&lt;br /&gt;
 ln -s /misc/apps apps&lt;br /&gt;
 ln -s /misc/home home&lt;br /&gt;
 ln -s /misc/work work&lt;br /&gt;
 ln -s /misc/scratch scratch&lt;br /&gt;
 ln -s /usr/clas/archives/hist hist&lt;br /&gt;
 cd /usr&lt;br /&gt;
 mv local local.orig&lt;br /&gt;
 ln -s /misc/local local&lt;br /&gt;
 ln -s /misc/clas clas&lt;br /&gt;
 cd /mnt&lt;br /&gt;
 ln -s /misc/logs logs&lt;br /&gt;
 ln -s /misc/archives archives&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=Linux_Installation_Procedure&amp;diff=4936</id>
		<title>Linux Installation Procedure</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Linux_Installation_Procedure&amp;diff=4936"/>
		<updated>2010-10-01T16:07:38Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: /* RHEL5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RHEL5 ==&lt;br /&gt;
&lt;br /&gt;
Installed using CD provided by Computer Center. Requires MAC address to be registered with Computer Center (email to helpdesk@jlab.org) because it is network-based installation.&lt;br /&gt;
&lt;br /&gt;
Dialog:&lt;br /&gt;
&lt;br /&gt;
* boot: &amp;lt;enter&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ...[D]esktop: Server (it is ignored, will do Desktop anyway ...)&lt;br /&gt;
&lt;br /&gt;
* root password: enter root password&lt;br /&gt;
&lt;br /&gt;
* system user: &amp;lt;enter&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* manually partition disk: 100MB /boot, 2048 etc MB swap, the rest /.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CFENGINE&#039;&#039;&#039;: there are procesess restoring some system config files (in particular &#039;&#039;/etc/ssh/sshd_config&#039;&#039;) in according to the Computer Center - maintained templete. To shut them down comment out &#039;&#039;cfengine&#039;&#039;-related stuff in root cronjobs and do &#039;&#039;/etc/init.d/cfengine stop&#039;&#039;. Ask CC (Sherman White, Paul Letta) to fix templete.&lt;br /&gt;
&lt;br /&gt;
Run &#039;&#039;/usr/bin/system-config-authentication&#039;&#039; and set NIS servers list as &#039;&#039;clon00,clon10,nis1&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Add following in the end of &#039;&#039;/etc/passwd&#039;&#039;:&lt;br /&gt;
 clasrun:x:2508:9998:Online DAQ:/home/clasrun:/bin/tcsh&lt;br /&gt;
 clascron:x:6005:146:CLAS Cron Jobs:/home/clascron:/bin/tcsh&lt;br /&gt;
 nagios:x:6246:9997:Nagios:/home/nagios:/bin/tcsh&lt;br /&gt;
 +@clon_cluster::::::&lt;br /&gt;
 +@ccc::::::&lt;br /&gt;
&lt;br /&gt;
Add following in the end of &#039;&#039;/etc/group&#039;&#039;:&lt;br /&gt;
 perl::9999:freyberg&lt;br /&gt;
 onliners::9998:heyes,hujl,rwm,timmer,wolin,taylorw,cuevas,abbottd,abulafia,anciant,anghi,aswin,auger,avakian,banta,barrow,battagli,bjlee,bogdan,brooksw,bruhwel,boiarino,buckle,burchesk,burin,bzh,cetina,chen,cole,cords,corvi,costy,davidl,costy,davidl,dcarter,dcurry,dennisl,deppman,dhlee,doughty,drago,dytman,dugger,dugger,elton,fedro,ficenec,fklein,france,freyberg,gholden,gilfoyle,golovach,gurjyan,haddock,heddle,jenkins,jhardie,jmorris,kellyk,klusman,kmkim,kossov,lcsmith,longhi,manak,marchand,marki,mastersj,mjohnson,mosbackr,mueller,muguira,murphyl,necaise,odonnell,opper,parkkj,pasyuk,phkim,piot,riccardi,richardt,ripani,rossi,saw,sergpozd,serov,sholt,staylor,taiuti,tang,tedeschi,vineyard,vlassov,vvsap,weygand,wooyoung,burchesk,clasrun,giovanet,clasboot,clascoda,clasroot,clasmail,clascron,trigger,epics,southern,carstens,ccutter,danagu,heyes,huertas,jacobsg,kliv,lachniet,mestayer,primex,nerses&lt;br /&gt;
 clon::383:clascoda,clascron,clasmail&lt;br /&gt;
 nagios::9997:nagios&lt;br /&gt;
&lt;br /&gt;
Create &#039;&#039;/etc/shadow&#039;&#039; files with entries for users clasrun, epics and nagios (copy from another machine).&lt;br /&gt;
&lt;br /&gt;
Install updates: normally all updates should be installed by now, it can be done manually by commands&lt;br /&gt;
 yum list updates&lt;br /&gt;
 yum update&lt;br /&gt;
&lt;br /&gt;
Configure [[SSH]].&lt;br /&gt;
&lt;br /&gt;
Install missing packages:&lt;br /&gt;
 yum install openmotif-devel xinetd&lt;br /&gt;
&lt;br /&gt;
Some additional packages on request (for EPICS):&lt;br /&gt;
&lt;br /&gt;
 yum install mc lapack lapack-devel blas blas-devel giflib-devel&lt;br /&gt;
&lt;br /&gt;
Proceed to the [[Linux Customization on CLON Cluster]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PROBLEMS&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
1. /usr/lib/libg2c.so link is missing&lt;br /&gt;
&lt;br /&gt;
FIXED ??? 2. /usr/lib/libXm.so link is missing&lt;br /&gt;
&lt;br /&gt;
3. Created /etc/shadow file for clasrun, epics and nagios&lt;br /&gt;
&lt;br /&gt;
== RHEL4 ==&lt;br /&gt;
&lt;br /&gt;
Get RHEL4 CDs from Paul Letta.&lt;br /&gt;
&lt;br /&gt;
Connect terminal, keyboard and mouse.&lt;br /&gt;
&lt;br /&gt;
Boot from CD1. Follow instructions. When asked, choose following options:&lt;br /&gt;
&lt;br /&gt;
* Choose &#039;Manually partition with Disk Druid&#039;, set /boot to 100MB, then / to 40GB, then swap to 8192MB or at least double memory size. The rest of disk can be set as /space.&lt;br /&gt;
&lt;br /&gt;
* Network: choose manually, type clonpc2.jlab.org; click &#039;EDIT&#039;, deactivate &#039;Configure using DHCP&#039;,&lt;br /&gt;
type IP address and netmask (255.255.255.0), click Ok.&lt;br /&gt;
Type Gateway (for example 129.57.167.99) and 3 DNS servers (129.57.167.5,129.57.167.14,129.57.32.100).&lt;br /&gt;
&lt;br /&gt;
* Choose &#039;No firewall&#039;&lt;br /&gt;
&lt;br /&gt;
* Disable &#039;SELinux&#039;&lt;br /&gt;
&lt;br /&gt;
* Choose &#039;Customize software packages to be installed&#039;, click &#039;Everything&#039;.&lt;br /&gt;
&lt;br /&gt;
You will be asked to install CD2, CD3 and CD4, then CD1 again.&lt;br /&gt;
Then you will be asked to click &#039;Reboot&#039;. First remove CD, then click &#039;Reboot&#039;.&lt;br /&gt;
You will be asked few more questions. When asked to activate service, choose&lt;br /&gt;
&#039;Tell me why I need to register ..&#039; and click &#039;Next&#039;. Choose &#039;I can not complete registration ..&#039;&lt;br /&gt;
and click &#039;Next&#039;. You will see &#039;System user&#039; screen, click &#039;Use network login..&#039;.&lt;br /&gt;
Choose &#039;Enable NIS support&#039; and click &#039;Configure NIS&#039;. Type NIS Domain: &#039;CCCHP&#039; and NIS Server: clon00.jlab.org.&lt;br /&gt;
Finish installation process.&lt;br /&gt;
&lt;br /&gt;
* fix files &#039;&#039;/etc/passwd&#039;&#039;, &#039;&#039;/etc/shadow&#039;&#039; and &#039;&#039;/etc/group&#039;&#039; adding clasrun etc (see examples on another machines).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: if machine has multiple network ports, Linux may not assign them properly to specified IP names and addresses. If problem occures, open network GUI and delete all existing records. After that, click &#039;&#039;New&#039;&#039; and pick hadrware port you want to configure from the list of available ports (tricky part is to know which RJ-45 connector corresponds to which port ..). Configure and activate it, make sure it works. Repeat for other ports. Results will be stored in directory &#039;&#039;/etc/sysconfig/network-scripts&#039;&#039;, file names will be &#039;&#039;ifcfg-eth0&#039;&#039;, &#039;&#039;ifcfg-eth1&#039;&#039; etc. If modifying those files manually, restart network by &#039;&#039;/etc/init.d/network restart&#039;&#039;. Finally, set routing, for example for &#039;&#039;clonmon&#039;&#039; command &#039;&#039;route -n&#039;&#039; shows following:&lt;br /&gt;
 Kernel IP routing table&lt;br /&gt;
 Destination     Gateway         Genmask         Flags Metric Ref    Use Iface&lt;br /&gt;
 129.57.160.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1&lt;br /&gt;
 129.57.68.0     0.0.0.0         255.255.255.0   U     0      0        0 eth3&lt;br /&gt;
 129.57.69.0     0.0.0.0         255.255.255.0   U     0      0        0 dev5937&lt;br /&gt;
 129.57.64.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0&lt;br /&gt;
 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth3&lt;br /&gt;
 0.0.0.0         129.57.68.100   0.0.0.0         UG    0      0        0 eth3&lt;br /&gt;
Run following commands:&lt;br /&gt;
 /sbin/route add -net 129.57.160.0 netmask 255.255.255.0 gw 129.57.160.5 dev eth1&lt;br /&gt;
 /sbin/route add -net 129.57.68.0 netmask 255.255.255.0 gw 129.57.68.26 dev eth3&lt;br /&gt;
 /sbin/route add -net 129.57.69.0 netmask 255.255.255.0 gw 129.57.69.206 dev dev5937&lt;br /&gt;
 /sbin/route add -net 129.57.64.0 netmask 255.255.255.0 gw 129.57.64.57 dev eth0&lt;br /&gt;
Now &#039;&#039;route -n&#039;&#039; shows following:&lt;br /&gt;
 Kernel IP routing table&lt;br /&gt;
 Destination     Gateway         Genmask         Flags Metric Ref    Use Iface&lt;br /&gt;
 129.57.160.0    129.57.160.5    255.255.255.0   UG    0      0        0 eth1&lt;br /&gt;
 129.57.160.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1&lt;br /&gt;
 129.57.68.0     129.57.68.26    255.255.255.0   UG    0      0        0 eth3&lt;br /&gt;
 129.57.68.0     0.0.0.0         255.255.255.0   U     0      0        0 eth3&lt;br /&gt;
 129.57.69.0     129.57.69.206   255.255.255.0   UG    0      0        0 dev5937&lt;br /&gt;
 129.57.69.0     0.0.0.0         255.255.255.0   U     0      0        0 dev5937&lt;br /&gt;
 129.57.64.0     129.57.64.57    255.255.255.0   UG    0      0        0 eth0&lt;br /&gt;
 129.57.64.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0&lt;br /&gt;
 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth3&lt;br /&gt;
 0.0.0.0         129.57.68.100   0.0.0.0         UG    0      0        0 eth3&lt;br /&gt;
In that example automount will do configured using &#039;&#039;clonmon-daq1&#039;&#039; interface, because default &#039;&#039;clonmon&#039;&#039; interface is on external subnet. To make that routing table permanent (retore it after reboot) I tried to add four files with following contents to the &#039;&#039;/etc/sysconfig/network-scripts&#039;&#039; directory:&lt;br /&gt;
 route-eth1:&lt;br /&gt;
   GATEWAY0=129.57.160.5&lt;br /&gt;
   NETMASK0=255.255.255.0&lt;br /&gt;
   ADDRESS0=129.57.160.0&lt;br /&gt;
 route-eth3:&lt;br /&gt;
   GATEWAY0=129.57.68.26&lt;br /&gt;
   NETMASK0=255.255.255.0&lt;br /&gt;
   ADDRESS0=129.57.68.0&lt;br /&gt;
 route-dev5937:&lt;br /&gt;
   GATEWAY0=129.57.69.206&lt;br /&gt;
   NETMASK0=255.255.255.0&lt;br /&gt;
   ADDRESS0=129.57.69.0&lt;br /&gt;
 route-eth0:&lt;br /&gt;
   GATEWAY0=129.57.64.57&lt;br /&gt;
   NETMASK0=255.255.255.0&lt;br /&gt;
   ADDRESS0=129.57.64.0&lt;br /&gt;
It did not worked. Then I added four &#039;&#039;/sbin/route add ..&#039;&#039; lines to &#039;&#039;/etc/rc.local&#039;&#039; script, and it worked.&lt;br /&gt;
&lt;br /&gt;
From now on you can use remote &#039;ssh&#039; connection.&lt;br /&gt;
&lt;br /&gt;
* To configure your system to use the patch server, issue the following commands as root:&lt;br /&gt;
 # mount jlabsite:/site /mnt&lt;br /&gt;
 # /mnt/CC/linux/satellite-connect --patchall&lt;br /&gt;
The script will prompt you for an activation key, but if you don&#039;t know what this is, just hit ENTER and it will use a sensible default.  Depending on how many patches need to be applied to your system to bring it up to the current level, this script may take a very long time to run.  When it finishes, you should reboot your machine to make the new patches take effect.&lt;br /&gt;
&lt;br /&gt;
To install updates later run &#039;&#039;up2date -uf&#039;&#039; as &#039;&#039;root&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Configure [[SSH]].&lt;br /&gt;
&lt;br /&gt;
* Proceed with [[Linux Customization on CLON Cluster]] if applicable.&lt;br /&gt;
&lt;br /&gt;
To boot Linux in single user mode (no graphics), add &#039;&#039;single&#039;&#039; to the end of boot line during boot process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;background info&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Add startup script&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Create script in &#039;&#039;/etc/init.d/&#039;&#039; directory (use existing scripts as example). Must have a line like&lt;br /&gt;
 # chkconfig:	- 91 09&lt;br /&gt;
which specifies start and stop order. Run commands&lt;br /&gt;
 chkconfig --add &amp;lt;scriptname&amp;gt;&lt;br /&gt;
 chkconfig --level 3 &amp;lt;scriptname&amp;gt; on&lt;br /&gt;
for every level you want that script to be executed (usualy 3 and/or 4 and/or 5). Check if it os done using command&lt;br /&gt;
 chkconfig --list | grep &amp;lt;scriptname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;xxx&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose to download the RHEL operating system directly from the Red Hat Web site and not receive a media kit from HP containing the software. This scenario occurs when the media option AJR is deselected from the order. (The media kit option is always selected by default. )&lt;br /&gt;
&lt;br /&gt;
It is necessary to register at the Red Hat Web site prior to download. Registration requires the activation code that each customer receives from HP when ordering either RHEL.&lt;br /&gt;
&lt;br /&gt;
You can download RHEL for each available platform as four CD ISO images or one DVD ISO image.&lt;br /&gt;
&lt;br /&gt;
Use the following procedure to download RHEL and create the installation media:&lt;br /&gt;
&lt;br /&gt;
   1.&lt;br /&gt;
&lt;br /&gt;
      Register and log in at the following Red Hat Web site:&lt;br /&gt;
&lt;br /&gt;
      www.redhat.com/rhn&lt;br /&gt;
   2.&lt;br /&gt;
&lt;br /&gt;
      Click on channels and then select Red Hat Enterprise Linux ES (v.4 for 64–bit Intel Itanium).&lt;br /&gt;
   3.&lt;br /&gt;
&lt;br /&gt;
      Select Downloads and then download the ISO images of install, compatibility and source disks&lt;br /&gt;
&lt;br /&gt;
      Files with ia64 in the name are for the Itanium platform.&lt;br /&gt;
   4.&lt;br /&gt;
&lt;br /&gt;
      Create the CDs or a DVD from the ISO images.&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
	IMPORTANT: Create the CDs or DVD using the contents of the ISO images. Do not create the CDs or DVD by burning the .iso files themselves to CD or DVD. For example, if you are using K3b to burn a CD, click Tools&amp;gt;CD&amp;gt;Burn CD Image, select the .iso image, then click Burn.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Bootup scripts&#039;&#039;&#039; for example for level 5 execution (multiuser with X):&lt;br /&gt;
&lt;br /&gt;
 cp &amp;lt;script-file&amp;gt; /etc/init.d/&lt;br /&gt;
 chmod +x /etc/init.d/&amp;lt;script-file&amp;gt;&lt;br /&gt;
 ln -s /etc/init.d/&amp;lt;scriptfile&amp;gt; /etc/rc.d/rc5.d/S50&amp;lt;scriptfile&amp;gt;&lt;br /&gt;
 ln -s /etc/init.d/&amp;lt;scriptfile&amp;gt; /etc/rc.d/rc5.d/K50&amp;lt;scriptfile&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Changing hostname/IP address&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 Changing hostname on RHEL&lt;br /&gt;
 1. Change the HOSTNAME line in /etc/sysconfig/network&lt;br /&gt;
 2. Change the hostname (FQDN and alias) in /etc/hosts&lt;br /&gt;
 3. Run &#039;/bin/hostname new_hostname&#039; for the hostname change to take effect immediately.&lt;br /&gt;
 4. Run &#039;/sbin/service syslog restart&#039; for syslog to log using the new hostname.&lt;br /&gt;
 A reboot is not required to change the system hostname.&lt;br /&gt;
&lt;br /&gt;
 IP address: You have to change the IP address entry in&lt;br /&gt;
 /etc/sysconfig/network-scripts/ifcfg-eth0.&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=Linux_Installation_Procedure&amp;diff=4935</id>
		<title>Linux Installation Procedure</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Linux_Installation_Procedure&amp;diff=4935"/>
		<updated>2010-10-01T16:05:22Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: /* RHEL5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RHEL5 ==&lt;br /&gt;
&lt;br /&gt;
Installed using CD provided by Computer Center. Requires MAC address to be registered with Computer Center (email to helpdesk@jlab.org) because it is network-based installation.&lt;br /&gt;
&lt;br /&gt;
Dialog:&lt;br /&gt;
&lt;br /&gt;
* boot: &amp;lt;enter&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ...[D]esktop: Server (it is ignored, will do Desktop anyway ...)&lt;br /&gt;
&lt;br /&gt;
* root password: enter root password&lt;br /&gt;
&lt;br /&gt;
* system user: &amp;lt;enter&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* manually partition disk: 100MB /boot, 2048 etc MB swap, the rest /.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CFENGINE&#039;&#039;&#039;: there are procesess restoring some system config files (in particular &#039;&#039;/etc/ssh/sshd_config&#039;&#039;) in according to the Computer Center - maintained templete. To shut them down comment out &#039;&#039;cfengine&#039;&#039;-related stuff in root cronjobs and do &#039;&#039;/etc/init.d/cfengine stop&#039;&#039;. Ask CC (Sherman White, Paul Letta) to fix templete.&lt;br /&gt;
&lt;br /&gt;
Run &#039;&#039;/usr/bin/system-config-authentication&#039;&#039; and set NIS servers list as &#039;&#039;clon00,clon10,nis1&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Add following in the end of &#039;&#039;/etc/passwd&#039;&#039;:&lt;br /&gt;
 clasrun:x:2508:9998:Online DAQ:/home/clasrun:/bin/tcsh&lt;br /&gt;
 clascron:x:6005:146:CLAS Cron Jobs:/home/clascron:/bin/tcsh&lt;br /&gt;
 nagios:x:6246:9997:Nagios:/home/nagios:/bin/tcsh&lt;br /&gt;
 +@clon_cluster::::::&lt;br /&gt;
 +@ccc::::::&lt;br /&gt;
&lt;br /&gt;
Add following in the end of &#039;&#039;/etc/group&#039;&#039;:&lt;br /&gt;
 perl::9999:freyberg&lt;br /&gt;
 onliners::9998:heyes,hujl,rwm,timmer,wolin,taylorw,cuevas,abbottd,abulafia,anciant,anghi,aswin,auger,avakian,banta,barrow,battagli,bjlee,bogdan,brooksw,bruhwel,boiarino,buckle,burchesk,burin,bzh,cetina,chen,cole,cords,corvi,costy,davidl,costy,davidl,dcarter,dcurry,dennisl,deppman,dhlee,doughty,drago,dytman,dugger,dugger,elton,fedro,ficenec,fklein,france,freyberg,gholden,gilfoyle,golovach,gurjyan,haddock,heddle,jenkins,jhardie,jmorris,kellyk,klusman,kmkim,kossov,lcsmith,longhi,manak,marchand,marki,mastersj,mjohnson,mosbackr,mueller,muguira,murphyl,necaise,odonnell,opper,parkkj,pasyuk,phkim,piot,riccardi,richardt,ripani,rossi,saw,sergpozd,serov,sholt,staylor,taiuti,tang,tedeschi,vineyard,vlassov,vvsap,weygand,wooyoung,burchesk,clasrun,giovanet,clasboot,clascoda,clasroot,clasmail,clascron,trigger,epics,southern,carstens,ccutter,danagu,heyes,huertas,jacobsg,kliv,lachniet,mestayer,primex,nerses&lt;br /&gt;
 clon::383:clascoda,clascron,clasmail&lt;br /&gt;
 nagios::9997:nagios&lt;br /&gt;
&lt;br /&gt;
Create &#039;&#039;/etc/shadow&#039;&#039; files with entries for users clasrun, epics and nagios (copy from another machine).&lt;br /&gt;
&lt;br /&gt;
Install updates: normally all updates should be installed by now, it can be done manually by commands&lt;br /&gt;
 yum list updates&lt;br /&gt;
 yum update&lt;br /&gt;
&lt;br /&gt;
Configure [[SSH]].&lt;br /&gt;
&lt;br /&gt;
Install missing packages:&lt;br /&gt;
 yum install openmotif-devel&lt;br /&gt;
 yum install xinetd&lt;br /&gt;
&lt;br /&gt;
Some additional packages on request (for EPICS):&lt;br /&gt;
&lt;br /&gt;
 yum install mc lapack lapack-devel blas blas-devel giflib-devel&lt;br /&gt;
&lt;br /&gt;
Proceed to the [[Linux Customization on CLON Cluster]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PROBLEMS&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
1. /usr/lib/libg2c.so link is missing&lt;br /&gt;
&lt;br /&gt;
FIXED ??? 2. /usr/lib/libXm.so link is missing&lt;br /&gt;
&lt;br /&gt;
3. Created /etc/shadow file for clasrun, epics and nagios&lt;br /&gt;
&lt;br /&gt;
== RHEL4 ==&lt;br /&gt;
&lt;br /&gt;
Get RHEL4 CDs from Paul Letta.&lt;br /&gt;
&lt;br /&gt;
Connect terminal, keyboard and mouse.&lt;br /&gt;
&lt;br /&gt;
Boot from CD1. Follow instructions. When asked, choose following options:&lt;br /&gt;
&lt;br /&gt;
* Choose &#039;Manually partition with Disk Druid&#039;, set /boot to 100MB, then / to 40GB, then swap to 8192MB or at least double memory size. The rest of disk can be set as /space.&lt;br /&gt;
&lt;br /&gt;
* Network: choose manually, type clonpc2.jlab.org; click &#039;EDIT&#039;, deactivate &#039;Configure using DHCP&#039;,&lt;br /&gt;
type IP address and netmask (255.255.255.0), click Ok.&lt;br /&gt;
Type Gateway (for example 129.57.167.99) and 3 DNS servers (129.57.167.5,129.57.167.14,129.57.32.100).&lt;br /&gt;
&lt;br /&gt;
* Choose &#039;No firewall&#039;&lt;br /&gt;
&lt;br /&gt;
* Disable &#039;SELinux&#039;&lt;br /&gt;
&lt;br /&gt;
* Choose &#039;Customize software packages to be installed&#039;, click &#039;Everything&#039;.&lt;br /&gt;
&lt;br /&gt;
You will be asked to install CD2, CD3 and CD4, then CD1 again.&lt;br /&gt;
Then you will be asked to click &#039;Reboot&#039;. First remove CD, then click &#039;Reboot&#039;.&lt;br /&gt;
You will be asked few more questions. When asked to activate service, choose&lt;br /&gt;
&#039;Tell me why I need to register ..&#039; and click &#039;Next&#039;. Choose &#039;I can not complete registration ..&#039;&lt;br /&gt;
and click &#039;Next&#039;. You will see &#039;System user&#039; screen, click &#039;Use network login..&#039;.&lt;br /&gt;
Choose &#039;Enable NIS support&#039; and click &#039;Configure NIS&#039;. Type NIS Domain: &#039;CCCHP&#039; and NIS Server: clon00.jlab.org.&lt;br /&gt;
Finish installation process.&lt;br /&gt;
&lt;br /&gt;
* fix files &#039;&#039;/etc/passwd&#039;&#039;, &#039;&#039;/etc/shadow&#039;&#039; and &#039;&#039;/etc/group&#039;&#039; adding clasrun etc (see examples on another machines).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: if machine has multiple network ports, Linux may not assign them properly to specified IP names and addresses. If problem occures, open network GUI and delete all existing records. After that, click &#039;&#039;New&#039;&#039; and pick hadrware port you want to configure from the list of available ports (tricky part is to know which RJ-45 connector corresponds to which port ..). Configure and activate it, make sure it works. Repeat for other ports. Results will be stored in directory &#039;&#039;/etc/sysconfig/network-scripts&#039;&#039;, file names will be &#039;&#039;ifcfg-eth0&#039;&#039;, &#039;&#039;ifcfg-eth1&#039;&#039; etc. If modifying those files manually, restart network by &#039;&#039;/etc/init.d/network restart&#039;&#039;. Finally, set routing, for example for &#039;&#039;clonmon&#039;&#039; command &#039;&#039;route -n&#039;&#039; shows following:&lt;br /&gt;
 Kernel IP routing table&lt;br /&gt;
 Destination     Gateway         Genmask         Flags Metric Ref    Use Iface&lt;br /&gt;
 129.57.160.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1&lt;br /&gt;
 129.57.68.0     0.0.0.0         255.255.255.0   U     0      0        0 eth3&lt;br /&gt;
 129.57.69.0     0.0.0.0         255.255.255.0   U     0      0        0 dev5937&lt;br /&gt;
 129.57.64.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0&lt;br /&gt;
 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth3&lt;br /&gt;
 0.0.0.0         129.57.68.100   0.0.0.0         UG    0      0        0 eth3&lt;br /&gt;
Run following commands:&lt;br /&gt;
 /sbin/route add -net 129.57.160.0 netmask 255.255.255.0 gw 129.57.160.5 dev eth1&lt;br /&gt;
 /sbin/route add -net 129.57.68.0 netmask 255.255.255.0 gw 129.57.68.26 dev eth3&lt;br /&gt;
 /sbin/route add -net 129.57.69.0 netmask 255.255.255.0 gw 129.57.69.206 dev dev5937&lt;br /&gt;
 /sbin/route add -net 129.57.64.0 netmask 255.255.255.0 gw 129.57.64.57 dev eth0&lt;br /&gt;
Now &#039;&#039;route -n&#039;&#039; shows following:&lt;br /&gt;
 Kernel IP routing table&lt;br /&gt;
 Destination     Gateway         Genmask         Flags Metric Ref    Use Iface&lt;br /&gt;
 129.57.160.0    129.57.160.5    255.255.255.0   UG    0      0        0 eth1&lt;br /&gt;
 129.57.160.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1&lt;br /&gt;
 129.57.68.0     129.57.68.26    255.255.255.0   UG    0      0        0 eth3&lt;br /&gt;
 129.57.68.0     0.0.0.0         255.255.255.0   U     0      0        0 eth3&lt;br /&gt;
 129.57.69.0     129.57.69.206   255.255.255.0   UG    0      0        0 dev5937&lt;br /&gt;
 129.57.69.0     0.0.0.0         255.255.255.0   U     0      0        0 dev5937&lt;br /&gt;
 129.57.64.0     129.57.64.57    255.255.255.0   UG    0      0        0 eth0&lt;br /&gt;
 129.57.64.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0&lt;br /&gt;
 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth3&lt;br /&gt;
 0.0.0.0         129.57.68.100   0.0.0.0         UG    0      0        0 eth3&lt;br /&gt;
In that example automount will do configured using &#039;&#039;clonmon-daq1&#039;&#039; interface, because default &#039;&#039;clonmon&#039;&#039; interface is on external subnet. To make that routing table permanent (retore it after reboot) I tried to add four files with following contents to the &#039;&#039;/etc/sysconfig/network-scripts&#039;&#039; directory:&lt;br /&gt;
 route-eth1:&lt;br /&gt;
   GATEWAY0=129.57.160.5&lt;br /&gt;
   NETMASK0=255.255.255.0&lt;br /&gt;
   ADDRESS0=129.57.160.0&lt;br /&gt;
 route-eth3:&lt;br /&gt;
   GATEWAY0=129.57.68.26&lt;br /&gt;
   NETMASK0=255.255.255.0&lt;br /&gt;
   ADDRESS0=129.57.68.0&lt;br /&gt;
 route-dev5937:&lt;br /&gt;
   GATEWAY0=129.57.69.206&lt;br /&gt;
   NETMASK0=255.255.255.0&lt;br /&gt;
   ADDRESS0=129.57.69.0&lt;br /&gt;
 route-eth0:&lt;br /&gt;
   GATEWAY0=129.57.64.57&lt;br /&gt;
   NETMASK0=255.255.255.0&lt;br /&gt;
   ADDRESS0=129.57.64.0&lt;br /&gt;
It did not worked. Then I added four &#039;&#039;/sbin/route add ..&#039;&#039; lines to &#039;&#039;/etc/rc.local&#039;&#039; script, and it worked.&lt;br /&gt;
&lt;br /&gt;
From now on you can use remote &#039;ssh&#039; connection.&lt;br /&gt;
&lt;br /&gt;
* To configure your system to use the patch server, issue the following commands as root:&lt;br /&gt;
 # mount jlabsite:/site /mnt&lt;br /&gt;
 # /mnt/CC/linux/satellite-connect --patchall&lt;br /&gt;
The script will prompt you for an activation key, but if you don&#039;t know what this is, just hit ENTER and it will use a sensible default.  Depending on how many patches need to be applied to your system to bring it up to the current level, this script may take a very long time to run.  When it finishes, you should reboot your machine to make the new patches take effect.&lt;br /&gt;
&lt;br /&gt;
To install updates later run &#039;&#039;up2date -uf&#039;&#039; as &#039;&#039;root&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Configure [[SSH]].&lt;br /&gt;
&lt;br /&gt;
* Proceed with [[Linux Customization on CLON Cluster]] if applicable.&lt;br /&gt;
&lt;br /&gt;
To boot Linux in single user mode (no graphics), add &#039;&#039;single&#039;&#039; to the end of boot line during boot process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;background info&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Add startup script&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Create script in &#039;&#039;/etc/init.d/&#039;&#039; directory (use existing scripts as example). Must have a line like&lt;br /&gt;
 # chkconfig:	- 91 09&lt;br /&gt;
which specifies start and stop order. Run commands&lt;br /&gt;
 chkconfig --add &amp;lt;scriptname&amp;gt;&lt;br /&gt;
 chkconfig --level 3 &amp;lt;scriptname&amp;gt; on&lt;br /&gt;
for every level you want that script to be executed (usualy 3 and/or 4 and/or 5). Check if it os done using command&lt;br /&gt;
 chkconfig --list | grep &amp;lt;scriptname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;xxx&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can choose to download the RHEL operating system directly from the Red Hat Web site and not receive a media kit from HP containing the software. This scenario occurs when the media option AJR is deselected from the order. (The media kit option is always selected by default. )&lt;br /&gt;
&lt;br /&gt;
It is necessary to register at the Red Hat Web site prior to download. Registration requires the activation code that each customer receives from HP when ordering either RHEL.&lt;br /&gt;
&lt;br /&gt;
You can download RHEL for each available platform as four CD ISO images or one DVD ISO image.&lt;br /&gt;
&lt;br /&gt;
Use the following procedure to download RHEL and create the installation media:&lt;br /&gt;
&lt;br /&gt;
   1.&lt;br /&gt;
&lt;br /&gt;
      Register and log in at the following Red Hat Web site:&lt;br /&gt;
&lt;br /&gt;
      www.redhat.com/rhn&lt;br /&gt;
   2.&lt;br /&gt;
&lt;br /&gt;
      Click on channels and then select Red Hat Enterprise Linux ES (v.4 for 64–bit Intel Itanium).&lt;br /&gt;
   3.&lt;br /&gt;
&lt;br /&gt;
      Select Downloads and then download the ISO images of install, compatibility and source disks&lt;br /&gt;
&lt;br /&gt;
      Files with ia64 in the name are for the Itanium platform.&lt;br /&gt;
   4.&lt;br /&gt;
&lt;br /&gt;
      Create the CDs or a DVD from the ISO images.&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
	IMPORTANT: Create the CDs or DVD using the contents of the ISO images. Do not create the CDs or DVD by burning the .iso files themselves to CD or DVD. For example, if you are using K3b to burn a CD, click Tools&amp;gt;CD&amp;gt;Burn CD Image, select the .iso image, then click Burn.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Bootup scripts&#039;&#039;&#039; for example for level 5 execution (multiuser with X):&lt;br /&gt;
&lt;br /&gt;
 cp &amp;lt;script-file&amp;gt; /etc/init.d/&lt;br /&gt;
 chmod +x /etc/init.d/&amp;lt;script-file&amp;gt;&lt;br /&gt;
 ln -s /etc/init.d/&amp;lt;scriptfile&amp;gt; /etc/rc.d/rc5.d/S50&amp;lt;scriptfile&amp;gt;&lt;br /&gt;
 ln -s /etc/init.d/&amp;lt;scriptfile&amp;gt; /etc/rc.d/rc5.d/K50&amp;lt;scriptfile&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Changing hostname/IP address&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 Changing hostname on RHEL&lt;br /&gt;
 1. Change the HOSTNAME line in /etc/sysconfig/network&lt;br /&gt;
 2. Change the hostname (FQDN and alias) in /etc/hosts&lt;br /&gt;
 3. Run &#039;/bin/hostname new_hostname&#039; for the hostname change to take effect immediately.&lt;br /&gt;
 4. Run &#039;/sbin/service syslog restart&#039; for syslog to log using the new hostname.&lt;br /&gt;
 A reboot is not required to change the system hostname.&lt;br /&gt;
&lt;br /&gt;
 IP address: You have to change the IP address entry in&lt;br /&gt;
 /etc/sysconfig/network-scripts/ifcfg-eth0.&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=SSH&amp;diff=4934</id>
		<title>SSH</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=SSH&amp;diff=4934"/>
		<updated>2010-10-01T16:01:35Z</updated>

		<summary type="html">&lt;p&gt;129.57.167.104: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First, enable X11 forwarding: uncommented and properly set 2 following lines in &#039;&#039;/etc/ssh/ssh_config&#039;&#039; file: &lt;br /&gt;
&lt;br /&gt;
 Host *&lt;br /&gt;
 ForwardX11 yes&lt;br /&gt;
&lt;br /&gt;
Normally &#039;&#039;ssh&#039;&#039; creates &#039;&#039;.Xauthority&#039;&#039; file in &#039;&#039;$HOME&#039;&#039; directory. If &#039;&#039;$HOME&#039;&#039; directory is on file server and shared between different machines, it can be a conflict. It is recommended in that case to tell &#039;&#039;ssh&#039;&#039; to place &#039;&#039;.Xauthority&#039;&#039; file somewhere else, for example in &#039;&#039;/tmp&#039;&#039; directory which is usually local. Do following:&lt;br /&gt;
&lt;br /&gt;
1. Uncomment or add following line in &#039;&#039;/etc/ssh/sshd_config&#039;&#039; (it will force execution of /etc/ssh/sshrc script which we&#039;ll create below; also every user&#039;s $HOME/.ssh/environment file will be processed):&lt;br /&gt;
&lt;br /&gt;
 PermitUserEnvironment yes&lt;br /&gt;
&lt;br /&gt;
2. Add two lines in &#039;&#039;/etc/profile&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 XAUTHORITY=/tmp/.Xauthority.$LOGNAME&lt;br /&gt;
 export XAUTHORITY&lt;br /&gt;
&lt;br /&gt;
3. Create &#039;&#039;/etc/ssh/sshrc&#039;&#039; with following contents:&lt;br /&gt;
&lt;br /&gt;
 HOME=/tmp&lt;br /&gt;
 XAUTHORITY=$HOME/.Xauthority.$USER&lt;br /&gt;
 export XAUTHORITY&lt;br /&gt;
 if read proto cookie &amp;amp;&amp;amp; [ -n &amp;quot;$DISPLAY&amp;quot; ]&lt;br /&gt;
 then&lt;br /&gt;
       if [ `echo $DISPLAY | cut -c1-10` = &#039;localhost:&#039; ]&lt;br /&gt;
       then&lt;br /&gt;
               # X11UseLocalhost=yes&lt;br /&gt;
               echo add unix:`echo $DISPLAY |&lt;br /&gt;
               cut -c11-` $proto $cookie&lt;br /&gt;
       else&lt;br /&gt;
               # X11UseLocalhost=no&lt;br /&gt;
               echo add $DISPLAY $proto $cookie&lt;br /&gt;
       fi | /usr/openwin/bin/xauth -q -&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
(on RHEL4 &#039;&#039;xauth&#039;&#039; is located at &#039;&#039;/usr/X11R6/bin/xauth&#039;&#039;, on RHEL5 at &#039;&#039;/usr/bin&#039;&#039;, adjust script accordingly)&lt;br /&gt;
&lt;br /&gt;
4. Create &#039;&#039;/root/.ssh/environment&#039;&#039; file with following contents:&lt;br /&gt;
&lt;br /&gt;
 XAUTHORITY=/tmp/.Xauthority.root&lt;br /&gt;
&lt;br /&gt;
5. NOTIFY ALL USERS TO HAVE THAT FILE WITH CORRESPONDING CONTENTS IN THEIR &#039;&#039;$HOME/.ssh&#039;&#039; directories. You can do it for example by placing following into &#039;&#039;/etc/.login&#039;&#039; (on linux you can use &#039;&#039;/etc/csh.login&#039;&#039;):&lt;br /&gt;
&lt;br /&gt;
 if (! -e ~/.ssh/environment ) then&lt;br /&gt;
   echo &amp;quot;&amp;quot;&lt;br /&gt;
   echo &amp;quot;===== ERROR: create file &#039;~/.ssh/environment&#039; containing following line:&amp;quot;&lt;br /&gt;
   echo &amp;quot;=====       XAUTHORITY=/tmp/.Xauthority.$LOGNAME&amp;quot;&lt;br /&gt;
   echo &amp;quot;===== OTHERWISE SSH/X11 MAY NOT WORK PROPERLY&amp;quot;&lt;br /&gt;
   echo &amp;quot;&amp;quot;&lt;br /&gt;
 endif&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Restart ssh service by&lt;br /&gt;
&lt;br /&gt;
 svcadm restart network/ssh&lt;br /&gt;
&lt;br /&gt;
(on Linux &#039;&#039;/etc/init.d/sshd restart&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
7. If need to make ssh without password between different clon machines for some user, login as that user and do following:&lt;br /&gt;
 cd .ssh&lt;br /&gt;
 ssh-keygen -t rsa&lt;br /&gt;
    &amp;lt;hit return on password prompt&amp;gt;&lt;br /&gt;
 cp id_rsa.pub authorized_keys&lt;/div&gt;</summary>
		<author><name>129.57.167.104</name></author>
	</entry>
</feed>