Zlib | LibBZ2 |
MySQL | Python |
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 is a compression/decompression library used by several
software packages, including MySQL and Python.
By default, the installation procedure places the ZLib
library files in the SYS$COMMON:[LIBZ]
directory. Alternatively,
users can specify a parent directory of their choice, dev:[dir], and
the library files will be installed in the dev:[dir.LIBZ]
directory.
First, extract the PCSI kit from the ZIP archive into the current default directory.
$ UNZIP ZLIB-V0101-4-1.ZIP
Install the package in either (a) its default location of SYS$COMMON:[LIBZ]
,
or (b) in a location of your choice.
$ PRODUCT INSTALL zlib
(default)
$ PRODUCT INSTALL zlib /DESTINATION=dev:[dir]
Finally, define the necessary ZLib logicals according
to your previous choice of location.
(You might want to add this
next line to your SYSTARTUP_VMS.COM
file.)
$ @SYS$COMMON:[LIBZ]STARTUP
(default)
$ @dev:[dir.LIBZ]:STARTUP
LibBZ2 is a block-sorting compression/decompression library used by several software packages, including Python.
By default, the installation procedure places the LibBZ2
library files in the SYS$COMMON:[LIBBZ2]
directory. Alternatively,
users can specify a parent directory of their choice, dev:[dir], and
the library files will be installed in the dev:[dir.LIBBZ2]
directory.
First, extract the PCSI kit from the ZIP archive into the current default directory.
$ UNZIP LIBBZ2-V0100-2-1
Install the package in either (a) its default location of SYS$COMMON:[LIBBZ2]
,
or (b) in a location of your choice.
$ PRODUCT INSTALL libbz2
(default)
$ PRODUCT INSTALL libbz2 /DESTINATION=dev:[dir]
Finally, define the necessary LibBZ2 logicals according
to your previous choice of location.
(You might want to add this next line
to your SYSTARTUP_VMS.COM
file.)
$ @SYS$COMMON:[LIBBZ2]STARTUP
(default)
$ @dev:[dir.LIBBZ2]:STARTUP
By default, this procedure installs MySQL in the
SYS$COMMON:[MYSQL]
directory. Alternatively, users can specify
a parent directory of their choice, dev:[dir], and MySQL will be
installed in the dev:[dir.MYSQL]
directory.
This installation procedure creates the unprivileged SYSUAF account, MYSQL_SERVER, to run the server. |
First, extract the PCSI kit from the ZIP archive into the current default directory.
$ UNZIP "-V" MYSQL-V0400-13-1
Install the package in either (a) its default location of SYS$COMMON:[MYSQL]
,
or (b) in a location of your choice.
$ PRODUCT INSTALL mysql
(default)
$ PRODUCT INSTALL mysql /DESTINATION=dev:[dir]
Next, define the necessary MySQL logicals and symbols.
$ SET DEFAULT dev:[dir.MYSQL.VMS]
$ @LOGICALS "/SYSTEM/EXEC"
$ @SYMBOLS
If you wish, configure the MySQL package to suit your environment
by editing the file MYSQL_ROOT:[VMS]MY.CNF
.
Next, use this special procedure to start the MySQL server.
$ @[.MYSQL]FIRST_START_MYSQLD
. . .and wait here a few moments for the database to be created.
Set up the MySQL system database.
$ @[.MYSQL]MYSQL_PRIVILEGES
...and then shut down the MySQL server in preparation for a restart.
$ MYSQLADMIN -U ROOT SHUTDOWN
That's right, quit twice :-)
$ MYSQLADMIN -U ROOT SHUTDOWN
Finally, start the MySQL server with its normal startup procedure.
(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!
Full documentation and some useful links are available from the Python for VMS site.
Python must be installed on an ODS-5 volume.
By default, this procedure installs Python in the
SYS$COMMON:[PYTHON]
directory. Alternatively, users can specify
a parent directory of their choice, dev:[dir], and Python will be
installed in the dev:[dir.PYTHON]
directory.
First, extract the PCSI kit from the ZIP archive.
$ UNZIP "-V" PYTHON-V0203-B1-1
Install the package in either (a) its default location of SYS$COMMON:[PYTHON]
,
or (b) in a location of your choice.
$ PRODUCT INSTALL python
(default)
$ PRODUCT INSTALL python /DESTINATION=dev:[dir]
Start Python.
(You might want to add this next line to your SYSTARTUP_VMS.COM
file.)
$ @dev:[dir.PYTHON.VMS]STARTUP
$ SET DEFAULT dev:[dir.PYTHON.VMS]
$ @SETUP
$ PYTHON COMPILE_PYTHON_MODULES.PY
$ PYTHON -"OO" COMPILE_PYTHON_MODULES.PY
Currently, 6 tests fail:
test_codecs, test_queue, test_re, test_socket,
test_unicode, and test_zipimport
$ SET DEFAULT dev:[dir.PYTHON.VMS]
$ @SETUP
$ @ALLTESTS
Remember, all PCSI kits listed below are also available from the North American mirror site and the Australian mirror site.