cvs: peardoc /en/chapters installation.xml
| From: | Philip Olson | Date: | Thu, 26 Aug 2004 20:25:25 +0000 |
| Subject: | cvs: peardoc /en/chapters installation.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4783@lists.php.net to get a copy of this message | ||
philip Thu Aug 26 16:25:25 2004 EDT
Modified files:
/peardoc/en/chapters installation.xml
Log:
Added pear command/variable information to the CLI installation section.
http://cvs.php.net/diff.php/peardoc/en/chapters/installation.xml?r1=1.18&r2=1.19&ty=u Index: peardoc/en/chapters/installation.xml diff -u peardoc/en/chapters/installation.xml:1.18 peardoc/en/chapters/installation.xml:1.19 --- peardoc/en/chapters/installation.xml:1.18 Tue May 18 16:21:02 2004 +++ peardoc/en/chapters/installation.xml Thu Aug 26 16:25:25 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.18 $ --> +<!-- $Revision: 1.19 $ --> <!-- WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING THIS DOCUMENT YET. @@ -195,6 +195,285 @@ require an online connection. <filename><file>.tgz</filename> has to be replaced with the name of the downloaded file. + </para> + </sect2> + + <sect2> + <title>Commands and Variables</title> + <para> + Here's a list of commands available to the pear command line tool. Many + of these commands may require root access to the server. + </para> + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>Command</entry> + <entry>Description</entry> + </row> + </thead> + <tbody> + <row> + <entry>build</entry> + <entry>Build the extension from source</entry> + </row> + <row> + <entry>clear-cache</entry> + <entry>Clear the XML-RPC cache</entry> + </row> + <row> + <entry>config-get</entry> + <entry>Echo a specific configuration setting</entry> + </row> + <row> + <entry>config-help</entry> + <entry>Show information about a setting</entry> + </row> + <row> + <entry>config-set</entry> + <entry>Set a specific configuration setting value</entry> + </row> + <row> + <entry>config-show</entry> + <entry>Show all configuration setting values</entry> + </row> + <row> + <entry>cvsdiff</entry> + <entry> + Execute and display a "<literal>cvs diff -u</literal>" on all files + within the package + </entry> + </row> + <row> + <entry>cvstag</entry> + <entry>Set a CVS release tag</entry> + </row> + <row> + <entry>download</entry> + <entry>Download a packge but not install it</entry> + </row> + <row> + <entry>info</entry> + <entry>Display information about a package</entry> + </row> + <row> + <entry>install</entry> + <entry>Install a package, will report with success or failure</entry> + </row> + <row> + <entry>list</entry> + <entry>List installed packages</entry> + </row> + <row> + <entry>list-all</entry> + <entry>List all packages, packaged and/or available</entry> + </row> + <row> + <entry>list-upgrades</entry> + <entry>List available upgrades for the installed packages</entry> + </row> + <row> + <entry>login</entry> + <entry>Connects and authenticates to the remote PEAR server</entry> + </row> + <row> + <entry>logoug</entry> + <entry>Logs out from the remote PEAR server</entry> + </row> + <row> + <entry>makerpm</entry> + <entry>Builds a RPM spec file from a PEAR package</entry> + </row> + <row> + <entry>package</entry> + <entry>Build a package</entry> + </row> + <row> + <entry>package-dependencies</entry> + <entry>Show package dependencies</entry> + </row> + <row> + <entry>package-validate</entry> + <entry>Validate package consistency</entry> + </row> + <row> + <entry>remote-info</entry> + <entry>Information about remote packages</entry> + </row> + <row> + <entry>remote-list</entry> + <entry>List remote packages</entry> + </row> + <row> + <entry>run-tests</entry> + <entry>Run regression tests</entry> + </row> + <row> + <entry>search</entry> + <entry>Search the remote package database</entry> + </row> + <row> + <entry>shell-test</entry> + <entry>Do a shell script test</entry> + </row> + <row> + <entry>sign</entry> + <entry>Sign a package distribution file</entry> + </row> + <row> + <entry>uninstall</entry> + <entry>Uninstall and remove a packge</entry> + </row> + <row> + <entry>upgrade</entry> + <entry> + Upgrade a packge to the current version (see also: + preferred_state) + </entry> + </row> + <row> + <entry>upgrade-all</entry> + <entry>Upgrade all packages (see also: list-upgrades)</entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + <para> + And here's a list of available PEAR configuration variables. Use the + <literal>config-get</literal>, <literal>config-help</literal>, + <literal>config-set</literal>, and <literal>config-show</literal> command + options to use these configuration variables. While installing PEAR on + the system, PEAR will attempt to replace the default values with values + specific to the given server. Adjust accordingly. + </para> + <para> + <informaltable> + <tgroup cols="3"> + <thead> + <row> + <entry>Variable Name</entry> + <entry>Description</entry> + <entry>Default Value</entry> + </row> + </thead> + <tbody> + <row> + <entry>bin_dir</entry> + <entry>Directory where executables are installed</entry> + <entry><filename>/usr/bin</filename></entry> + </row> + <row> + <entry>doc_dir</entry> + <entry>Directory where documentation is installed</entry> + <entry><filename>/usr/lib/php/docs</filename></entry> + </row> + <row> + <entry>ext_dir</entry> + <entry>Directory where loadable extensions are installed</entry> + <entry><filename>./</filename></entry> + </row> + <row> + <entry>php_dir</entry> + <entry> + Directory where PHP files are installed (like PEAR files) + </entry> + <entry><filename>/usr/lib/php</filename></entry> + </row> + <row> + <entry>cache_dir</entry> + <entry>PEAR installer cache directory, and used by XMLRPC</entry> + <entry><filename>/tmp/pear/cache</filename></entry> + </row> + <row> + <entry>data_dir</entry> + <entry>Directory where data files are installed</entry> + <entry><filename>/usr/lib/php/data</filename></entry> + </row> + <row> + <entry>php_bin</entry> + <entry>The PHP CLI or CGI binary for executing scripts</entry> + <entry><filename>/usr/bin/php</filename></entry> + </row> + <row> + <entry>test_dir</entry> + <entry>Directory where regression tests are installed</entry> + <entry><filename>/usr/lib/php/tests</filename></entry> + </row> + <row> + <entry>cache_ttk</entry> + <entry> + Number of seconds that the local cache is used, and not updated + (Time To Kill) + </entry> + <entry>3600</entry> + </row> + <row> + <entry>preferred_state</entry> + <entry> + Preferred package state: stable, beta, alpha, devel, or snapshot + </entry> + <entry>stable</entry> + </row> + <row> + <entry>umask</entry> + <entry> + umask used when creating files (Unix-like systems only) + </entry> + <entry>22</entry> + </row> + <row> + <entry>verbose</entry> + <entry>Debug log level: 0-3 where 3 is full debug mode.</entry> + <entry>1</entry> + </row> + <row> + <entry>http_proxy</entry> + <entry> + The optional HTTP proxy address (host:port) used when downloading + packages + </entry> + <entry> </entry> + </row> + <row> + <entry>master_server</entry> + <entry>PEAR server</entry> + <entry>pear.php.net</entry> + </row> + <row> + <entry>password</entry> + <entry>PEAR password (used by maintainers)</entry> + <entry> </entry> + </row> + <row> + <entry>sig_bin</entry> + <entry>Signature handling program</entry> + <entry><filename>/sw/bin/gpg</filename></entry> + </row> + <row> + <entry>sig_keydir</entry> + <entry>Signature key directory</entry> + <entry><filename>/etc/pearkeys</filename></entry> + </row> + <row> + <entry>sig_keyid</entry> + <entry>The key used for signing</entry> + <entry> </entry> + </row> + <row> + <entry>sig_type</entry> + <entry>Package signature type (only gpg)</entry> + <entry>gpg</entry> + </row> + <row> + <entry>username</entry> + <entry>PEAR username (used by maintainers)</entry> + <entry> </entry> + </row> + </tbody> + </tgroup> + </informaltable> </para> </sect2> </sect1>
http://cvs.php.net/diff.php/peardoc/en/chapters/installation.xml?r1=1.18&r2=1.19&ty=u Index: peardoc/en/chapters/installation.xml diff -u peardoc/en/chapters/installation.xml:1.18 peardoc/en/chapters/installation.xml:1.19 --- peardoc/en/chapters/installation.xml:1.18 Tue May 18 16:21:02 2004 +++ peardoc/en/chapters/installation.xml Thu Aug 26 16:25:25 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.18 $ --> +<!-- $Revision: 1.19 $ --> <!-- WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING THIS DOCUMENT YET. @@ -195,6 +195,285 @@ require an online connection. <filename><file>.tgz</filename> has to be replaced with the name of the downloaded file. + </para> + </sect2> + + <sect2> + <title>Commands and Variables</title> + <para> + Here's a list of commands available to the pear command line tool. Many + of these commands may require root access to the server. + </para> + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>Command</entry> + <entry>Description</entry> + </row> + </thead> + <tbody> + <row> + <entry>build</entry> + <entry>Build the extension from source</entry> + </row> + <row> + <entry>clear-cache</entry> + <entry>Clear the XML-RPC cache</entry> + </row> + <row> + <entry>config-get</entry> + <entry>Echo a specific configuration setting</entry> + </row> + <row> + <entry>config-help</entry> + <entry>Show information about a setting</entry> + </row> + <row> + <entry>config-set</entry> + <entry>Set a specific configuration setting value</entry> + </row> + <row> + <entry>config-show</entry> + <entry>Show all configuration setting values</entry> + </row> + <row> + <entry>cvsdiff</entry> + <entry> + Execute and display a "<literal>cvs diff -u</literal>" on all files + within the package + </entry> + </row> + <row> + <entry>cvstag</entry> + <entry>Set a CVS release tag</entry> + </row> + <row> + <entry>download</entry> + <entry>Download a packge but not install it</entry> + </row> + <row> + <entry>info</entry> + <entry>Display information about a package</entry> + </row> + <row> + <entry>install</entry> + <entry>Install a package, will report with success or failure</entry> + </row> + <row> + <entry>list</entry> + <entry>List installed packages</entry> + </row> + <row> + <entry>list-all</entry> + <entry>List all packages, packaged and/or available</entry> + </row> + <row> + <entry>list-upgrades</entry> + <entry>List available upgrades for the installed packages</entry> + </row> + <row> + <entry>login</entry> + <entry>Connects and authenticates to the remote PEAR server</entry> + </row> + <row> + <entry>logoug</entry> + <entry>Logs out from the remote PEAR server</entry> + </row> + <row> + <entry>makerpm</entry> + <entry>Builds a RPM spec file from a PEAR package</entry> + </row> + <row> + <entry>package</entry> + <entry>Build a package</entry> + </row> + <row> + <entry>package-dependencies</entry> + <entry>Show package dependencies</entry> + </row> + <row> + <entry>package-validate</entry> + <entry>Validate package consistency</entry> + </row> + <row> + <entry>remote-info</entry> + <entry>Information about remote packages</entry> + </row> + <row> + <entry>remote-list</entry> + <entry>List remote packages</entry> + </row> + <row> + <entry>run-tests</entry> + <entry>Run regression tests</entry> + </row> + <row> + <entry>search</entry> + <entry>Search the remote package database</entry> + </row> + <row> + <entry>shell-test</entry> + <entry>Do a shell script test</entry> + </row> + <row> + <entry>sign</entry> + <entry>Sign a package distribution file</entry> + </row> + <row> + <entry>uninstall</entry> + <entry>Uninstall and remove a packge</entry> + </row> + <row> + <entry>upgrade</entry> + <entry> + Upgrade a packge to the current version (see also: + preferred_state) + </entry> + </row> + <row> + <entry>upgrade-all</entry> + <entry>Upgrade all packages (see also: list-upgrades)</entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + <para> + And here's a list of available PEAR configuration variables. Use the + <literal>config-get</literal>, <literal>config-help</literal>, + <literal>config-set</literal>, and <literal>config-show</literal> command + options to use these configuration variables. While installing PEAR on + the system, PEAR will attempt to replace the default values with values + specific to the given server. Adjust accordingly. + </para> + <para> + <informaltable> + <tgroup cols="3"> + <thead> + <row> + <entry>Variable Name</entry> + <entry>Description</entry> + <entry>Default Value</entry> + </row> + </thead> + <tbody> + <row> + <entry>bin_dir</entry> + <entry>Directory where executables are installed</entry> + <entry><filename>/usr/bin</filename></entry> + </row> + <row> + <entry>doc_dir</entry> + <entry>Directory where documentation is installed</entry> + <entry><filename>/usr/lib/php/docs</filename></entry> + </row> + <row> + <entry>ext_dir</entry> + <entry>Directory where loadable extensions are installed</entry> + <entry><filename>./</filename></entry> + </row> + <row> + <entry>php_dir</entry> + <entry> + Directory where PHP files are installed (like PEAR files) + </entry> + <entry><filename>/usr/lib/php</filename></entry> + </row> + <row> + <entry>cache_dir</entry> + <entry>PEAR installer cache directory, and used by XMLRPC</entry> + <entry><filename>/tmp/pear/cache</filename></entry> + </row> + <row> + <entry>data_dir</entry> + <entry>Directory where data files are installed</entry> + <entry><filename>/usr/lib/php/data</filename></entry> + </row> + <row> + <entry>php_bin</entry> + <entry>The PHP CLI or CGI binary for executing scripts</entry> + <entry><filename>/usr/bin/php</filename></entry> + </row> + <row> + <entry>test_dir</entry> + <entry>Directory where regression tests are installed</entry> + <entry><filename>/usr/lib/php/tests</filename></entry> + </row> + <row> + <entry>cache_ttk</entry> + <entry> + Number of seconds that the local cache is used, and not updated + (Time To Kill) + </entry> + <entry>3600</entry> + </row> + <row> + <entry>preferred_state</entry> + <entry> + Preferred package state: stable, beta, alpha, devel, or snapshot + </entry> + <entry>stable</entry> + </row> + <row> + <entry>umask</entry> + <entry> + umask used when creating files (Unix-like systems only) + </entry> + <entry>22</entry> + </row> + <row> + <entry>verbose</entry> + <entry>Debug log level: 0-3 where 3 is full debug mode.</entry> + <entry>1</entry> + </row> + <row> + <entry>http_proxy</entry> + <entry> + The optional HTTP proxy address (host:port) used when downloading + packages + </entry> + <entry> </entry> + </row> + <row> + <entry>master_server</entry> + <entry>PEAR server</entry> + <entry>pear.php.net</entry> + </row> + <row> + <entry>password</entry> + <entry>PEAR password (used by maintainers)</entry> + <entry> </entry> + </row> + <row> + <entry>sig_bin</entry> + <entry>Signature handling program</entry> + <entry><filename>/sw/bin/gpg</filename></entry> + </row> + <row> + <entry>sig_keydir</entry> + <entry>Signature key directory</entry> + <entry><filename>/etc/pearkeys</filename></entry> + </row> + <row> + <entry>sig_keyid</entry> + <entry>The key used for signing</entry> + <entry> </entry> + </row> + <row> + <entry>sig_type</entry> + <entry>Package signature type (only gpg)</entry> + <entry>gpg</entry> + </row> + <row> + <entry>username</entry> + <entry>PEAR username (used by maintainers)</entry> + <entry> </entry> + </row> + </tbody> + </tgroup> + </informaltable> </para> </sect2> </sect1>