Difference between revisions of "Startup"
(→BaseX) |
|||
Line 32: | Line 32: | ||
Note: For using the databases concurrently (especially for write transactions) you have to use the BaseX Server. | Note: For using the databases concurrently (especially for write transactions) you have to use the BaseX Server. | ||
− | Please don't use any other BaseX | + | Please don't use any other BaseX mode with the databases from the BaseX Server while the server is on. |
===Starting the BaseX Client=== | ===Starting the BaseX Client=== |
Revision as of 15:18, 12 January 2011
Here you find all instructions you need for starting the three modes of BaseX. After you successfully started BaseX just follow the instructions in the Getting Started guide.
Contents
Requirements
All you need is an installation of Java 1.6 and the BaseX application. BaseX is platform-independant and should run on any platform that has a Java Virtual Machine available. BaseX has been tested on Windows (2000, XP, Vista, 7), Max OS X (10.x), Linux(SuSE xxx, Debian) and OpenBSD (4.x).
Java 1.6
A Runtime Environment of Java 1.6 (JRE) is needed to run BaseX. If you haven't installed it yet, please visit java.com.
BaseX
Download the latest BaseX version for your operating system here.
Run the Windows installer, or download the BaseX.zip
archive, to get all project components including the start scripts. We highly recommend to add the bin
directory, which contains all the start scripts, to your path environment; this way, you can run BaseX from every folder in the shell/terminal. The Windows installer is adding the scripts to the path environment automatically.
Starting the BaseX GUI
There are several methods for starting the GUI:
- Double click on
BaseX.jar
- Execute command:
java -cp BaseX.jar org.basex.BaseXGUI
- Starting the script
basexgui
/basexgui.bat
Note: The BaseX GUI is just working on local databases. Anyway you can set your local database path to the BaseX Server database path accessing it over the network. In this case we suggest you to avoid accessing databases concurrently with the GUI and the Server.
Starting the BaseX Server
There are several methods for starting the Server (get more information here):
- Execute command:
java -cp BaseX.jar org.basex.BaseXServer
- Starting the script
basexserver
/basexserver.bat
Note: For using the databases concurrently (especially for write transactions) you have to use the BaseX Server. Please don't use any other BaseX mode with the databases from the BaseX Server while the server is on.
Starting the BaseX Client
There are several methods for starting the Client (get more information here):
- Execute command:
java -cp BaseX.jar org.basex.BaseXClient
- Starting the script
basexclient
/basexclient.bat
A default admin user can be used to connect:
- Username:
admin
- Password:
admin
The password can be changed using the PASSWORD
command.
See also the Server Tutorial section for more details.
Starting the BaseX Standalone
There are several methods for starting the Standalone mode (get more information here):
- Execute command:
java -cp BaseX.jar org.basex.BaseX
- Starting the script
basex
/basex.bat
See also
Server Tutorial, GUI Tutorial, Standalone Tutorial, Getting Started