-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 3.10.0
-
Fix Version/s: None
-
Component/s: Bootstrap
-
Labels:None
-
Environment:Ubuntu Server 16.04, Java 8 oracle installed.
I'm currently trying to setup a nexus oss release 3 on my ubuntu server 16.04 with no success.
I just tried following the official documentations. As requirements it says I only need Java Oracle 8 which I successfully downloaded and installed:
nexus@ip-172-31-41-41:/opt/nexus/bin$ javac -version javac 1.8.0_161 nexus@ip-172-31-41-41:/opt/nexus/bin$ java -version java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
Downloaded and the latest release:
nexus@ip-172-31-41-41:/home/ubuntu$ ls -lrt total 110660 -rw-rw-r-- 1 ubuntu ubuntu 113305813 Apr 5 14:50 latest-unix.tar.gz drwxrwxr-x 9 ubuntu ubuntu 4096 Apr 17 14:58 nexus-3.10.0-04 drwxrwxr-x 3 ubuntu ubuntu 4096 Apr 17 14:58 sonatype-work
I copied both folders to /opt/:
nexus@ip-172-31-41-41:/opt$ ls -lrt total 8 drwxr-xr-x 8 nexus nexus 4096 Apr 17 15:01 nexus drwxr-xr-x 3 nexus nexus 4096 Apr 17 15:01 sonatype-work
Created a "nexus" user and modified owner to both folders as you can see in the latest output.
Also edited the nexus/bin/nexus with the following:
INSTALL4J_JAVA_HOME_OVERRIDE=/usr/lib/jvm/java-8-oracle
run_as_user='nexus'
If I start nexus:
nexus@ip-172-31-41-41:/opt/nexus/bin$ ./nexus start Starting nexus nexus@ip-172-31-41-41:/opt/nexus/bin$ ./nexus status Error: Could not find or load main class com.install4j.runtime.launcher.UnixLauncher nexus@ip-172-31-41-41:/opt/nexus/bin$ wget 127.0.0.1:8081 --2018-04-17 15:46:01-- http://127.0.0.1:8081/ Connecting to 127.0.0.1:8081... failed: Connection refused. nexus@ip-172-31-41-41:/opt/nexus/bin$ wget 127.0.0.1:8081/nexus --2018-04-17 15:46:17-- http://127.0.0.1:8081/nexus Connecting to 127.0.0.1:8081... failed: Connection refused.
I don't know what else should I do.
Any help would be appreciate.