Next, give permission to nexus files and nexus directory to Nexus user: sudo chown -R nexus:nexus /opt/nexus Then, rename the extracted Nexus setup folder to Nexus: sudo mv /opt/nexus-3.30.1-01 /opt/nexus Now we download the latest Nexus Repository Manager Setup from the official page: sudo wget Installing Nexus Repository on Ubuntu 20.04. Now create a separate user to run Nexus: useradd -M -d /opt/nexus -s /bin/bash -r nexusĮcho "nexus ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/nexus First, make sure that all your system packages are up-to-date by running the following apt commands in the terminal. Install Nexus Repository on Ubuntu 20.04 LTS Focal Fossa We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
0 Comments
Leave a Reply. |