Add the “ec2-user” and remove the “#” from the file: sudo vi /opt/nexus3/bin/nexus.rc run_as_user=”ec2-user” Step 9: Now, let’s configure Nexus as a Service. sudo mv nexus-3.28.1-01 nexus3 Step 7: Change the Permissions of the Nexus directories, so we can run them with our ec2-user sudo chown -R ec2-user:ec2-user /opt/nexus3 sudo chown -R ec2-user:ec2-user /opt/sonatype-work Step 8: Instruct Nexus to use the ec2-user to run Nexus by updating the nexus.rc file. Step 6: Rename the tar file to make it easier to use, using the latest Nexus build from the last command sudo mv nexus-X.XX.X-XX nexus3Į.g. Note: Copy the Nexus build version extracted by the tar command. The minimum version is Java 8, so let’s install it: sudo yum -y install java-1.8.0-openjdk Step 2: Verify that Java was installed successfully: java -version Step 3: Change directory to the OPT directory, where we are going to install Nexus cd /opt Step 4: Download the latest Nexus 3 build tar file sudo wget Step 5: Unzip the file sudo tar -xf You already SSH or PUTTY into your instanceĭownload link for the latest LINUX version:.The Security Groups in your instance has the 8081 PORT open.You already have an AWS EC2 LINUX 2 ( minimum size t2.medium) Instance Up and Running.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |