Changes

Jump to navigation Jump to search
428 bytes removed ,  18:38, 1 December 2023
m
Text replacement - "syntaxhighlight" to "pre"
* Download the latest version of [https://basex.org/products/download/all-downloads/ BaseX]. Select the Zip Archive.
* Download the latest version of [https://sourceforge.net/projects/yajsw/ YAJSW].
* Download the latest version of [httphttps://java.com/en/download/manual.jsp Java].
== Install BaseX as a Windows Service ==
# Extract YAJSW to <code>C:\Programs\yajsw\yajsw-beta-12.05</code>
# Extract BaseX to <code>C:\Programs\BaseX\basex</code>
 
See [[Database Server]] for information on how to pick an initial admin password.
=== Install BaseX as a service ===
* Change the amount of memory available to BaseX from 1024m (for example, 512m or 2048m)
<syntaxhighlight pre lang="ini">
# YAJSW configuration for BaseX
wrapper.console.loglevel=INFO
wrapper.logfile=${wrapper.working.dir}\\data\\.logs\\wrapper-basex.log
wrapper.logfile.maxsize=10m
wrapper.logfile.maxfiles=10
wrapper.on_exit.0=SHUTDOWN
wrapper.on_exit.default=RESTART
</syntaxhighlightpre>
After you have created the wrapper configuration file:
# Start the service: <code>java -jar wrapper.jar --start conf\wrapper.basex.conf</code>
BaseX server is now running as a service, and will start automatically when Windows starts. At this point you should go ahead and set a password for the admin user. # Open a web browser and go to http://localhost:8984/dba (or http://host:8984/dba from your computer, replace 'host' with the address of the server) to open the database administration web console.# Log in with username 'admin' password 'admin'# Click on ''Users'' to navigate to the user management screen.# Click on the ''admin'' user# Set a password for the admin user and then click Save.
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu