Changes

Jump to navigation Jump to search
137 bytes removed ,  13:41, 10 January 2011
no edit summary
<p>This is a step by step tutorial shows you how to get run BaseX running in client-server mode via terminalsfrom a terminal.
You can copy & paste the commands to get it running on your machine.
After the completion of you finished this quick tutorial, you will be familiar with the
basic BaseX commands.</p>
==Requirements==
Java 1.6 is required to run newer versions of BaseX. If you need help installing java Java please visit
[http://www.java.com/en/download/help/download_options.xml java.com]. <br/>
We assume that you are familiar with a shell at a basic level.
===Download===
Download the [http://www.inf.uni-konstanz.de/dbis/basex/download basex.jar]. <br/>
In this example we We assume that the basex.jar file is stored located in the directory ''/basex''.
===Run the Server===
Go Navigate to the directory where the location of basex.jar is stored (<code>> cd /basex</code>) and execute:
:<code>
> java -cp BaseX.jar org.basex.BaseXServer
The password can be changed using the password command.<br/>
If Adding the <code>-i</code> flag lets you want to interact (execute commands, add databases, add or users) with the server, start the server with the <code>-i</code> flagduring runtime.
:<code>
> java -cp BaseX.jar org.basex.BaseXServer -i
</code>
If Once the server is succesfully successfully started you can see the following lines:
:<pre>BaseXServer [Server]&#10;Server was started.</pre>
</code>
<br/>
If you haven't changed the password with the server, the you can login as default user '''(admin''' with the password '''/admin''' is available).
==First Operations==
To get to know more familiar with BaseX, we advise suggest to run some of execute the following basic operations to see how it works andget your first indentations.
===Create a database===
In order to To create a database you need an xml-document, e.g.
[http://www.w3.org/XML/Binary/2005/03/test-data/Over100K/factbook.xml factbook.xml].<br/>
Save this document to the /basex directory.
administrator, Bureaucrats, editor, reviewer, Administrators
408

edits

Navigation menu