
Sudo chown -R nexus:nexus /app/sonatype-work sudo adduser nexusĬhange the ownership of nexus files and nexus data directory to nexus user. So create a new user named nexus to run the nexus service. Step 5: As a good security practice, it is not advised to run nexus service with root privileges. You can get the latest download links fo for nexus from here. Step 3: Create a directory named app and cd into the directory. Step 2: Install OpenJDK 1.8 sudo yum install java-1.8.0-openjdk.x86_64 -y Step 1: Login to your Linux server and update the yum packages. Note: This was tested on a Redhat machine and it will work on Centos or related Linux flavors as well. This article guides you to install and configure Sonatype Nexus 3 in a secure way on an ec2 Linux System. Check out the official system requirements document for detailed information Sonatype Nexus 3 on Linux ec2 Note: For production setup, please consider minimum production hardware requirements based on the nexus usage and data storage. All Nexus processes should run as a non-root nexus user.Server firewall opened for port 22 & 8081.It effectively manages deployable artifacts.

It is some tool that you cannot avoid in your CI/CD pipeline. Sonatype Nexus is one of the best open-source artifact management tools.
