Category Software

How to Install GIT on AIX

Git

After a grueling battle trying to compile GIT from source on an AIX (6.1) machine, I thought I would try to save you some trouble and outline clearly what I had to do.  Please note I initially followed this guide, which gave me a good base, but I had to throw in a few extra tweaks.

First off, you will need to get the following dependencies.  I was able to get most of them from the IBM Linux Toolbox here, and the rest I got from the great people at Perzl.org

Dependencies:

bison-1.875-3.aix5.1.ppc.rpm
coreutils-5.2.1-2.aix5.1.ppc.rpm
expect-5.45-1.aix5.1.ppc.rpm
flex-2.5.4a-6.aix4.3.ppc.rpm
gcc-4.2.0-3.aix6.1.ppc.rpm
gcc-cplusplus-4.2.0-3.aix6.1.ppc.rpm
gdbm-1.8.3-5.aix5.2.ppc.rpm
gettext-0.10.40-8.aix5.2.ppc.rpm
git-git-5bc2dc2
git-git-v1.7.10.2-569-g5bc2dc2.zip
libXft-2.2.0-1.aix5.1.ppc...

Read More

AIX Technology Level (TL) | Maintenance Level Update

Current OS level 

oslevel -s

oslevel -r
Download technology or maintenance level from fix central

IBM Support: Fix Central

AIX -> Version -> FIX PACKS -> wait…

Select the fix pack you would like (with Service Pack)

Start download. Once download is complete, FTP, scp or winscp (Windows) files to the LPAR or the NIM server

To initiate install, use the following commands:
pwd

inutoc .

smitty update_all > directory .

If you don’t want to keep old version:

Make Commit -> Yes

If you want to keep old version as backout plan

Make Commit -> No
Accept License -> YES (otherwise you will have to accept each one manually…its a pain)

The install can take anywhere over an hour so patient…

Reboot LPAR

shutdown -r

Verify the upgrade

oslevel -s

oslevel -r

Read More

Basics of Text Editing in Unix with Vi

Beginner-039-s-Vi-Editor-Guide-2

Vi can either be one of your worst enemies or one of your best friends. Anyone new to unix/linux will typically have a hard time coming to terms with the fact that vi can be both necessary and efficient, especially if you are only used to graphical text editors.

Read More

Install File Sets from NIM on an AIX LPAR

A quick guide on how to install file sets from a NIM server

rsct -> Reliable Scalable Cluster Technology

adt -> Application Development Toolkit

rte -> Run Time Environment

bff -> Backup File Format

rpm -> Red Hat Package Manager

ODM -> Equivalent to Windows Registry

**If filename does not contain *.rpm then it is bff -> IBM file set

Checklist

File Set
Location on NIM
Upgrade or Install

Commands

  • lslpp –l [package] -> list installed packages
  • oslevel –r -> View technology level
  • oslevel –s -> View software level
  • showmount –e [nim server] -> View all exports of NIM server (or any other server)
  • whereis [program] -> Locate program on LPAR
  • which_fileset [name] -> find file set for specific program
  • lslpp –w [full path to program] ->show installed file sets for a program

*...

Read More