mention the need to switch to root

This commit is contained in:
Rui Lopes 2019-04-27 18:42:50 +01:00
parent 0084ea47b9
commit 71a44407cb
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ You can also see them with `journalctl -u nexus`.
Nexus uses [OrientDB](https://en.wikipedia.org/wiki/OrientDB) as its database. To directly use it from the console run: Nexus uses [OrientDB](https://en.wikipedia.org/wiki/OrientDB) as its database. To directly use it from the console run:
```bash ```bash
sudo su -l # switch to the root user.
systemctl stop nexus # make sure nexus is not running while you use the database. systemctl stop nexus # make sure nexus is not running while you use the database.
su -s /bin/bash nexus # switch to the nexus user. su -s /bin/bash nexus # switch to the nexus user.
nexus_home=/opt/nexus/nexus-3.16.1-02 # make sure you have the correct version here. nexus_home=/opt/nexus/nexus-3.16.1-02 # make sure you have the correct version here.