Can I run Nexus Repository 2 Pro on AIX?

Visit my.sonatype.com for documentation on Nexus Repository version 2.

AIX is not an officially supported platform, and its use is discouraged.

However, we recognize that in some cases it is the only option, so we do provide paid support to customers who want to run on AIX.  In this case we reserve the right to have issues reproduced on a supported OS if we have reason to believe a problem is due to the platform.

To get Nexus Repository 2 running on AIX unpack aix-ppc-nexus-2.tgz  in <nexus_root>/bin/jsw.

You'll also need to make a small change to <nexus_root>/bin/nexus startup script.

Look for this section:

 

# Extra architecture detection

case "$DIST_OS" in
    'macosx')
        if [ `sysctl hw.cpu64bit_capable | awk '{ print $2 }'` = '1' ]; then
            DIST_BITS=64
        fi
        DIST_ARCH='universal'
        ;; esac


And change it to this: 

# Extra architecture detection
case "$DIST_OS" in
    'macosx')
        if [ `sysctl hw.cpu64bit_capable | awk '{ print $2 }'` = '1' ]; then
            DIST_BITS=64
        fi
        DIST_ARCH='universal'
        ;;     'aix')        DIST_BITS=`getconf KERNEL_BITMODE`
esac

Note: You'll also need to make sure the Java version on your system is IBM Java 7 (Java 6 will not work).

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.