I created this simple short shell script to download the current version of Zend Server for IBM i. Unzip the downloaded zip file and then securely copy the save file to the savf ZENDPHP7 in the QGPL library. Then we send a remote system command to submit a job to batch to silently restore the savf file. You’ll have to wait for the batch job to run but afterward it finishes ZS9.1 will be installed in /usr/local/zendphp7
#get the shell script from the gist
wget https://gist.githubusercontent.com/phpdave/9f4090af8b90fa6c3916554b970a63b3/raw/1987d10ad25c885b7a4ebd26523cecce9dba50b1/InstallZS91onIBMi.sh
#modify the user name and IBM i name
vim InstallZS91onIBMi.sh
#Add execute permission to the owner of the file
chmod o+x InstallZS91onIBMi.sh
#run the shell script
./InstallZS91onIBMi.sh
InstallZS91onIBMi.sh Source
|
CRTSAVF FILE(QGPL/zendphp7) TEXT('Zend Server 9 product save file') |
|
#clear it if it already exisits |
|
CLRSAVF FILE(QGPL/zendphp7) |
Like this:
Like Loading...