Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 945 Bytes

packaging.md

File metadata and controls

33 lines (17 loc) · 945 Bytes

Packaging DBs

See also this.

Resetting password in signed-virtuoso

Extract in empty directory:

$ tar -xvzf signed-virtuoso.tar.gz && rm signed-virtuoso.tar.gz

Run virtuoso container:

$ docker run -v $(pwd)/data/virtuoso:/data -d nanopub/virtuoso

Execute shell in container:

$ docker exec -it $(docker ps -q --filter ancestor=nanopub/virtuoso) sh

Reset password in container (replace "PASSWORD" with actual password):

# echo "user_set_password('dba', 'dba');\ncheckpoint;\nexit;" | isql-v -U dba -P PASSWORD
# exit

Stopping virtuoso:

$ docker stop $(docker ps -q --filter ancestor=nanopub/virtuoso)

Create new zip file:

$ tar --exclude=data/virtuoso/virtuoso.log --exclude=data/virtuoso/dumps --exclude=data/virtuoso/virtuoso.trx --exclude=data/virtuoso/.dba_pwd_set -czvf signed-virtuoso0.tar.gz data/virtuoso