File: basexserver.txt

package info (click to toggle)
basex 10.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,692 kB
  • sloc: java: 156,985; xml: 54,172; sh: 43; makefile: 2
file content (87 lines) | stat: -rw-r--r-- 2,830 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
NAME
  basexserver - XML database system and XPath/XQuery processor (server mode)

SYNOPSIS
  basexsercer [-cdhlnpsSUz] [stop]

DESCRIPTION
  basexserver starts the server mode of the native XML database system basex(1) on default port 1984.

OPTIONS
  A short description of option can be obtained from

    $ basexserver \-h

  or by browsing https://docs.basex.org/wiki/Command-Line_Options#HTTP_Server

USER MANAGEMENT
  On first startup a user 'admin' with default password 'admin' exists (make sure to change this)!

  Admin permissions are needed to execute one of the following processes.

  * Creating user 'test' with password 'test':

   > CREATE USER test test
  
  As global permissions valid options are 'none', 'read', 'write', 'create' and 'admin'.

  * Revoking all global permissions from user 'test':

   > GRANT none TO test

  Valid local permissions are 'none', 'read' and 'write'.

  * Granting write permission on database 'factbook' to user 'test':

    > GRANT write ON factbook TO test

  Note: Local permissions overwrite global permissions. As a consequence, the 'test' user will only be allowed to access (i.e., read and write) the 'factbook' database. If no local permissions are set, the global rights are inherited.

  * Showing global permissions:
   
    > SHOW USERS

  * Showing local permissions on database 'factbook':

   > SHOW USERS ON factbook

  * Dropping of user 'test':

   > DROP USER test

  Further details on user management are to be found in the BaseX Documentation
  Wiki (https://docs.basex.org/wiki/User_Management).

DATABASE COMMANDS
  A list of supported Database commands can be obtained from

    $ basexserver \-ic help

  or by browsing https://docs.basex.org/wiki/Commands

SEE ALSO
  basexclient(1), basex(1), basexgui(1)

   .basexhome                can be created by a user to mark a folder as home directory.
   .basex                    BaseX (standalone and server) properties
   .basexgui                 BaseX additional GUI properties 
   .basexhistory             contains commands that have been typed in most recently.
   ${basexhome}/data         Default database directory
   ${basexhome}/data/.logs   Server logs
   ${basexhome}/repo         Package repository

  BaseX Documentation Wiki: https://docs.basex.org

HISTORY
  BaseX started as a research project of the Database and Information Systems
  Group (DBIS) at the University of Konstanz in 2005 and soon turned into a
  feature-rich open source XML database and XPath/XQuery processor.
 
LICENSE
  New (3-clause) BSD License

AUTHOR
  BaseX is primarily developed by Christian Gruen <cg@basex.org> with
  the help of various contributors <https://basex.org/about/open-source/>

  The man page was written by Alexander Holupirek <alex@holupirek.de> while packaging BaseX for Debian GNU/Linux.