bootlist -m normal cd0 # selects /dev/cd0 bootlist -m normal -o # for control shutdown -Frto start installation from CD/DVD device
/dev/cd0.
Migration (upgrades the OS, but keeps everything else) Overwrite (installs fresh OS, wipes the installation disk) System Settings,
carefully inspect the offered choices for the installation disk.
If there are multiple disks in the system,
there's a subtle difference between these two:
Disk Where You Want to Install.....hdisk0 Disk Where You Want to Install.....hdisk0...The first one will install just on disk
hdisk0,
whereas the second one will scatter the system across all disks,
which most often is not what you want.
Install Options the defaults are sufficient, but one
may choose in addition
Security Hardening Wizard). However,
even the lowest level above the default may change
"well known" behaviour (e.g. umask=77 rather than umask=22),
so stay away from it if you don't need it.
smitty or
chcons /dev/vty0to redirect the console appropriately as soon as the first installation step is completed.
| Version | /usr | /var | / | /opt | rootvg (w/o paging) |
|---|---|---|---|---|---|
| 5.1 | 600 | 24 | 16 | 24 | 1200 |
| 5.2 | 1000 | 16 | 16 | 64 | |
| 5.3 | 1500 | 160 | 80 | 128 | 2700 |
| 7.1 | 2300 | 512 | 512 | 512 |
Add several 100MB for default paging space.
smitty tool to select installation media
and additional SW to be installed:
Software Installation and Maintenance - Install and Update Software - Install Software INPUT device / directory for software [/dev/cd0]assuming the standard CD/DVD device.
* INPUT device / directory for software /dev/cd0 * SOFTWARE to install [_all_latest] + PREVIEW only? (install operation will NOT occur) yes + ACCEPT new license agreements? yes +and use
F4 (or Esc-4) to get a list
of software to install. Select, start preview and check space requirements and prerequisites.
Tab key to switch to
PREVIEW only? (install operation will NOT occur) no +and install for real.
OpenGL and PEX-PHIGS.
Just everything, if not short on disk space, otherwise select only the more
popular gfx adapters,
X11 stuff. If you're short on disk space,
leave out fonts you don't need. Skip help files in languages
other than the one you're using on the system.
bos.INed (legacy editor),
bos.adt (make et al.),
bos.compat (termcap et al.),
bos.cifs_fs (samba filesystem),
bos.clvm,
bos.compat,
bos.cpr (for LoadLeveler),
bos.dosutil (MS-DOS floppy support),
bos.games (pretty much empty),
bos.iconv,
bos.net,
bos.perf,
bos.sysmgt (except NIM master, GUI, spot),
bos.terminfo,
bos.txt (TranScript tools).
eclipse2 glvm stuff ifor stuff mtools (AIX 5.1 only) openssh and openssl stuff
perfagent.tools perl stuff ppe xprofiler (AIX >=5.2) printers stuff, just everything, but at least HP JetDirect and LaserJet printer support rpm, cdrecord, mkisofs (if not in base install) xlfrte and xlsmp (runtimes for Fortran and SMP, respectively), if neededJava5, Java6 stuff, clic, des stuff, lsof, netsec (AIX >=5.3), openssh stuff, AIX 5.2 only.
An appropriate version of openssl has to be
installed first, taken from elsewhere, e.g. from an AIX Toolbox for Linux Applications CD.
As of the time of this writing,
the IBM site doesn't seem to carry these filesets anymore.
sysmgt security, tts. netsec fileset holds the
tcpwrappers package.
If installed, don't forget to configure
it to allow remote logins.
smitty.
mkdir /cdrom; mount -r -v cdrfs /dev/cd0 /cdrom
cd /cdrom
./runAIX # Requires JVM, 128MB free space in /tmp, GUI.
# Installs into /opt/IBM/aix
# Simply answer the menu questions.
cd ..; umount /cdrom
mkdir /cdrom; mount -r -v cdrfs /dev/cd0 /cdrom /cdrom/aix32.bin -console # requires 2..4GB in /tmp, +1.2GB in /opt cd ..; umount /cdrom
mkdir /cdrom; mount -r -v cdrfs /dev/cd0 /cdrom
/cdrom/install.bin # might need GUI
# requires +1GB in /opt, to be increased manually before!
cd ..; umount /cdrom
/etc/inetd.conf disable all unnecessary insecure services,
such as
ftp, telnet, login, exec,
ttdbserver,
xmquery,
dtspcd,
cmsd,
etc.
shell (rshd) is needed by LoadLeveler and various administration
tools.
If the machine should offer boot services,
bootps and tftp must be enabled as well.
Activate changes by
refresh -s inetd
chmod o-x /usr/bin/ypcat
/etc/rc.tcpipsnmpd and dpid2.
/etc/inittab :') at the beginning of the line:
:writesrv :imnss :imqss :l2 ... :l9
httpdlite is needed for documentation display,
otherwise it should be disabled too.
l2 entry might be needed for services such as sshd.
cons:0123456789:respawn:/usr/sbin/getty /dev/console rcnfs:2:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemonsotherwise the machine won't boot if NIS can't be activated.
/etc/environmentYPBIND_MAXWAIT=5causing NIS clients to wait no longer than 5 seconds for their server, e.g. to avoid "hangs" in case of network unavailability.
shutdown -Frand once it is back, use the Installation Assistant to complete the remaining tasks (root password, IP).
rootvg), in order to allow minimum functionality of a
standalone system.
They are indicated (as L) in the
software catalogue.
Such software
may stem from various sources, e.g. AIX Bonus and other
extra CDs, local software archives, mounted installp
depots or even remotely mounted CDs:
installp stuff, GSI only):
mount -r biops5z:/applfs/applb00 /mnt # IBM stuff in AIX/??/usr/sys/inst.images
# other stuff in AIX/??
/mnt/AIX/53/installopt.sh # home grown local installation script for AIX 5.3
/mnt/AIX/61/installopt.sh # home grown local installation script for AIX 6.1
/mnt/AIX/71/installopt.sh # home grown local installation script for AIX 7.1
mount clri6l:/usr/sys/inst.images /mnt smitty - Install software - ... # specify /mnt as the installation directory
mount -v 'cdrfs' -r /dev/cd0 /cdrom # CD-ROM on bioxxxx mount bioxxxx:/cdrom/usr/sys/inst.images /mnt # smitty - Install software - ... # specify /mnt as the installation directory
wget -m --retr-symlinks ftp://delivery04-mul.dhe.ibm.com/ecc/hsb/H36684769to get all patch file sets for the selected Technology Level / Service Pack.
6100-01-01-0823
referring to Service Pack 01 for AIX 6.1, Technology Level 01,
issued in week 23 of 2008:
http://www-933.ibm.com/eserver/support/fixes/fixcentral/pseriesfixpackinformation/6100-01-01-0823
oslevel -rto determine the actual patch level. The installation as described so far takes approximately (in MB):
| Version | /usr | /var | / | /opt | rootvg (w/o paging) |
|---|---|---|---|---|---|
| 5.2 | 2400 | 16 | 16 | 640 | |
| 5.3 | 4000 | 350 | 256 | 2000 | 7000 |
| 7.1 | 4300 | 512 | 384 | 2300 | 9700 |
rootvg
should be mirrored, either now or later.