Last active
January 24, 2019 23:20
-
-
Save phpdave/3162b96ed8fc613b078190b8f648faba to your computer and use it in GitHub Desktop.
Instalingl Yum on IBM i
This file contains 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
#1. Download the entire directory at ftp://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo | |
#2. Upload the entire directoy to IBM i ifs | |
#3. Change the baseurl in /QOpenSys/etc/yum/repos.d/ibm.repo to point to ifs directory | |
# FROM: baseurl=ftp://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo | |
# TO: baseurl=file:///path/to/local/repo | |
# EXTO: baseurl=file:///QOpenSys/etc/yum/IBMRepoLocalMirror/repo | |
vi /QOpenSys/etc/yum/repos.d/ibm.repo |
This file contains 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 ftp://public.dhe.ibm.com/software/ibmi/products/pase/rpms/bootstrap.sql | |
system -i "RUNSQLSTM SRCSTMF('bootstrap.sql') COMMIT(*NONE)" | |
ls /tmp | |
cat /tmp/bootstrap.log | |
system -i "QSH CMD('touch -C 819 /tmp/bootstrap.log; /QOpenSys/usr/bin/ksh /tmp/bootstrap.sh > /tmp/bootstrap.log 2>&1')" | |
ls /tmp | |
cat /tmp/bootstrap.log |
This file contains 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
ftp://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/repodata/repomd.xml: [Errno 12] Timeout on ftp://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/repodata/repomd.xml: (28, 'Connection timed out after 30031 milliseconds') | |
Trying other mirror. | |
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ibm. Please verify its path and try again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use http or https urls now, though the ACS installer and SQL installer still require FTP to work.