Nexus 3 Install
Add --insecure-registry to Docker daemon, and create a docker-bearer-token realm in Nexus.
sudo adduser --system --no-create-home --group nexus sudo chown -R nexus:nexus /opt/nexus sudo chown -R nexus:nexus /opt/sonatype-work nexus 3 install
Once started, access the UI at http://localhost:8081 . Add --insecure-registry to Docker daemon, and create a
If your server has ample RAM, you should adjust the JVM heap settings to ensure Nexus runs smoothly. This is configured in the nexus.vmoptions file. This is configured in the nexus
| Task | Command / Method | |------|------------------| | Check heap usage | curl -u admin:pass http://localhost:8081/service/metrics/prometheus | | Forced cleanup | Admin → System → Tasks → Create task "Admin - Compact blob store" | | Scheduled purge | Create task "Delete unused assets/docker manifests" weekly | | Backup | Stop Nexus → tar /opt/sonatype-work → restart (or use S3 blob store) |