Skip to content

Commit

Permalink
Merge pull request #1 from LandmakTechnology/master
Browse files Browse the repository at this point in the history
Update READme.md
  • Loading branch information
tracy4uk authored Dec 11, 2022
2 parents 4bff250 + ee4cc76 commit b0b9498
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nexus-installation/READme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
```sh
#As a good security practice, Nexus is not advised to run nexus service as a root user,
# so create a new user called nexus and grant sudo access to manage nexus services as follows.
sudo hostname nexus
sudo hostnamectl set-hostname nexus
sudo useradd nexus
# Grand sudo access to nexus user
sudo echo "nexus ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/nexus
Expand All @@ -36,6 +36,7 @@ sudo yum install java-11-openjdk-devel java-1.8.0-openjdk-devel -y
sudo wget http://download.sonatype.com/nexus/3/nexus-3.15.2-01-unix.tar.gz
sudo tar -zxvf nexus-3.15.2-01-unix.tar.gz
sudo mv /opt/nexus-3.15.2-01 /opt/nexus
sudo rm -rf nexus-3.15.2-01-unix.tar.gz
```

## Grant permissions for nexus user to start and manage nexus service
Expand Down

0 comments on commit b0b9498

Please sign in to comment.