PCSI Kits of Open Source Software for OpenVMS
A North American
mirror site
and an Australian
mirror site are also available.
If you wish to compile the software yourself, complete source
packages are available
here or from the
North American mirror site.
Zlib V1.2.1
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
- Make the directory which holds the ZIP file your default directory
- Extract the PCSI kit from the ZIP archive.
$ UNZIP "-V" ZLIB-V0102-1-1
|
- Install the Zlib package to your chosen destination.
$ PRODUCT INSTALL zlib (default)
or ...
$ PRODUCT INSTALL zlib /DESTINATION=dev:[dir]
|
- Finally, run the DCL procedure
STARTUP.COM to define the necessary logicals.
(You might want to add the relevant line to your SYSTARTUP_VMS.COM file.)
$ @SYS$COMMON:[LIBZ]STARTUP (default)
or ...
$ @dev:[dir.LIBZ]:STARTUP
|
Back to Top
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
- Make the directory which holds the ZIP file your default directory
- Extract the PCSI kit from the ZIP archive.
$ UNZIP "-V" LIBBZ2-V0100-2-1
|
- Install the library package to your chosen destination.
$ PRODUCT INSTALL libbz2 (default)
or ...
$ PRODUCT INSTALL libbz2 /DESTINATION=dev:[dir]
|
- Finally, run the DCL procedure
STARTUP.COM to define the necessary logicals.
(You might want to add the relevant line to your SYSTARTUP_VMS.COM file.)
$ @SYS$COMMON:[LIBBZ2]STARTUP (default)
or ...
$ @dev:[dir.LIBBZ2]:STARTUP
|
Back to Top
MySQL V4.0.17
Software Requirements
- CPQ SSL V1.0-B or V1.1 (available as a free
download from HP)
- JFP ZLIB 1.1-4 or ZLIB 1.2.1 (See above)
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
- Make the directory which holds the ZIP file your default directory
- Extract the PCSI kit from the ZIP archive.
$ UNZIP "-V" MYSQL-V0400-17-1
|
- Install MySQL to your chosen destination directory.
$ PRODUCT INSTALL mysql (default)
or ...
$ PRODUCT INSTALL mysql /DESTINATION=dev:[dir]
|
- 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
|
- (Optional) Configure the MySQL package to suit your environment
by editing the file
MYSQL_ROOT:[VMS]MY.CNF .
- Run 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.
|
- Run the special DCL procedure
MYSQL_PRIVILEGES.COM to create
the system tables.
$ @[.MYSQL]MYSQL_PRIVILEGES
|
- 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.17-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
|
- 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)
|
- 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)
$
|
- (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.
- (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
$
|
- Shut down the MySQL server process.
mysql> exit
Bye
$ MYSQLADMIN -u ROOT -p SHUTDOWN
$ MYSQLADMIN -u ROOT -p SHUTDOWN That's right, quit twice :-)
|
- Finally, run the DCL procedure
MYSQL_STARTUP.COM .
(You might want to add this line to your SYSTARTUP_VMS.COM file.)
$ @MYSQL_ROOT:[VMS]MYSQL_STARTUP
|
You should now have a running MySQL server!
Back to Top
Python V2.3.3
Full documentation and some useful links are available from the
Python for VMS site.
Software Requirements
- CPQ SSL V1.0-B or V1.1(available as a free download from HP)
- JFP ZLIB 1.1-4 or ZLIB 1.2.1 (See above)
- JFP LibBZ2 1.0-2 (See above)
I strongly recommend you install Python on an ODS-5 volume.
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.
Installation
- Make the directory which holds the ZIP file your default directory
- Extract the PCSI kit from the ZIP archive.
$ UNZIP "-V" PYTHON-V0203-3-1
|
- Install Python to your chosen destination.
$ PRODUCT INSTALL python (default)
or ...
$ PRODUCT INSTALL python /DESTINATION=dev:[dir]
|
- Finally, run the DCL procedure
STARTUP.COM .
(You might want to add this line to your SYSTARTUP_VMS.COM file.)
$ @PYTHON_ROOT:[VMS]STARTUP
|
Shared Images
|
The STARTUP.COM procedure runs two other DCL procedures: LOGICALS.COM , to set up the correct Python logicals; and INSTALL_DYNAMICS_MODULES.COM
which uses the VMS INTALL command to load Python modules as shared
images (requires CMKRNL privileges). By default, no modules are
INSTALL'ed as shared images. |
- (Optional): Post-Installation Module Compilation
$ SET DEFAULT PYTHON_VMS
$ @SETUP
$ PYTHON COMPILE_PYTHON_MODULES.PY
$ PYTHON -"OO" COMPILE_PYTHON_MODULES.PY
|
- (Optional): Post-Installation Module Testing
$ SET DEFAULT PYTHON_VMS
$ @SETUP
$ @ALLTESTS
|
Module Testing Results
|
Currently, 3 tests should fail:
test_codecs, test_re and test_unicode
|
Remember, all PCSI kits listed below are also available from the North American
mirror site and the Australian mirror site.
Back to Top
© Tous droits réservés
2003 Jean-François PIÉRONNE
|