Sonatype nexus repository manager | How to install nexus repository

preview_player
Показать описание
nexus repository manager setup, nexus repository tutorial.

--------------------------------------------------------------------------
Reference links:

------------------------------------------------------------------------

sudo yum update -y
sudo yum install wget -y
sudo yum install java-1.8.0-openjdk.x86_64 -y
sudo mkdir /app && cd /app
sudo mv nexus-3.39.0-01 nexus
sudo adduser nexus
sudo chown -R nexus:nexus /app/nexus
sudo chown -R nexus:nexus /app/sonatype-work

Uncomment run_as_user parameter and set it as following
run_as_user="nexus"

./nexus start

sudo firewall-cmd --add-port=8081/tcp --permanent
sudo firewall-cmd --reload
----------------------------------------------------------------------------
=======================================
Follow me @:
=======================================
Рекомендации по теме
Комментарии
Автор

Good guide. Followed it for Ubuntu 22.
The following discrepancies to take into consideration for Ubuntu:
1. If you set the RunAsUser to "nexus" in the /root/app/nexus/bin/nexus.rc file. No other user will be able to execute ./nexus [run] / [start] command, not even root. (weird, i know, but not really, i guess nexus just checks if the $USER is == RunAsUser).
2. If you set or plan to set the user to "nexus" as I mentioned in #1. DO NOT install nexus to /root/app/ directory. The user nexus will not be able to cd to that directory. On the nexus site it says it's recommended to install in the /opt/ directory.
3. After creating the nexus user. Switch to that user and do not execute nexus as root.
Good luck.

knowwhere
Автор

Sir i have configured nexus as a docker repo for k8 s but I am facing issues like imagepullbackoff and server gave http responce to https client

kalpeshkolap
Автор

Why do you use old CentOS7 instead Ubuntu/Debian or newer CentOS (which future is not good)?

erics
Автор

Fantastic video, I have one actions I followed your same exact steps but I cannot log in as admin ?

smartchocolate
Автор

I have installed Nexus and able to login using admin credentials but i cant see admin settings button in the consile.

raviv
Автор

Please sir, it's high priority, i want to use in talend tac

navyasri
Автор

sir please help me to solve those increasing CPU to 4 cores

adithya
Автор

Sir, i have installed nexus, but i can't find artifact repository.can you please how to find artifact repository

navyasri
Автор

sir, asking for a password, while starting a nexus in terminal

kishorerambo