Nexus class 03
########################################################################
class-03 Artifact Tool - Nexus
05. Installation :
cd /opt
mkdir nexusinstall
zip file
unzip
wget https://download.sonatype.com/nexus/3/nexus-3.38.1-01-unix.tar.gz
tar -zxvf nexus-3.38.1-01-unix.tar.gz
06. Configuration :
Rename the nexus-3.38.1* to nexus
mv nexus-3.38.1-01 nexus
Create a user called as "nexus" and provide sudo access
useradd nexus
Also provide 755 and change ownerships
to /opt/nexusinstall/nexus & /opt/nexusinstall/sonatype-work
chmod -R 755 /opt/nexusinstall/nexus
chmod -R 755 /opt/nexusinstall/sonatype-work/
chown -R nexus:nexus /opt/nexusinstall/nexus
chown -R nexus:nexus /opt/nexusinstall/sonatype-work/
Provide "sudo" access to nexus user:
"/etc/sudoers"
visudo
nexus ALL=(ALL) NOPASSWD: ALL
Esc:wq!
Locate & Update the "nexus.rc" file
cd /opt/nexusinstall/nexus/bin
ls nexus.rc
vi nexus.rc
run_as_user="nexus" and save it
Switch to "nexus" user:
su - nexus
Make service & enable it (in next reboot nexus service won't stop)
sudo ln -s /opt/nexusinstall/nexus/bin/nexus /etc/init.d/nexus
cd /etc/init.d/
sudo chkconfig --add nexus
sudo chkconfig --levels 345 nexus on
sudo systemctl daemon-reload
sudo systemctl start nexus
sudo systemctl status nexus
07. Home Directory :
08. Deafult Dir1 :
09. Port : 8081
10. Configuration files
https://help.sonatype.com/repomanager3/product-information/download
Видео Nexus class 03 автора Программирование чат-ботов для начинающих
Видео Nexus class 03 автора Программирование чат-ботов для начинающих
Информация
4 декабря 2023 г. 3:47:48
00:07:09
Похожие видео