Interactive Installation

To run an interactive installation:

 

  1. Download the installation package - i5/OS (ZIP) | 2.6.1 - from the Zend Core Download site (http://www.zend.com/en/products/core/downloads).

  2. Extract the Zip file to a temporary directory on your workstation.

  3. Log on to the i5/OS system with a user profile of *SECOFR user class with all special authorities.

  4. Create a SAVF in QGPL under the name ZCORESAVF.
    This can be done by running the following command:

CRTSAVF FILE(QGPL/ZCORESAVF) TEXT(`Zend Core product save file')

  1. Transfer the package by binary FTP to the SAVF ZCORESAVF in QGPL.
    This can be done by executing the following steps:

  1. Verify that FTP is running on your i5/OS system by running the following command and looking for 'FTP' or '21' in the Local Port column:

NETSTAT *CNN

  1. Open a command prompt and change directory to the directory that contains the files you extracted from the ZIP file.

  2. Run the FTP command, specifying the name of your i5/OS system. e.g:

ftp i5_system_name

  1. If requested, enter a valid user profile and password.

  2. Enter the bin command to specify a binary transfer.

  3. Transfer the save file to the i5/OS system by running the following command:

put zcoresavf.savf

  1. When the SAVF is loaded into the i5 QGPL library, return to your 5250 session and run the following command:

RSTLICPGM LICPGM(1ZCORE5) DEV(*SAVF) SAVF(QGPL/ZCORESAVF)

The installation screens will load automatically.

Restore Licensed Program

Welcome Screen

  1. Press Enter to continue or F3 to exit installation.
    The License Agreement will be displayed.

License Agreement

  1. Press Enter to accept the agreement and continue the installation or Press F3 to decline and stop the installation process without completion.
    The Zend Core Web Administration Console password screen will open.

Administration Password Configuration

  1. Enter a Password for the Zend Core Web Administration GUI. Press Enter to continue the installation (or Press F3 to Exit). Do not forget your password.

Zend Network Information

  1. Zend Core for i5/OS users benefit from access to Zend Core's regular Updates and Security Fixes.

Note:

To learn more about Zend Core Support, and to register for a Support Subscription, go to: http://www.zend.com/en/products/core/support.

If you have registered for a Zend Core Support Subscription, press Enter to enter your Zend Core Support Network User ID and Password or F3 to continue with the installation without entering your details.
You will also be able to configure your Zend Core Support Network User ID and Password later using the Zend Core Setup Tool.

To continue the installation without entering your Zend Network Support details, press F3.

  1. If you pressed Enter, the Zend Core Support Network ID password screen will appear.

Zend Network ID and Password

  1. Enter your Zend Core Support Network ID and Password and press Enter to continue.

  1. The program will now be installed.

Installation Complete

  1. This completes the installation of Zend Core for i5/OS.  

Note:

You can access the Zend Updater at any time using the following command:
GO ZENDCORE/ZCMENU

  1. Press Enter to continue.

  2. Zend Core for i5/OS comes bundled with a MySQL database.
    You will now be prompted to install it.

Note:

V5R4 OS and above is required for the MySQL database to run.
In addition, MySQL must be installed by QSECOFR.

MySQL Installation

                       MySQL installation (optional)

Press ENTER to start MySQL installation or press F3 to skip
MySQL installation

F3=Exit
 

    MySQL Installation Option                                            

  1. Press Enter to start the MySQL installation or F3 to skip MySQL installation.

Note:

You can install the MySQL database later using the Setup Tool.
To install MySQL following installation:

1. Open the Setup Tool by running the command go zendcore/zcmenu in your i5/OS emulation screen.
2. Select Option 6 - MySQL management menu.
3. You will be prompted to install the MySQL database.
Note
: MySQL must be installed by QSECOFR.

  1. If you pressed Enter and MySQL is already installed in the directory /usr/local/MySQL, the following prompt will appear:

                       MySQL installation (optional)

MySql is already installed.

F3=Exit                                                          

MySQL already installed

  1. If this prompt has appeared, MySQL is already installed. Press F3 to finish the installation.

  2. If MySQL has not been previously installed, it will be installed now:

                       MySQL installation (optional)

MySQL is being installed and configured.
Please wait ...                         

F3=Exit

MySQL installation

  1. A dialog will appear reminding you to set a password for the MySQL root user:

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !          
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h ZEND825.ZEND.NET password 'new-password'         
See the manual for more instructions.                                        
You can start the MySQL daemon with:                                         
cd . ; ./bin/mysqld_safe &                                                                                                                                 
You can test the MySQL daemon with mysql-test-run.pl                         
cd mysql-test ; perl mysql-test-run.pl                                                                                                                    
Please report any problems with the ./bin/mysqlbug script!                   

The latest information about MySQL is available on the web at                
http://www.mysql.com                                                         
Support MySQL by buying support/licenses at http://shop.mysql.com            
Press ENTER to end terminal session.                                         

MySQL Instructions

In addition to the instructions in the dialog, the MySQL Daemon can later be stopped/started through the Zend Core Setup Tool.

 

 

Instructions on how to complete a procedure

To start/stop your MySQL Deamon (after the MySQL installation):

  1. Open the Zend Core for i5 Setup Tool by running the following command:

go zendcore/zcmenu

  1. Select Option 6 -  MySQL Management Menu.

  2. In the following screen, select Option 4 - Start MySQL daemon or Option 5 - Stop MySQL daemon.

  1. Press Enter to continue.

                       MySQL installation (optional)

MySQL is installed in directory /usr/local/MySql
and library ZMYSQL                                                                      

F3=Exit  

MySQL Installation Confirmation

  1. A confirmation message will appear stating the location of your MySQL installation.
    See the 'Testing your MySQL Connection using Zend Studio', section, below, for more on connecting to the MySQL database.

  2. Press F3 to finish and exit the installation process.

Testing your MySQL Connection using Zend Studio

If you installed MySQL, you can use Zend Studio in order to test your MySQL connection and access your database.

Note:

See http://www.zend.com/en/products/studio/for-i5os for more on Zend Studio for i5/OS.

 

 

Instructions on how to complete a procedure

To test your MySQL connection:

  1. Open Zend Studio.

  2. From Studio's File Manager, click the SQL tab.

  3. Right-click and select the Add SQL Server option.
    The Add SQL Server dialog will appear.

Add SQL Server Dialog

  1. Enter the SQL Server Settings in the fields.
    The settings include:

  2. Server Type - Select MySQL.

  3. Server Name (Alias) - Enter a server name. This will appear on the SQL Tree (of the File Manager).

  4. Host Name/IP - Enter your server address.

  5. Port - When you choose a Server Type, the default port appears in this field automatically.

  6. Database Name - Enter 'mysql'.

  7. User Name - Enter the default password 'root'.

  8. Password - Leave the password field blank.

  1. Click Test to attempt to connect to the SQL Server using the settings and connections currently entered in the Add SQL Server dialog box.
    If the connection is successful, a 'Connection Successful' dialog will appear.

  2. Click OK.
    Your SQL Server will be added to the SQL tab, and you will be able to view and access the tables contained in it.

 

See the Zend Studio for i5/OS User Guide for more information.

Note:

To uninstall MySQL:
1. Stop the ZMYSQL subsystem.
2. Delete ZMYSQL library.
3. Remove  the /usr/local/mysql-5.0.45-i5os-power-64bit directory.
4. Remove  the /usr/local//mysqldata  directory.
5. Remove the /usr/local/mysql link.
See http://dev.mysql.com/doc/refman/5.0/en/installation-i5os.html for more information.