Index of  //www.pi-net.dyndns.org </>/anonymous <./../>/kits <./>/


    PCSI Kits of Open Source Software for OpenVMS

Zlib <#zlib> 	LibBZ2 <#libbz2>
MySQL <#mysql> 	Python <#python>

A North American mirror site <http://erebus.homeip.net/mirror/kits/> and
an Australian mirror site <http://ftp.vsm.com.au/jfp/> are also available.

If you wish to compile the software yourself, complete source packages
are available here
<http://www.pi-net.dyndns.org/anonymous/kits/sources/> or from the North
American mirror site <http://erebus.homeip.net/mirror/kits/sources/>.

------------------------------------------------------------------------


      Zlib V1.1.4

Zlib is a compression/decompression library used by several software
packages, including MySQL and Python.

By default, the installation procedure installs this library package in
the |SYS$COMMON:[LIBZ]| directory. To install it in another directory,
dev:[dir], use the |/DESTINATION| parameter of the |PRODUCT| command. In
this case, the library package will be installed in the |dev:[dir.LIBZ]|
directory.


        Installation

   1. Make the directory which holds the ZIP file your default directory

   2. Extract the PCSI kit from the ZIP archive.


$ UNZIP "-V" ZLIB-V0101-4-1

   3. Install the Zlib package to your chosen destination.


$ PRODUCT INSTALL zlib  /(default)/

  or ...

$ PRODUCT INSTALL zlib /DESTINATION=dev:[dir]

   4. Finally, use the included |STARTUP.COM| procedure to define the
      necessary logicals.
      (You might want to add this next line to your |SYSTARTUP_VMS.COM|
      file.)


$ @SYS$COMMON:[LIBZ]STARTUP  /(default)/

  or ...

$ @dev:[dir.LIBZ]:STARTUP

Back to Top <#pgTop>
------------------------------------------------------------------------


      LibBZ2 V1.0.2

LibBZ2 is a block-sorting compression/decompression library used by
several software packages, including Python.

By default, the installation procedure installs this library package in
the |SYS$COMMON:[LIBBZ2]| directory. To install it in another directory,
dev:[dir], use the |/DESTINATION| parameter of the |PRODUCT| command. In
this case, the library package will be installed in the
|dev:[dir.LIBBZ2]| directory.


        Installation

   1. Make the directory which holds the ZIP file your default directory

   2. Extract the PCSI kit from the ZIP archive.


$ UNZIP LIBBZ2-V0100-2-1

   3. Install the library package to your chosen destination.


$ PRODUCT INSTALL libbz2  /(default)/

  or ...

$ PRODUCT INSTALL libbz2 /DESTINATION=dev:[dir]

   4. Finally, use the included |STARTUP.COM| procedure to define the
      necessary logicals.
      (You might want to add this next line to your |SYSTARTUP_VMS.COM|
      file.)


$ @SYS$COMMON:[LIBBZ2]STARTUP  /(default)/

  or ...

$ @dev:[dir.LIBBZ2]:STARTUP

Back to Top <#pgTop>
------------------------------------------------------------------------


      MySQL V4.0.13


        Software Requirements

   1. CPQ SSL V1.0-B or V1.1 (available as a free download
      <http://h71000.www7.hp.com/openvms/products/ssl/ssl_terms.html>
      from HP)
   2. JFP ZLIB 1.1-4  /(See above)/ <#zlib>

*New SYSUAF Account*
This installation procedure creates the unprivileged SYSUAF account
|MYSQL_SERVER| to run the server. After installation is complete, you
will want to review the security settings on all volumes, directories,
and files this account will access during operation and adjust them
according to your needs.

By default, the installation procedure installs MySQL in the
|SYS$COMMON:[MYSQL]| directory. To install it in another directory,
dev:[dir], use the |/DESTINATION| parameter of the |PRODUCT| command. In
this case, MySQL will be installed in the |dev:[dir.MYSQL]| directory.


        Installation

   1. Make the directory which holds the ZIP file your default directory
   2. Extract the PCSI kit from the ZIP archive.


$ UNZIP "-V" MYSQL-V0400-13-1

   3. Install MySQL to your chosen destination directory.


$ PRODUCT INSTALL mysql  /(default)/

  or ... 

$ PRODUCT INSTALL mysql /DESTINATION=dev:[dir]

   4. Change the default directory to the VMS-specific directory and run
      the two DCL procedure files, |LOGICALS.COM| and |SYMBOLS.COM|, to
      define the necessary logicals and symbols for MySQL.


$ SET DEFAULT SYS$COMMON:[MYSQL.VMS]  /(default)/

  or ...

$ SET DEFAULT dev:[dir.MYSQL.VMS]

  then ...

$ @LOGICALS "/SYSTEM/EXEC"
$ @SYMBOLS

   5. /(Optional)/ Configure the MySQL package to suit your environment
      by editing the file |MYSQL_ROOT:[VMS]MY.CNF|.
   6. Use the special DCL procedure |FIRST_START_MYSQLD.COM| to start
      the MySQL server for the first time.


$ @[.MYSQL]FIRST_START_MYSQLD

/. . .and wait here a few moments for the database to be created./

   7. Start the MySQL monitor (client).


$ mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.0.13-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

   8. Connect to the master system table and display the existing
      password for ROOT (should be "" at this point).


mysql> use mysql
Database changed
mysql> select Host, User, Password from user;
+-----------+------+----------+
| Host      | User | Password |
+-----------+------+----------+
| localhost | root |          |
+-----------+------+----------+
1 row in set (0.00 sec)

   9. *IMPORTANT!* Define a password for the |ROOT| MySQL account.


mysql> update user set Password=PASSWORD('myrootpassword') where User='root';
Query OK, 0 rows affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> select Host, User, Password from user;
+-----------+------+------------------+
| Host      | User | Password         |
+-----------+------+------------------+
| localhost | root | 6b6403a743ef6b56 |
+-----------+------+------------------+
1 row in set (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.16 sec)
$

  10. /(Optional)/: You must also change the HOST field contents if you
      want to access MySQL from another host using the ROOT account. For
      example, setting HOST to '%' allows access from anywhere.

  11. /(Optional)/: Verify your password and/or host changes took effect.


$ MYSQLADMIN -U ROOT -P STATUS
Enter password:
                Uptime: 25  Threads: 1  Questions: 1  Slow queries: 0  Opens: 6
 Flush tables: 1  Open tables: 0  Queries per second avg: 0.040
$

  12. Shut down the MySQL server process.


mysql> exit
Bye

$ MYSQLADMIN -U ROOT -P SHUTDOWN

$ MYSQLADMIN -U ROOT -P SHUTDOWN   /That's right, quit twice/ :-)

  13. Finally, when you are ready to start the MySQL server again, run
      the DCL procedure |MYSQL_STARTUP.COM|.
      (You might want to add this next line to your |SYSTARTUP_VMS.COM|
      file.)


$ @MYSQL_ROOT:[VMS]MYSQL_STARTUP

You should now have a running MySQL server!

Back to Top <#pgTop>
------------------------------------------------------------------------


      Python V2.3b2

Full documentation and some useful links are available from the Python
for VMS site <http://vmspython.dyndns.org/>.


        Software Requirements

   1. CPQ SSL V1.0-B or V1.1(available as a free download
      <http://h71000.www7.hp.com/openvms/products/ssl/ssl_terms.html>
      from HP)
   2. JFP ZLIB 1.1-4  /(See above)/ <#zlib>
   3. JFP LibBZ2 1.0-2  /(See above)/ <#libbz2>

I *strongly* recommend you install Python on an ODS-5 volume.


        Installation

By default, the installation procedure installs Python in the
|SYS$COMMON:[PYTHON]| directory. To install it in another directory,
dev:[dir], use the |/DESTINATION| parameter of the |PRODUCT| command. In
this case, Python will be installed in the |dev:[dir.PYTHON]| directory.

   1. Make the directory which holds the ZIP file your default directory

   2. Extract the PCSI kit from the ZIP archive.


$ UNZIP "-V" PYTHON-V0203-B2-1

   3. Install Python to your chosen destination.


$ PRODUCT INSTALL python  /(default)/

  or ... 

$ PRODUCT INSTALL python /DESTINATION=dev:[dir]

   4. When you are ready to run Python, use the DCL procedure
      |STARTUP.COM|. This will also run both the |LOGICALS.COM| and the
      |SYMBOLS.COM| procedures listed above to correctly set up the
      Python environment.
      (You might want to add this next line to your |SYSTARTUP_VMS.COM|
      file)


$ @PYTHON_ROOT:[VMS]STARTUP

   5. /(Optional)/: Post-Installation Module Compilation


$ SET DEFAULT PYTHON_VMS
$ @SETUP
$ PYTHON COMPILE_PYTHON_MODULES.PY
$ PYTHON -"OO" COMPILE_PYTHON_MODULES.PY

   6. /(Optional)/: Post-Installation Module Testing

      Currently, 6 tests /should/ fail:
      /test_codecs, test_queue, test_re, test_socket, test_unicode,/ and
      /test_zipimport/


$ SET DEFAULT PYTHON_VMS
$ @SETUP
$ @ALLTESTS

      Back to Top <#pgTop>

      Remember, all PCSI kits listed below are also available from the
      North American mirror site
      <http://erebus.homeip.net/anonymous/kits/> and the Australian
      mirror site <http://ftp.vsm.com.au/jfp/>.

      ------------------------------------------------------------------------


                © Tous droits réservés 2003 Jean-François PIÉRONNE

  Name                                 Revised         Size  Description
------------------------------------------------------------------------

  sources/                    2-Jul-2003 18:44          512  subdirectory

 <libbz2-v0100-2-1.zip?httpd=content&type=text/plain;%20charset%3dISO-8859-1>  libbz2-v0100-2-1.zip        2-Jul-2003 18:44      318,510  ZIP-compressed
 <libgd-v0200-15-1.zip?httpd=content&type=text/plain;%20charset%3dISO-8859-1>  libgd-v0200-15-1.zip        7-Jul-2003 10:13      238,678  ZIP-compressed
 <libjpeg-v0602--1.zip?httpd=content&type=text/plain;%20charset%3dISO-8859-1>  libjpeg-v0602--1.zip        6-Jul-2003 20:41      761,347  ZIP-compressed
 <libpng-v0102-5-1.zip?httpd=content&type=text/plain;%20charset%3dISO-8859-1>  libpng-v0102-5-1.zip        6-Jul-2003 21:37      871,943  ZIP-compressed
 <mysql-v0400-13-1.zip?httpd=content&type=text/plain;%20charset%3dISO-8859-1>  mysql-v0400-13-1.zip        2-Jul-2003 18:44    4,601,563  ZIP-compressed
 <python-v0203-b2-1.zip?httpd=content&type=text/plain;%20charset%3dISO-8859-1>  python-v0203-b2-1.zip       2-Jul-2003 18:44    6,513,691  ZIP-compressed
  readme.html                 7-Jul-2003 09:44       15,396  "KITS Readme"
 <zlib-v0101-4-1.zip?httpd=content&type=text/plain;%20charset%3dISO-8859-1>  zlib-v0101-4-1.zip          2-Jul-2003 18:44      269,863  ZIP-compressed
------------------------------------------------------------------------

<http://wasd.vms.com.au/>