Changes

Jump to navigation Jump to search
632 bytes added ,  11:18, 17 September 2011
no edit summary
==Requirements==
 
===BaseX===
Please [http://basex.org/download download] the latest BaseX version from our homepage.
The official releases include the BaseX JAR file, libraries and optional [[Start Scripts]].
If you do not use the Windows version, we recommend to manually add the project’s
<code>bin</code> directory to your path environment; this way, you will be able to run
BaseX from everywhere in your shell/terminal.
===Java===
A Runtime Environment of [http://www.java.com Java 1.6] (JRE) is needed to run BaseX.
BaseX is platform independent and runs on any system that provides a Java Virtual Machine. BaseX has been tested on Windows (2000, XP, Vista, 7), Max OS X (10.x), Linux(SuSE xxx, Debian, Ubuntu) and OpenBSD (4.x).
===BaseX=GUI== Please The [[http://basex.org/download downloadGUI_Tutorial|BaseX GUI] is the latest BaseX version from our homepage.The official releases include visual interface to the features of BaseX runnable, [[Start Scripts]], and API files.If you do not use the Windows installerIt can be used to create new databases, perform queries or use another operating system, we recommendinteractivelyto add the project’s <code>bin</code> directory to your path environment; this way,you will be able to run BaseX from everywhere in explore your shell/terminalXML data.
==BaseX GUI==There are several ways of starting the The GUI can be started as follows (get more information [[Startup Options#BaseX GUI|here]]):
* Double click on the <code>BaseX.jar</code> file.
* Run one of the <code>[[Start_Scripts#Linux.2FMac:_basex|basexgui]]</code>/<code>[[Start Scripts#Windows: basex.bat|basexgui.bat]]</code> scripts.
* Execute the command: <code>java -cp BaseX.jar org.basex.BaseXGUI</code>.
* On ''Windows'': Double click on the '''BaseX GUI''' start icon.
'''Important''': The BaseX GUI is not synchronized with other BaseX instances. You should avoid accessing the same database
from the GUI and the server, esp. if updates are performed.
 
==BaseX Standalone==
The [[Standalone_Tutorial|BaseX Standalone] interface can be used
to enter database commands, or execute automated database and query
operations, on command line.
 
The standalone version can be started as follows (get more information [[Startup Options#BaseX Standalone|here]]):
 
*Run one of the <code>[[Start_Scripts#Linux.2FMac:_basex|basex]]</code>/<code>[[Start Scripts#Windows: basex.bat|basex.bat]]</code> scripts
*Execute the command <code>java -cp BaseX.jar org.basex.BaseX</code>
* On ''Windows'': Double click on the '''BaseX''' start icon
 
<b>Important</b>: The Standalone client is not synchronized with other BaseX instances.
You should avoid accessing the same database from the standalone client and
the server, esp. if updates are performed.
==BaseX Server==
The [[Server_Tutorial|BaseX Server]] is needed to handle the request of
multiple users (clients). It manages concurrent read and write operations,
user permissions and access logs.
 
There are several ways of starting the server (get more information [[Startup Options#BaseX Server|here]]):
* Run one of the <code>[[Start_Scripts#Linux.2FMac:_basex|basexserver]]</code>/<code>[[Start Scripts#Windows: basex.bat|basexserver.bat]]</code> scripts.
* Execute the command <code>java -cp BaseX.jar org.basex.BaseXServer</code>.
* On ''Windows'': Double click on the '''BaseX Server (Start)''' start icon. This will also start the JAX-RX (HTTP) server.
'''Important''': If you concurrently access the databases (especially for write transactions),
==BaseX Client==
There are several ways of starting The [[Server_Tutorial|BaseX Client]] interface can be used to sendcommands and queries to the server instance. The client version can be started as follows(get more information [[Startup Options#BaseX Client|here]]):
*Run one of the <code>[[Start_Scripts#Linux.2FMac:_basex|basexclient]]</code>/<code>[[Start Scripts#Windows: basex.bat|basexclient.bat]]</code> scripts
*Execute the command <code>java -cp BaseX.jar org.basex.BaseXClient</code>
* On ''Windows'': Double click on the '''BaseX Client''' start icon
The default <code>admin</code> user can be used to connect to the server: <br/>
Please check out our little [[Server Tutorial]] for more details.
 
==BaseX Standalone==
 
There are several ways of starting the standalone version (get more information [[Startup Options#BaseX Standalone|here]]):
 
*Run one of the <code>[[Start_Scripts#Linux.2FMac:_basex|basex]]</code>/<code>[[Start Scripts#Windows: basex.bat|basex.bat]]</code> scripts
*Execute the command <code>java -cp BaseX.jar org.basex.BaseX</code>
* On ''Windows'': Double click on the '''BaseX''' icon
 
<b>Important</b>: The Standalone client is not synchronized with other BaseX instances. You should avoid accessing the same database
from the standalone client and the server, esp. if updates are performed.
==BaseX JAX-RX Server==
* Run one of the <code>[[Start_Scripts#Linux.2FMac:_basexjaxrx|basexjaxrx]]</code>/<code>[[Start Scripts#Windows: basexjaxrx.bat|basexjaxrx.bat]]</code> scripts
* On ''Windows'': Double click on the '''BaseX Server (Start)''' start icon
==BaseX HTTP Server==
* Run one of the <code>[[Start_Scripts#Linux.2FMac:_basexhttp|basexhttp]]</code>/<code>[[Start Scripts#Windows: basexhttp.bat|basexhttp.bat]]</code> scripts
* On ''Windows'': Double click on the '''BaseX Server (Start)''' start icon
==See also ==
[[Server Tutorial]], [[GUI Tutorial]], [[Standalone Tutorial]], [[Getting Started]]
[[Category:Beginner]]
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu