[[aix]]
 

AIX GNU Software

Smit, Smit and Smit again. Do everything through smit, or smitty.

Mounting a CDROM

mount -v cdrfs -r /dev/cd0 /cdrom

Package installation for .rte packages

installp -d . packagename.rta

C and C++ Compiler

On a new install of AIX and the C/C++ compilers, you find that cc doesn’t produce executables, and configure scripts report “/usr/vac/exe/xlcentry: signal 11 received” in the config.log. The fix:

cd /usr/vac
more cforaix_n.lic.
  • Copy the line about 5 lines down that contains the long serial number. Paste it into /var/ifor/nodelock.
  • Do the same in /usr/vacpp for the C++ compiler.
  • Do the same in /usr/lpp for the fortran compiler.

CC now produces executables!

OpenSSH passwordless logins

On most platforms, you put a hostkey in /usr/local/etc/ssh/ssh_known_hosts, change sshd_config to have

RSAAuthentication yes
RhostsAuthentication no
RhostsRSAAuthentication yes
IgnoreRhosts no 

and add an auth’d key to ~root/.ssh/authorized_keys, restart SSHD and you can ssh in as root without a password.

On AIX you need to add “StrictMode no” to sshd_config as it whinges about directory permissions, for what seems like no good reason.

chlicense -u 128
 
aix.txt · Last modified: 2006/10/01 20:23 by gavin
 
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki