From 71a44407cb055f0b5c9825e4444d018ec55997b7 Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Sat, 27 Apr 2019 18:42:50 +0100 Subject: [PATCH] mention the need to switch to root --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6334ef6..8c8d01d 100644 --- a/README.md +++ b/README.md @@ -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: ```bash +sudo su -l # switch to the root user. systemctl stop nexus # make sure nexus is not running while you use the database. 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.