Install Nexus Repository manager
Anda membutuhuhkan JDK
Buatlah folder untuk menampung aplikasi nexus
Download nexus repository manager di https://help.sonatype.com/repomanager3/download
Extract ke dalam folder app
Buatlah user nexus dan beri akses sebagai sudoers
Ubah pemilik hasil ekstraksi file nexus ke user nexus
Buka file parameter nexus
Mendaftarkan nexus sebagai service
Coba jalankan nexus
Jangan lupa untuk membuka port 8081, sehingga anda dapat mengakses ke http://<<ip>>:8081
Anda membutuhuhkan JDK
sudo yum install java-1.8.0-openjdk.x86_64 -y
Buatlah folder untuk menampung aplikasi nexus
sudo mkdir /app && cd /app
Download nexus repository manager di https://help.sonatype.com/repomanager3/download
Extract ke dalam folder app
sudo tar -xvf nexus-3*.tar.gz
sudo mv nexus-3* nexus
Buatlah user nexus dan beri akses sebagai sudoers
sudo adduser nexus
sudo passwd nexus
sudo usermod -aG wheel nexus
Ubah pemilik hasil ekstraksi file nexus ke user nexus
sudo chown -R nexus:nexus /app/nexus
sudo chown -R nexus:nexus /app/sonatype-work
Buka file parameter nexus
sudo vi /app/nexus/bin/nexus.rc
run_as_user="nexus"
Mendaftarkan nexus sebagai service
sudo vi /etc/systemd/system/nexus.service
[Unit]
Description=nexus service
After=network.target
[Service]
Type=forking
LimitNOFILE=65536
User=nexus
Group=nexus
ExecStart=/app/nexus/bin/nexus start
ExecStop=/app/nexus/bin/nexus stop
User=nexus
Restart=on-abort
[Install]
WantedBy=multi-user.target
sudo chkconfig nexus on
Coba jalankan nexus
sudo systemctl start nexus
Jangan lupa untuk membuka port 8081, sehingga anda dapat mengakses ke http://<<ip>>:8081
| Gambar awal nexus |





