mirror of https://github.com/tLDP/LDP
updated
This commit is contained in:
parent
238dd2cdf5
commit
d2de91d33e
|
@ -42,7 +42,7 @@ C++ Programming HOW-TO
|
|||
<author>Al Dev (Alavoor Vasudevan)
|
||||
<htmlurl url="mailto:alavoor@yahoo.com"
|
||||
name="alavoor@yahoo.com">
|
||||
<date>v29.0, 08 Jan 2001
|
||||
<date>v30.0, 27 Jan 2001
|
||||
<abstract>
|
||||
This document provides a comprehensive list of C++ URL
|
||||
pointers, links to C++ online textbooks, and programming tips on C++.
|
||||
|
@ -454,7 +454,17 @@ You can download as a single tar zip, the String class, libraries
|
|||
and example programs from
|
||||
<itemize>
|
||||
<item> Go here and click on C++Programming howto.tar.gz file <url url="http://www.aldev.8m.com">
|
||||
<item> Mirror site : <url url="http://aldev.webjump.com">
|
||||
<item> Mirror sites : <url url="http://aldev.webjump.com">,
|
||||
<url url="http://www.angelfire.com/nv/aldev" name="angelfire">,
|
||||
<url url="http://www.geocities.com/alavoor/index.html" name="geocities">,
|
||||
<url url="http://aldev.virtualave.net" name="virtualave">,
|
||||
<url url="http://aldev.bizland.com" name="bizland">,
|
||||
<url url="http://members.theglobe.com/aldev/index.html" name="theglobe">,
|
||||
<url url="http://members.spree.com/technology/aldev" name="spree">,
|
||||
<url url="http://homepages.infoseek.com/~aldev1/index.html" name="infoseek">,
|
||||
<url url="http://www3.bcity.com/aldev" name="bcity">,
|
||||
<url url="http://aldev.50megs.com" name="50megs">
|
||||
|
||||
</itemize>
|
||||
<!--
|
||||
*******************************************
|
||||
|
@ -600,14 +610,18 @@ reproduced here in next section.
|
|||
-->
|
||||
<sect> String.h file
|
||||
<p>
|
||||
In C++ (or any object oriented language), you just read the class data structure
|
||||
(i.e. interface) to begin using that object. In case of
|
||||
String class, you just need to read and
|
||||
In C++ (or any object oriented language), you just read the "class data-structure"
|
||||
(i.e. interface) to begin using that object.
|
||||
You just need to understand the interface and not the implementation of the interface.
|
||||
In case of String class, you just need to read and
|
||||
understand the String class in String.h file. You <bf>do not need</bf> to read
|
||||
the entire implementation (String.cpp) in order to use String class.
|
||||
The object oriented classes are real time saver and they
|
||||
<bf>very neatly hide</bf> the implementation.
|
||||
|
||||
(In object oriented Java language there is the equivalent called <bf>'Intefaces'</bf>
|
||||
, which hides the implementation details.)
|
||||
|
||||
Given below is <bf>String.h</bf> file and
|
||||
see also
|
||||
<ref id="Appendix A" name="Appendix A String.h">
|
||||
|
@ -1722,8 +1736,19 @@ Visit following locators which are related to C, C++ -
|
|||
<item> Vim color text editor for C++, C <url url="http://metalab.unc.edu/LDP/HOWTO/Vim-HOWTO.html">
|
||||
<item> C++ Beautifier HOWTO <url url="http://metalab.unc.edu/LDP/HOWTO/C-C++Beautifier-HOWTO.html">
|
||||
<item> Source code control system for C++ programs (CVS HOWTO) <url url="http://metalab.unc.edu/LDP/HOWTO/CVS-HOWTO.html">
|
||||
<item> Linux goodies main site <url url="http://www.aldev.8m.com">
|
||||
<item> Linux goodies mirror site <url url="http://aldev.webjump.com">
|
||||
<item> Linux goodies <url url="http://www.aldev.8m.com">
|
||||
and mirrors at
|
||||
<url url="http://aldev.webjump.com" name="webjump">,
|
||||
<url url="http://www.angelfire.com/nv/aldev" name="angelfire">,
|
||||
<url url="http://www.geocities.com/alavoor/index.html" name="geocities">,
|
||||
<url url="http://aldev.virtualave.net" name="virtualave">,
|
||||
<url url="http://aldev.bizland.com" name="bizland">,
|
||||
<url url="http://members.theglobe.com/aldev/index.html" name="theglobe">,
|
||||
<url url="http://members.spree.com/technology/aldev" name="spree">,
|
||||
<url url="http://homepages.infoseek.com/~aldev1/index.html" name="infoseek">,
|
||||
<url url="http://www3.bcity.com/aldev" name="bcity">,
|
||||
<url url="http://aldev.50megs.com" name="50megs">
|
||||
|
||||
</itemize>
|
||||
<!--
|
||||
*******************************************
|
||||
|
@ -1731,6 +1756,29 @@ Visit following locators which are related to C, C++ -
|
|||
*******************************************
|
||||
|
||||
|
||||
<chapt> PIKE (C++ Scripting Language)
|
||||
-->
|
||||
<sect> PIKE (C++ Scripting Language)
|
||||
<p>
|
||||
The major disadvantage of C++ is that you must recompile and link the
|
||||
object files to create a executable anytime you make a small change.
|
||||
|
||||
The scripting language like PIKE eliminates the linking and re-compiling
|
||||
and will really speed up the development process.
|
||||
|
||||
As CPU speeds are increasing, scripting language like PIKE will
|
||||
<bf>EXPLODE in popularity</bf>. PIKE will become most widely used
|
||||
scripting language as it is object oriented and it's syntax is very identical to
|
||||
that of C++ language.
|
||||
|
||||
The Pike is at <url url="http://pike.roxen.com">
|
||||
and at <url url="http://www.roxen.com">
|
||||
<!--
|
||||
*******************************************
|
||||
************ End of Section ***************
|
||||
*******************************************
|
||||
|
||||
|
||||
|
||||
|
||||
<chapt change> Templates
|
||||
|
@ -3062,12 +3110,17 @@ single HTML file and SGML.
|
|||
You can get this HOWTO document as a single file tar ball in HTML, DVI,
|
||||
Postscript or SGML formats from -
|
||||
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/other-formats/">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
|
||||
<item>Plain text format is in: <url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
<item>Single HTML file format is in:
|
||||
<url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
|
||||
<item>Translations to other languages like French, German, Spanish,
|
||||
Chinese, Japanese are in
|
||||
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
Any help from you to translate to other languages is welcome.
|
||||
</itemize>
|
||||
The document is written using a tool called "SGML-Tools" which can be got from -
|
||||
|
|
|
@ -42,13 +42,13 @@ C-C++ Beautifier HOW-TO
|
|||
<author>Al Dev (Alavoor Vasudevan)
|
||||
<htmlurl url="mailto:alavoor@yahoo.com"
|
||||
name="alavoor@yahoo.com">
|
||||
<date>v8.0, 27 Nov 2000
|
||||
<date>v10.0, 30 Jan 2001
|
||||
<abstract>
|
||||
This document will help you to format (beautify) the C/C++ programs so
|
||||
that it is more readable and confirms to your site C/C++ coding standards.
|
||||
The information in this document applies to all the operating sytems
|
||||
that is - Linux, MS DOS, Windows 95/NT, OS/2, IBM OSes, all flavors of
|
||||
Unix like Solaris, HPUX, AIX, SCO, Sinix, BSD, SCO, etc.. and to
|
||||
that is - Linux, MS DOS, Windows 95/NT, BeOS, OS/2, IBM OSes, all flavors of
|
||||
Unix like Solaris, HPUX, AIX, SCO, Sinix, BSD, UnixWare, SCO, etc.. and to
|
||||
all other operating systems which support "C" compiler (it means almost all the
|
||||
operating systems on this planet!).
|
||||
</abstract>
|
||||
|
@ -93,6 +93,7 @@ or at
|
|||
<item> C++, C, Java and Oracle Pro-C Beautifier <url url="http://www.geocities.com/~starkville/main.html">
|
||||
<item> C++, C beautifier <url url="http://users.erols.com/astronaut/vim/ccb-1.07.tar.gz">
|
||||
and site at <url url="http://users.erols.com/astronaut/vim/#vimlinks_src">
|
||||
<item> C++, C, Java, Perl beautifier CBP <url url="http://www.prismtk.de/docs/cbp">
|
||||
<item> GC! GreatCode! is a powerful C/C++ source code beautifier
|
||||
Windows 95/98/NT/2000 <url url="http://perso.club-internet.fr/cbeaudet">
|
||||
</itemize>
|
||||
|
@ -198,13 +199,24 @@ HTML, SQL, Java, Perl, Fortran.
|
|||
<item> HTML : <url url="http://www.digital-mines.com/htb/">
|
||||
<item> HTML : <url url="http://www.datacomm.ch/mwoog/software/perl/beautifier.html">
|
||||
<item> HTML : <url url="http://www.watson-net.com/free/perl/s_fhtml.asp">
|
||||
<p>
|
||||
<item> SQL : <url url="http://www.netbula.com/products/sqlb">
|
||||
<p>
|
||||
<item> Java, SQL, HTML, C++ : <url url="http://www.semdesigns.com/Products/DMS/DMSToolkit.html">
|
||||
<item> Java : <url url="http://home.wtal.de/software-solutions/jindent/frameset.html">
|
||||
<item> Java JPretty : <url url="http://www.mmsindia.com/index.html">
|
||||
<item> Java JIndent <url url="http://home.wtal.de/software-solutions/jindent">
|
||||
<item> Java Pat <url url="http://javaregex.com/cgi-bin/pat/jbeaut.asp">
|
||||
<item> Java JStyle <url url="http://www.redrival.com/greenrd/java/jstyle">
|
||||
<item> Java JPrettyPrinter <url url="http://www.epoch.com.tw/download/ms/java/java.htm">
|
||||
<item> Java JxBeauty <url url="http://members.nextra.at/johann.langhofer/download/jxbeauty"> and the <url name="JxBeauty Home" url="http://members.magnet.at/johann.langhofer/products/jxbeauty/overview.html">
|
||||
<item> Java list <url url="http://www.java.about.com/compute/java/library/weekly/aa102499.htm">
|
||||
<p>
|
||||
<item> Perl : <url url="http://www.consultix-inc.com/www.consultix-inc.com/talk.htm">
|
||||
<item> Perl : <url url="http://www.consultix-inc.com/www.consultix-inc.com/perl_beautifier.html">
|
||||
<p>
|
||||
<item> Fortran beautifier : <url url="http://www.aeem.iastate.edu/Fortran/tools.html">
|
||||
<p>
|
||||
<item>C++ : BCPP site is at
|
||||
<url url="http://dickey.his.com/bcpp/bcpp.html">
|
||||
or at
|
||||
|
@ -353,8 +365,18 @@ Visit following locators which are related to C, C++ -
|
|||
<item> <url url="http://metalab.unc.edu/LDP/HOWTO/Vim-HOWTO.html" name="Vim color text editor for C++, C">
|
||||
<item> <url url="http://metalab.unc.edu/LDP/HOWTO/C++Programming-HOWTO.html" name="C++ Programming HOWTO">
|
||||
<item> <url url="http://metalab.unc.edu/LDP/HOWTO/CVS-HOWTO.html" name="CVS HOWTO for C++ programs">
|
||||
<item> Linux goodies main site <url url="http://www.aldev.8m.com">
|
||||
<item> Linux goodies mirror site <url url="http://aldev.webjump.com">
|
||||
<item> Linux goodies <url url="http://www.aldev.8m.com">
|
||||
and mirrors at
|
||||
<url url="http://aldev.webjump.com" name="webjump">,
|
||||
<url url="http://www.angelfire.com/nv/aldev" name="angelfire">,
|
||||
<url url="http://www.geocities.com/alavoor/index.html" name="geocities">,
|
||||
<url url="http://aldev.virtualave.net" name="virtualave">,
|
||||
<url url="http://aldev.bizland.com" name="bizland">,
|
||||
<url url="http://members.theglobe.com/aldev/index.html" name="theglobe">,
|
||||
<url url="http://members.spree.com/technology/aldev" name="spree">,
|
||||
<url url="http://homepages.infoseek.com/~aldev1/index.html" name="infoseek">,
|
||||
<url url="http://www3.bcity.com/aldev" name="bcity">,
|
||||
<url url="http://aldev.50megs.com" name="50megs">
|
||||
</itemize>
|
||||
<!--
|
||||
*******************************************
|
||||
|
@ -377,12 +399,17 @@ HTML file and SGML.
|
|||
You can get this HOWTO document as a single file tar ball in HTML, DVI,
|
||||
Postscript or SGML formats from -
|
||||
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/other-formats/">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
|
||||
<item>Plain text format is in: <url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
<item>Single HTML file format is in:
|
||||
<url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
|
||||
<item>Translations to other languages like French, German, Spanish,
|
||||
Chinese, Japanese are in
|
||||
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
Any help from you to translate to other languages is welcome.
|
||||
</itemize>
|
||||
The document is written using a tool called "SGML-Tools" which can be got from -
|
||||
|
|
|
@ -44,7 +44,7 @@ Revision Control System
|
|||
<author>Al Dev (Alavoor Vasudevan)
|
||||
<htmlurl url="mailto:alavoor@yahoo.com"
|
||||
name="alavoor@yahoo.com">
|
||||
<date>v19.0, 22 Jan 2001
|
||||
<date>v19.0, 24 Jan 2001
|
||||
<abstract>
|
||||
This document is a "practical guide" to very quickly setup CVS/RCS source code
|
||||
control system. This document has custom shell scripts which are wrappers
|
||||
|
@ -124,8 +124,10 @@ from the repostitory
|
|||
and has his own separate stable source directory tree.
|
||||
<item> CVS can "STAMP" releases of entire project source tree.
|
||||
<item> CVS can enable concurrent editing of files.
|
||||
<item> CVS can be greatly customized to enable strong locking of files or
|
||||
enable concurrent editing of files using shell scripts or PERL.
|
||||
<item> CVS can be greatly customized to enable strong locking of files
|
||||
via shell scripts or PERL scripts.
|
||||
CVS supports weak locking with command 'cvs watches' and also
|
||||
no locking permitting concurrent editing of files.
|
||||
</itemize>
|
||||
|
||||
Disadvantages of CVS
|
||||
|
@ -523,6 +525,31 @@ is at <url url="http://www.emacs.org">.
|
|||
|
||||
|
||||
|
||||
<chapt> Strong, Weak or No locking <label id="locking">
|
||||
-->
|
||||
<sect> Strong, Weak or No locking <label id="locking">
|
||||
<p>
|
||||
CVS is a powerful system and is highly customizable. CVS supports
|
||||
<itemize>
|
||||
<item> Strong locking with "reserved checkouts" via <bf>cvs admin -l</bf> or <ref id="Shell Scripts">.
|
||||
Also read the <url name="Reserved checkouts" url="http://www.cvshome.org/docs/inforeserve.html">.
|
||||
Here is a patch (<url url="http://www.cvshome.org/dev/patches/editf">) from
|
||||
Eric Griswold for reserved checkouts.
|
||||
<p>
|
||||
<item> Weak locking via 'cvs watch' features.
|
||||
Also see "cvs edit" give a warning(<url url="http://www.cvshome.org/dev/text2/res2">) if
|
||||
someone else is already editing the file.
|
||||
<p>
|
||||
<item> No locking - the default permitting concurrent editing of files.
|
||||
</itemize>
|
||||
<!--
|
||||
*******************************************
|
||||
************ End of Section ***************
|
||||
*******************************************
|
||||
|
||||
|
||||
|
||||
|
||||
<chapt> Shell Scripts <label id="Shell Scripts">
|
||||
-->
|
||||
<sect> Shell Scripts <label id="Shell Scripts">
|
||||
|
@ -753,14 +780,8 @@ General utilities for cvs (third party)
|
|||
<sect> Graphical Front ends <label id="frontend">
|
||||
<p>
|
||||
The following GUI front ends for CVS are available.
|
||||
But it is <bf>very strongly recommended</bf> that you use
|
||||
<url name="Samba(on cdrom samba*.rpm)" url="http://www.samba.org">
|
||||
and
|
||||
<ref id="win95" name="PC X-Server">
|
||||
on MS Windows 95/NT. By using Samba the remote directory on unix
|
||||
will look like local folder on MS Windows. See next section for
|
||||
<ref id="win95" name="PC X-Server">.
|
||||
<itemize>
|
||||
<item> CVS home.org <url url="http://www.cvshome.org/dev/addons.html">
|
||||
<item> CVS Web for windows <url url="http://www.devguy.com/fp/cfgmgmt/cvs/cvs_admin_nt.htm#CVSWEBIIS"> and at <url url="http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi">
|
||||
<item> TkCVS <url url="http://www.tkcvs.org"> is the Tcl/Tk GUI interface to CVS.
|
||||
And at <url name="cyclicsite" url="http://www.cvshome.org/cyclic/tkcvs/index.html">
|
||||
|
@ -774,26 +795,60 @@ and at <url name="cyclicsite" url="http://www.cvshome.org/cyclic/cvs/soft-maccvs
|
|||
<item> <url url="http://ppprs1.phy.tu-dresden.de/~trogisch/lincvs/lincvsen.html">
|
||||
<item> <url url="http://www.loria.fr/~molli/cvs/doc/cvs_toc.html">
|
||||
</itemize>
|
||||
It is <bf>very strongly recommended</bf> that you use
|
||||
<url name="Samba(on cdrom samba*.rpm)" url="http://www.samba.org">
|
||||
and
|
||||
<ref id="win95" name="PC X-Server">
|
||||
on MS Windows 95/NT. By using Samba the remote directory on unix
|
||||
will look like local folder on MS Windows. See next section for
|
||||
<ref id="win95" name="PC X-Server">.
|
||||
<!--
|
||||
*******************************************
|
||||
************ End of Section ***************
|
||||
*******************************************
|
||||
|
||||
|
||||
|
||||
|
||||
-->
|
||||
<sect1> CVS from Windows 95/NT/2000 <label id="win95">
|
||||
<sect> CVS for MS Windows 95/98/NT/2000 <label id="win95">
|
||||
<p>
|
||||
It is <bf>very strongly recommended</bf> that you use
|
||||
It is <bf>VERY STRONGLY recommended</bf> that you use
|
||||
<url name="Samba(on cdrom samba*.rpm)" url="http://www.samba.org">
|
||||
and PC X-Server on MS Windows 95/NT. By using Samba the remote directory on unix
|
||||
will look like local folder on MS Windows.
|
||||
and PC X-Server on MS Windows 95/NT.
|
||||
With samba the unix/linux CVS server will be like a <bf>file server</bf>.
|
||||
By using Samba the remote directory on unix
|
||||
will look like local folder on MS Windows on the local disk.
|
||||
Install samba*.rpm on unix/linux server(which has CVS repository) and install the PC X-server on
|
||||
MS Windows 95/NT/2000 desktop. Using PC X-server you can easily log on to the
|
||||
unix box and check-out/check-in the files. And you can use the tools like
|
||||
Java Visual Cafe or Java JBuilder on MS Windows to edit the files located in unix/linux
|
||||
folder(via samba). With samba the unix/linux CVS server will be like a <bf>file server</bf>.
|
||||
folder(via samba).
|
||||
After editing, you can check-in the files to unix thru PC X-server.
|
||||
|
||||
Advantages of using CVS on Linux/Unix via MS Windows are:
|
||||
<itemize>
|
||||
<item> Only one single Linux File server (CVS server) can serve many MS Windows clients
|
||||
<item> Linux file server (cvs) is very robust, secure and reliable
|
||||
<item> Only one UPS (uninterrupted power supply) battery is required for linux server.
|
||||
<item> Linux file server (cvs) supports centralised backups via tools like
|
||||
<url name="Arkeia, Bru" url="http://www.aldev.8m.com">
|
||||
mirrors at
|
||||
<url url="http://aldev.webjump.com">,
|
||||
<url name="angelfire" url="http://www.angelfire.com/nv/aldev">,
|
||||
<url name="geocities" url="http://www.geocities.com/alavoor/index.html">,
|
||||
<url name="virtualave" url="http://aldev.virtualave.net">,
|
||||
<url name="bizland" url="http://aldev.bizland.com">,
|
||||
<url name="theglobe" url="http://members.theglobe.com/aldev/index.html">,
|
||||
<url name="spree" url="http://members.spree.com/technology/aldev">,
|
||||
<url name="infoseek" url="http://homepages.infoseek.com/~aldev1/index.html">,
|
||||
<url name="bcity" url="http://www3.bcity.com/aldev">,
|
||||
<url name="50megs" url="http://aldev.50megs.com">
|
||||
<item> Linux file server (cvs) requires just one small server room which can air-contitioned
|
||||
and dust free. Small room keeps the cooling/heating costs down.
|
||||
<item> Linux file server (cvs) provides security via unix groups and user id authentication
|
||||
</itemize>
|
||||
|
||||
The following PC X-servers are available
|
||||
<itemize>
|
||||
<item> Low cost, best and small size (3 MB) <url url="http://www.microimages.com"> and
|
||||
|
@ -829,6 +884,55 @@ to windows:
|
|||
<itemize>
|
||||
<item> Goto Tucows and search "ftp tools" for MS Windows <url url="http://www.tucows.com">
|
||||
</itemize>
|
||||
<!--
|
||||
*******************************************
|
||||
************ End of Section ***************
|
||||
*******************************************
|
||||
|
||||
|
||||
-->
|
||||
<sect1> Visual Cafe(Java), JBuilder, MS Visual C++, HTML files <label id="mstools">
|
||||
<p>
|
||||
Using Samba and PC X-server it is possible to use CVS on MS Windows platform.
|
||||
And the tools like Symantec Visual Cafe (Java), Inprise JBuilder, MS Visual C++
|
||||
and others are easily supported by CVS.
|
||||
|
||||
You can also store the HTML files on CVS repository via Samba and easily
|
||||
access from MS Windows.
|
||||
<!--
|
||||
*******************************************
|
||||
************ End of Section ***************
|
||||
*******************************************
|
||||
|
||||
|
||||
-->
|
||||
<sect1> Samba Admin tool <label id="samba">
|
||||
<p>
|
||||
To administer samba use the admin tools from <url url="http://www.samba.org">. Go here
|
||||
and click on "GUI Interfaces Tools".
|
||||
<!--
|
||||
*******************************************
|
||||
************ End of Section ***************
|
||||
*******************************************
|
||||
|
||||
|
||||
|
||||
|
||||
<chapt> Multi-User CVS Remote Repository <label id="multiuser">
|
||||
-->
|
||||
<sect> Security of CVS Repository <label id="cvssecurity">
|
||||
<p>
|
||||
To make CVS server and CVS repository secure do the following:
|
||||
<itemize>
|
||||
<item> Run CVS on stand-alone linux/unix box, see <ref id="perftuning" name="Performance Tuning">
|
||||
<item> Remove unnecessary software packages from CVS linux box - to prevent
|
||||
external vandals running it. Just in case vandals break into the system, you
|
||||
do not want to give them a chance to run dangerous programs.
|
||||
<item> Consider SSH as given in the chapter <ref id="multiuser" name="Multi-User Repository">
|
||||
<item> Consider Kerberos - install cvs-*-kerberos*.rpm package <url url="http://cvshome.org/dev/codelinux.html">
|
||||
<item> Visit <url url="http://www.cvshome.org"> and post your security questions in the
|
||||
<url name="mailing list" url="http://cvshome.org/communication.html">.
|
||||
</itemize>
|
||||
<!--
|
||||
*******************************************
|
||||
************ End of Section ***************
|
||||
|
@ -1162,6 +1266,48 @@ done
|
|||
|
||||
|
||||
|
||||
<chapt> Performance Tuning of CVS server <label id="perftuning">
|
||||
-->
|
||||
<sect> Performance Tuning of CVS server <label id="perftuning">
|
||||
<p>
|
||||
For optimum performance CVS server must be running on a stand alone Linux/Unix box.
|
||||
|
||||
To get more bang for a given CPU processing power, do the following:-
|
||||
<itemize>
|
||||
<item> Recompile linux kernel to make it small and lean. Remove items
|
||||
which are not used. See kernel
|
||||
howto at <url url="http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html">
|
||||
<p>
|
||||
<item> Turn off unneccessary unix processes - on linux/unix systems run chkconfig
|
||||
<code>
|
||||
bash$ su - root
|
||||
bash# man chkconfig
|
||||
bash# chkconfig --help
|
||||
bash# chkconfig --list | grep on | less
|
||||
From the above list, turn off the processes you do not want to start automatically -
|
||||
bash# chkconfig --level 0123456 <service name> off
|
||||
Next time when the machine is booted these services will not be started.
|
||||
Now, shutdown the services manually which you just turning off.
|
||||
bash# cd /etc/rc.d/init.d
|
||||
bash# ./<service name> stop
|
||||
</code>
|
||||
<p>
|
||||
<item> Do not run any other application processes which are unnecessary.
|
||||
<p>
|
||||
<item> Do not leave X-Window running unattended. Because X-window processes
|
||||
consume memory, CPU load and can be a serious security hole from outside attacks.
|
||||
The X-window managers generally used are KDE, GNOME, CDE, XDM and others.
|
||||
You must exit the X-window immediately after using and most of the time
|
||||
you should see command line console login prompt on the CVS server machine.
|
||||
</itemize>
|
||||
<!--
|
||||
*******************************************
|
||||
************ End of Section ***************
|
||||
*******************************************
|
||||
|
||||
|
||||
|
||||
|
||||
<chapt> Problem Reporting System <label id="PRS">
|
||||
-->
|
||||
<sect> Problem Reporting System <label id="PRS">
|
||||
|
|
|
@ -52,12 +52,12 @@ DISKLESS NODES HOW-TO for Linux
|
|||
<htmlurl url="mailto:gero@gkminix.han.de"
|
||||
name="gero@gkminix.han.de">
|
||||
|
||||
<date>v16.0, 02 Jan 2001
|
||||
<date>v18.0, 25 Jan 2001
|
||||
<abstract>
|
||||
This document describes how to set up a diskless Linux box.
|
||||
As technology is advancing rapidly, network-cards are becoming cheaper and much
|
||||
faster - 100 MBits ethernet is standard now and in about 1 to 2 years
|
||||
1000 MBits i.e. 1GigBits ethernet cards will become a industry standard.
|
||||
1000 MBits i.e. 1GigBits ethernet cards will become an industry standard.
|
||||
With high-speed network cards, remote access will become as fast as the
|
||||
local disk access which will make diskless nodes a viable
|
||||
alternative to workstations in local LAN. Also diskless nodes eliminates the
|
||||
|
@ -137,7 +137,7 @@ interested in reading this entire document.
|
|||
<sect> Diskless Computer for Microsoft Windows 95/NT !!
|
||||
<p>
|
||||
Since Microsoft Windows 95/NT <bf>DOES NOT</bf> support diskless
|
||||
nodes, there is a intelligent work-around to overcome this short coming.
|
||||
nodes, there is an intelligent work-around to overcome this short coming.
|
||||
Microsoft corporation will be <bf>surprised</bf> !!
|
||||
<!--
|
||||
*******************************************
|
||||
|
@ -233,6 +233,10 @@ is <bf>completely eliminated</bf>!!
|
|||
<item> No need of UPS battery, air-conditioning, dust proof environment for
|
||||
diskless clients, only server needs UPS battery, A/C and dust proof environment.
|
||||
<p>
|
||||
<item> Noise is completely eliminated since diskless computer does not have
|
||||
Fan motor, and local harddisk. Only server makes lots of noise but it is enclosed
|
||||
in a server room.
|
||||
<p>
|
||||
<item> Protection from Virus attack - Computer virus cannot attack diskless
|
||||
computers as they do not have any hard disk. Virus cannot do any damage to
|
||||
diskless computers. Only one single server box
|
||||
|
@ -252,6 +256,12 @@ be only one copy of web browser in the RAM. In case Windows 95 PCs, many
|
|||
users need to have individual copy of web browser
|
||||
in local RAM and hence there is wastage of RAM space.
|
||||
<p>
|
||||
<item> Diskless computers are extremely fast because program loading time is
|
||||
completely eliminated. For example, if the server loads the StarOffice suite
|
||||
into memory due to request from one diskless user then if another diskless user wants to
|
||||
use the StarOffice suite then loading time is avoided since StarOffice is
|
||||
already loaded.
|
||||
<p>
|
||||
<item> Diskless linux computers can run programs on multiple servers using the
|
||||
"xhost" and DISPLAY environment.
|
||||
<p>
|
||||
|
@ -284,7 +294,7 @@ parallel ports, serial ports etc..
|
|||
-->
|
||||
<sect> Quick Steps to implement Diskless Nodes
|
||||
<p>
|
||||
A overview to build diskless nodes is as follows:
|
||||
An overview to build diskless nodes is as follows:
|
||||
<itemize>
|
||||
<item> Download/Install redhat RPM packages from <url name="LTSP org" url="http://www.ltsp.org">
|
||||
<item> Test with floppy disk (1.44MB) having the PROM program.
|
||||
|
@ -308,7 +318,7 @@ see also
|
|||
-->
|
||||
<sect1> Linux Terminal Server Project - LTSP
|
||||
<p>
|
||||
LTSP is a open source code project to build diskless linux computers.
|
||||
LTSP is an open source code project to build diskless linux computers.
|
||||
|
||||
At LTSP site you will find RPM packages for Redhat Linux and packages for Debian Linux
|
||||
which will save you lots of time. The subsequent chapters given in this document
|
||||
|
@ -683,7 +693,7 @@ go to economy->company->Hardware->Peripherals->Device programmers.
|
|||
|
||||
<item> <url url="http://www.mqp.com " name="MQP Electronics"> - manufacturer of universal device programmers, gang programmers, production software, and package converters. High thoughput and reliability.
|
||||
|
||||
<item> <url url="http://www.quiknet.com/~needhams/ " name="Needham's Electronics"> - manufacturer of device programmers.
|
||||
<item> <url url="http://www.needhams.com" name="Needham's Electronics"> - manufacturer of device programmers.
|
||||
|
||||
<item> <url url="http://www.npps.com/ " name="NP Programming Services"> - provides programming for memory and logic parts.
|
||||
|
||||
|
@ -753,7 +763,7 @@ In order to boot over the network, the computer must get
|
|||
<item> usually, a working filesystem.
|
||||
</enum>
|
||||
|
||||
Consider a diskless computer (DC) that has a network boot ROM. It may be one of several identical DCs. How can we distinguish this computer from others? There is one piece of information that is unique to that computer (actually its network adapter) and that is its Ethernet address. Every Ethernet adapter in the world has a unique 48 bit Ethernet address because every Ethernet hardware manufacturer has been assigned blocks of addresses. By convention these addresses are written as hex digits with colons separating each group of two digits, for example - <bf>00:60:08:C7:A3:D8</bf> .
|
||||
Consider a diskless computer (DC) that has a network boot ROM. It may be one of several identical DCs. How can we distinguish this computer from others? There is one piece of information that is unique to that computer (actually its network adapter) and that is its Ethernet address. Every Ethernet adapter in the world has an unique 48 bit Ethernet address because every Ethernet hardware manufacturer has been assigned blocks of addresses. By convention these addresses are written as hex digits with colons separating each group of two digits, for example - <bf>00:60:08:C7:A3:D8</bf> .
|
||||
|
||||
The protocols used for obtaining an IP address, given an Ethernet address, are called <bf>Boot Protocol (BOOTP)</bf> and <bf>Dynamic Host Configuration Protocol (DHCP)</bf>. DHCP is an evolution of BOOTP. In our discussion, unless otherwise stated, anything that applies to BOOTP also applies to DHCP. (Actually it's a small lie that BOOTP and DHCP only translate Ethernet addresses. In their foresight, the designers made provision for BOOTP and DHCP to work with any kind of hardware address. But Ethernet is what most people will be using.)
|
||||
|
||||
|
@ -1354,7 +1364,18 @@ Netboot mailing list archive is at
|
|||
<p>
|
||||
<itemize>
|
||||
<item> See 'Diskless-root-NFS-HOWTO' at <url url="http://metalab.unc.edu/LDP/HOWTO/Diskless-root-NFS-HOWTO.html">
|
||||
<item> Linux goodies <url url="http://www.aldev.8m.com"> or at <url url="http://www.aldev.webjump.com">
|
||||
<item> Linux goodies <url url="http://www.aldev.8m.com">
|
||||
and mirrors at
|
||||
<url url="http://aldev.webjump.com" name="webjump">,
|
||||
<url url="http://www.angelfire.com/nv/aldev" name="angelfire">,
|
||||
<url url="http://www.geocities.com/alavoor/index.html" name="geocities">,
|
||||
<url url="http://aldev.virtualave.net" name="virtualave">,
|
||||
<url url="http://aldev.bizland.com" name="bizland">,
|
||||
<url url="http://members.theglobe.com/aldev/index.html" name="theglobe">,
|
||||
<url url="http://members.spree.com/technology/aldev" name="spree">,
|
||||
<url url="http://homepages.infoseek.com/~aldev1/index.html" name="infoseek">,
|
||||
<url url="http://www3.bcity.com/aldev" name="bcity">,
|
||||
<url url="http://aldev.50megs.com" name="50megs">
|
||||
</itemize>
|
||||
<!--
|
||||
*******************************************
|
||||
|
@ -1393,12 +1414,18 @@ LyX, GNU-info, HTML, RTF(Rich Text Format), Plain-text, Unix man pages and SGML.
|
|||
You can get this HOWTO document as a single file tar ball in HTML, DVI,
|
||||
Postscript or SGML formats from -
|
||||
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/other-formats/">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
|
||||
<item>Plain text format is in: <url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
|
||||
<item>Single HTML file format is in:
|
||||
<url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
|
||||
<item>Translations to other languages like French, German, Spanish,
|
||||
Chinese, Japanese are in
|
||||
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
Any help from you to translate to other languages is welcome.
|
||||
</itemize>
|
||||
The document is written using a tool called "SGML-Tools" which can be got from -
|
||||
|
|
|
@ -42,7 +42,7 @@ Covers PostgreSQL Version 6.5.3
|
|||
<author>Al Dev (Alavoor Vasudevan)
|
||||
<htmlurl url="mailto:alavoor@yahoo.com"
|
||||
name="alavoor@yahoo.com">
|
||||
<date>v43.0, 20 Jan 2001
|
||||
<date>v45.0, 27 Jan 2001
|
||||
<abstract>
|
||||
This document is a "practical guide" to very quickly setup a SQL Database
|
||||
engine and
|
||||
|
@ -270,23 +270,24 @@ and what is inside it. Complex systems are built from very
|
|||
simple basic building blocks like - millions of universes are created,
|
||||
each universe in turn has millions of super-clusters, each super-cluster has
|
||||
millions of galaxies, each galaxy has millions of stars, some stars
|
||||
system have many planets, each planet in turn is made up
|
||||
have many planets, each planet in turn is made up
|
||||
billions of atoms.<it>(In the history of this world, <bf>only one universe was
|
||||
created by a man</bf> in ancient India eons ago, but no other case had been
|
||||
reported in the modern history. Nations around the world are trying to create
|
||||
an universe).</it> Creating an universe is a much more advanced
|
||||
reported in the modern history. There is only one man-made universe)</it> Creating
|
||||
an universe is a much more advanced
|
||||
technology and is more advanced than the atomic bomb which was dropped on
|
||||
Hiroshima and Nagasaki causing
|
||||
<bf>horrible destruction</bf>.
|
||||
Modern nuclear weapons are so tiny and powerful
|
||||
that if such a single nuclear bomb is dropped in pacific ocean then it
|
||||
can completely vaporise the planet earth!
|
||||
The total variety of weapons are infinity!! Nuclear weapons and other
|
||||
The total variety of weapons are infinity. There are weapons to
|
||||
even terminate the universes (it is not a good idea to give nuke weapons
|
||||
technology to every person). Nuclear weapons and other
|
||||
more <bf>powerful divine weapons</bf> were used
|
||||
in the battle field in ancient India! Nobody believed Albert
|
||||
Eienstein (a scientist of 1900's) when he said nuclear weapons can
|
||||
be made which can vaporise big cities. And today nobody believes
|
||||
that man can create an universe.
|
||||
be made which can vaporise big cities.
|
||||
|
||||
Software like MS Windows 95 is created simply by "C"
|
||||
and assembler language programs which simply uses 1 and 0 and <it><bf>universes like
|
||||
|
@ -299,8 +300,9 @@ proper combination of tiny cells!!
|
|||
Humans inherited the properties of this universe.
|
||||
The universe you are
|
||||
currently living in was NOT there - all the atoms inside the universe was not there
|
||||
and not even TIME was existing!! Baby universe was born during big bang and started
|
||||
expanding and kept growing. Even today our universe is still expanding!!
|
||||
and not even TIME was existing!! Baby universe was born during <bf>big bang</bf> and
|
||||
started expanding and kept growing. Even today our universe is still expanding and
|
||||
is not static!!
|
||||
A person from another universe by name <bf>'Brahma'</bf> created
|
||||
this universe you are currently living in.
|
||||
<it><bf>Knowledge is the MOTHER of this universe!!</bf></it>
|
||||
|
@ -312,16 +314,19 @@ Mother Knowledge it is not possible create even a small "C" program!
|
|||
|
||||
At some point our universe will close down (in a big crunch) and all
|
||||
the atoms inside the universe will completely vanish and dissappear!
|
||||
All the atoms that you see inside this universe will be gone!
|
||||
|
||||
It is indeed possible for man to create a new universe.
|
||||
Total number of universes that can be created
|
||||
is <bf>INFINITY</bf> and similarly total number of operating systems that
|
||||
can be created is also <bf>infinity</bf>!! There are millions of universes,
|
||||
can be created is also <bf>infinity</bf>!! It is infinite cyclic process
|
||||
where universes are born and then later die down. There are millions of universes,
|
||||
which are classified into 3 major categories.
|
||||
Infinite number universes and infinite
|
||||
variety of multi-dimensional atoms collapse down
|
||||
into few <it>primary-dimensional-universe</it>. Very advanced mathematical
|
||||
equations support this theory.
|
||||
into few <it>primary-dimensional-universe</it>. And primary-dimensional universes collapse
|
||||
down into one single focus entity called <it>'eeshwar'</it>
|
||||
(eeshara is a <bf><it>sanskrit</it></bf> word).
|
||||
Very advanced mathematical equations support this theory.
|
||||
|
||||
The laws of science and statistics favour the open-source
|
||||
code system like PostgreSQL and Linux.
|
||||
|
@ -349,6 +354,8 @@ Collections, Sets, Unions, Intersections, Exclusions, Domains, Lists, etc...
|
|||
|
||||
The software like PostgreSQL is existing today because of the energy and time.
|
||||
And mass and energy are ONE and the <bf>SAME</bf> entity.
|
||||
There are infinite number of methods to <it>unlock</it> mass and
|
||||
convert it into enery. Mass is a highly concentrated energy.
|
||||
The fact that mass and energy are same was unknown to people 100 years ago!
|
||||
And even <bf>today</bf> it is unknown to world population that internet is the
|
||||
largest software "power house" and the largest "software company" in the world!
|
||||
|
@ -587,7 +594,7 @@ MySQL is at <url url="http://www.tcx.se">
|
|||
*******************************************
|
||||
|
||||
-->
|
||||
<sect1> MySQL is "NOT at all good"
|
||||
<sect1> Limitations of MySQL
|
||||
<p>
|
||||
PostgreSQL should be compared with systems like Oracle, both are really
|
||||
true ACID compliant robust systems developed over a very long time.
|
||||
|
@ -723,7 +730,6 @@ bash$ man pgaccess
|
|||
bash$ pgaccess mydatabase
|
||||
</code>
|
||||
Now you can start <bf>rapidly BANGING away</bf> SQL commands at psql or pgaccess.
|
||||
(babe, babe!)
|
||||
<code>
|
||||
bash$ cd /usr/doc/postgresql*
|
||||
</code>
|
||||
|
@ -770,8 +776,20 @@ Examples are needed to do testing of various interfaces to PostgreSQL.
|
|||
Install the postgresql examples directory from -
|
||||
<itemize>
|
||||
<item> Linux cdrom - postgresql-*examples.rpm
|
||||
<item> postgresql-*examples.rpm from <url url="http://www.aldev.8m.com">
|
||||
or <url url="http://aldev.webjump.com">
|
||||
<item> postgresql-*examples.rpm from
|
||||
<url url="http://www.aldev.8m.com">
|
||||
and mirrors at
|
||||
<url url="http://aldev.webjump.com" name="webjump">,
|
||||
<url url="http://www.angelfire.com/nv/aldev" name="angelfire">,
|
||||
<url url="http://www.geocities.com/alavoor/index.html" name="geocities">,
|
||||
<url url="http://aldev.virtualave.net" name="virtualave">,
|
||||
<url url="http://aldev.bizland.com" name="bizland">,
|
||||
<url url="http://members.theglobe.com/aldev/index.html" name="theglobe">,
|
||||
<url url="http://members.spree.com/technology/aldev" name="spree">,
|
||||
<url url="http://homepages.infoseek.com/~aldev1/index.html" name="infoseek">,
|
||||
<url url="http://www3.bcity.com/aldev" name="bcity">,
|
||||
<url url="http://aldev.50megs.com" name="50megs">
|
||||
|
||||
<item> PostgreSQL source code tree postgresql*.src.rpm and look for examples,
|
||||
testing or tutorial directories
|
||||
</itemize>
|
||||
|
@ -1716,7 +1734,7 @@ Database security is addressed at several levels:
|
|||
protected from reading by any account other than the <it>postgres</it>
|
||||
superuser account
|
||||
<item> Connections from a client to the database server are, by default,
|
||||
allowed only via a local UNIX socket, not via TCP/IP sockets. The back-end
|
||||
allowed only via an local UNIX socket, not via TCP/IP sockets. The back-end
|
||||
must be started with the -i option to allow nonlocal clients to connect.
|
||||
<item> Client connections can be restricted by IP address and/or username
|
||||
via the <bf>pg_hba.conf</bf> file in <bf>$PG_DATA</bf>.
|
||||
|
@ -3562,7 +3580,8 @@ This is at
|
|||
The program dbf2msql works fine with mSQL and PostgreSQL. You can find it at
|
||||
<itemize>
|
||||
<item> <url url="ftp://ftp.nerosworld.com/pub/SQL/dbf2sql/">
|
||||
<item> <url url="ftp://ftp.postgresql.org/pub/incoming/dbf2pg-3.0.tar.gz">
|
||||
<item> <url url="ftp://ftp.postgresql.org/pub/contrib/dbf2pg-3.0.tar.gz">
|
||||
<item> Pg2Xbase is a better package then dbf2pg <url url="http://w3.man.torun.pl/~makler/prog/pg2xbase">
|
||||
</itemize>
|
||||
|
||||
This program was written by Maarten Boekhold,
|
||||
|
@ -6378,12 +6397,17 @@ LyX, GNU-info, HTML, RTF(Rich Text Format), Plain-text, Unix man pages and SGML.
|
|||
You can get this HOWTO document as a single file tar ball in HTML, DVI,
|
||||
Postscript or SGML formats from -
|
||||
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/other-formats/">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
|
||||
<item>Plain text format is in: <url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
<item>Single HTML file format is in:
|
||||
<url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
|
||||
<item>Translations to other languages like French, German, Spanish,
|
||||
Chinese, Japanese are in
|
||||
<url url="ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO">
|
||||
and <url url="http://www.linuxdoc.org/docs.html#howto">
|
||||
Any help from you to translate to other languages is welcome.
|
||||
</itemize>
|
||||
The document is written using a tool called "SGML-Tools" which can be got from -
|
||||
|
@ -9225,11 +9249,19 @@ If you are planning to use PostgreSQL on Linux, and need help in installing Linu
|
|||
</itemize>
|
||||
|
||||
<itemize>
|
||||
<item> Main site is at <url url="http://www.aldev.8m.com">
|
||||
<item> Mirror site <url url="http://aldev.webjump.com">
|
||||
<item> Mirror site <url url="http://www.homepages.infoseek.com/~aldev1/index.html">
|
||||
<item> Mirror site <url url="http://www3.bcity.com/aldev/">
|
||||
<item> Mirror site <url url="http://www.members.spree.com/technology/aldev/">
|
||||
<item> Main site is at <url url="http://www.aldev.8m.com">
|
||||
and mirrors at
|
||||
<url url="http://aldev.webjump.com" name="webjump">,
|
||||
<url url="http://www.angelfire.com/nv/aldev" name="angelfire">,
|
||||
<url url="http://www.geocities.com/alavoor/index.html" name="geocities">,
|
||||
<url url="http://aldev.virtualave.net" name="virtualave">,
|
||||
<url url="http://aldev.bizland.com" name="bizland">,
|
||||
<url url="http://members.theglobe.com/aldev/index.html" name="theglobe">,
|
||||
<url url="http://members.spree.com/technology/aldev" name="spree">,
|
||||
<url url="http://homepages.infoseek.com/~aldev1/index.html" name="infoseek">,
|
||||
<url url="http://www3.bcity.com/aldev" name="bcity">,
|
||||
<url url="http://aldev.50megs.com" name="50megs">
|
||||
|
||||
</itemize>
|
||||
<!--
|
||||
*******************************************
|
||||
|
|
Loading…
Reference in New Issue