[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[dash-dev] Installing Nexus 1.8.0.1
|
Hello,
To get us started, I'm now installing Nexus 1.8.0.1. The update to 1.9
should be easy.
Here is the full installation log:
Installation protocol
-----
I created the user "nexus", group "nexus"
# groupadd nexus
# useradd -g nexus -m -c "Nexus Service" nexus
-----
I copied the SSH keys from ~admin to ~nexus
# cd ~nexus
# cp -r /home/admin/.ssh .
# chown nexus:nexus .ssh/
-----
Logging in as "nexus" works from remote. I'm using this in my ~/.ssh/config:
Host nexus
HostName maven.eclipse.org
User nexus
ForwardAgent yes
-----
I created the scripts "vi" and "vim" for root. They create a backup of
any edited file in /root/vibak/
That makes it much more simple to find the answer to these two questions:
1. Who changed something in the last three days?
2. What changed?
3. If I need to set up a new server, what do I have to change
-----
As user "nexus":
I downloaded Nexus 1.8.0.1
> wget
http://nexus.sonatype.org/downloads/older/nexus-oss-webapp-1.8.0.1-bundle.tar.gz
> wget
http://nexus.sonatype.org/downloads/older/nexus-oss-webapp-1.8.0.1-bundle.tar.gz.sha1
-----
Checked the SHA1 sum:
> sha1sum nexus-oss-webapp-1.8.0.1-bundle.tar.gz
Unfortunately, the sha1-file isn't suitable as input for sha1sum. But
the numbers seem to match.
-----
Unpacking Nexus
> tar xzf nexus-oss-webapp-1.8.0.1-bundle.tar.gz
-----
Creating a symbolic link to the current version of Nexus
> ln -s nexus-oss-webapp-1.8.0.1 nexus-current
-----
Creating a symbolic link for the start script of Nexus
> ln -s $HOME/nexus-current/bin/jsw/linux-x86-64/nexus bin
Checking Java version:
> java -version
libnuma: Warning: /sys not mounted or no numa system. Assuming one node:
Datei oder Verzeichnis nicht gefunden
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr8fp1-20100624_01(SR8 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64
jvmxa6460sr8ifx-20100609_59383 (JIT enabled, AOT enabled)
J9VM - 20100609_059383
JIT - r9_20100401_15339ifx2
GC - 20100308_AA)
JCL - 20100624_01
I'm not really happy with the "libnuma" warning but I'm not trying to
fix this right now.
-----
Installing Nexus (following the instruction at
http://www.sonatype.com/books/nexus-book/reference/ch03s02.html)
Done already with the links and stuff above.
-----
Configuring Nexus
I was thinking about changing the port from 8081 to 80 but then, we'd
need to run Nexus as root. I think I'll install a web server that
redirects the requests.
-----
Starting nexus
> nexus start
Starting worked. But I couldn't connect with
http://maven.eclipse.org:8081/nexus/
The firewall doesn't let me in.
-----
Regards,
--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://blog.pdark.de/