
Save and exit the file once you have made the changes. To for example, to set it to 1024MB -Xms1024m Replace the default values for the lines -Xms2703m If you have less memory, you can reduce it by editing the file /opt/nexus/bin/nexus.vmoptions and setting a lower value, for demo purposes. The default minimum JVM heap for Nexus is 2037MB with maximum recommended being 4G. Set the proper ownership of the nexus directory chown -R nexus: /opt/nexus Adjust the Nexus Memory Heap Size mkdir /opt/nexus tar xzf nexus-3.35. -C /opt/nexus -strip-components=1Ĭhecking the contents of the /opt/nexus directory ls /opt/nexus/* bin wget Install Nexus Repository Manager on Debian 11 Extract the tarballĮxtact Nexus to the nexus user home directory, which in this guide is /opt/nexus. Be sure to get the link to the latest version from downloads page. Note that this downloads the current stable release version of Nexus, 3.35.0-02, as of this writing. You can simply obtain the link and pull the tarball using wget command as shown below. Navigate to Nexus repository OSS downloads page, register for an account and download Nexus repository OSS for Unix tarball. cat > /etc/apt//java-8.list /etc/sudoers.d/nexus Download Nexus Repository OSS Tarball Hence, we opted to use repos for Debian 9 to install Java 8. Nexus repository manager requires Java 8 Runtime Environment (JRE).ĭebian 11 repos do not provide Java 8 packages.

Update system package cache apt update Install Java on Debian 11 System RequirementsĮnsure that the minimum requirements are met by your system before you can proceed to install Nexus repository manager on Debian 11 as outlined on Nexus system requirements page, links provided below. Install Nexus Repository Manager on Debian 11įollow through the steps provided in this guide to install Nexus repository manager on Debian 11.
