Last active
September 20, 2017 16:35
-
-
Save phpdave/9f4090af8b90fa6c3916554b970a63b3 to your computer and use it in GitHub Desktop.
Automate installing ZS91 on your IBM i. Note the zendphp7.savf is 1.5GB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#wget http://downloads.zend.com/zendserver/9.1.0/ZendServer-9.1.0-php-7.1.3-IBM-i.zip | |
wget http://downloads.zend.com/zendserver/9.1.1/ZendServer-9.1.1-php-7.1.7-IBM-i.zip | |
#unzip ZendServer-9.1.0-php-7.1.3-IBM-i | |
unzip ZendServer-9.1.1-php-7.1.7-IBM-i | |
scp zendphp7.savf [email protected]:/tmp/ | |
ssh [email protected] system "\"CPYFRMSTMF FROMSTMF('/tmp/zendphp7.savf') TOMBR('/QSYS.LIB/QGPL.LIB/ZENDPHP7.FILE')\"" | |
ssh [email protected] system "\"SBMJOB CMD(RSTLICPGM LICPGM(7PHPZND) DEV(*SAVF) SAVF(QGPL/zendphp7))\"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CRTSAVF FILE(QGPL/zendphp7) TEXT('Zend Server 9 product save file') | |
#clear it if it already exisits | |
CLRSAVF FILE(QGPL/zendphp7) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment