bootlist -m normal cd0 # selects /dev/cd0 bootlist -m normal -o # for control shutdown -Frto start installation from CD/DVD device
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 Optionsthe 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=22), so stay away from it if you don't need it.
chcons /dev/vty0to redirect the console appropriately as soon as the first installation step is completed.
Add several 100MB for default paging space.
smittytool 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
Esc-4) to get a list of software to install. Select, start preview and check space requirements and prerequisites.
Tabkey to switch to
PREVIEW only? (install operation will NOT occur) no +and install for real.
PEX-PHIGS. Just everything, if not short on disk space, otherwise select only the more popular gfx adapters,
X11stuff. 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.adt(make et al.),
bos.compat(termcap et al.),
bos.dosutil(MS-DOS floppy support),
bos.games(pretty much empty),
bos.sysmgt(except NIM master, GUI, spot),
mtools(AIX 5.1 only)
ppexprofiler (AIX >=5.2)
printersstuff, just everything, but at least HP JetDirect and LaserJet printer support
mkisofs(if not in base install)
xlsmp(runtimes for Fortran and SMP, respectively), if needed
opensshstuff, AIX 5.2 only. An appropriate version of
opensslhas 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.
netsecfileset holds the tcpwrappers package. If installed, don't forget to configure it to allow remote logins.
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.confdisable all unnecessary insecure services, such as
shell(rshd) is needed by LoadLeveler and various administration tools. If the machine should offer boot services,
tftpmust be enabled as well. Activate changes by
refresh -s inetd
chmod o-x /usr/bin/ypcat
:') at the beginning of the line:
:writesrv :imnss :imqss :l2 ... :l9
httpdliteis needed for documentation display, otherwise it should be disabled too.
l2entry might be needed for services such as
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.
YPBIND_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
installpdepots or even remotely mounted CDs:
installpstuff, 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-0823referring to Service Pack 01 for AIX 6.1, Technology Level 01, issued in week 23 of 2008:
oslevel -rto determine the actual patch level. The installation as described so far takes approximately (in MB):
rootvgshould be mirrored, either now or later.