Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Instalingl Yum on IBM i
#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
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
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
@kadler

This comment has been minimized.

Copy link

@kadler kadler commented Jan 24, 2019

You can use http or https urls now, though the ACS installer and SQL installer still require FTP to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment