Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

XQuery/Installing and Testing

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Installing the eXist native XML database thumb|eXistdb installation window thumb|eXistdb home page Steps for Installing eXist on Microsoft Windows Systems The full up-to-date quick start installation instructions are available on the eXist web site. This set of instructions is slightly simplified for the needs of the cookbook. Download the JAR file (Java Archive File) from http://www.exist-db.org To install it, you will need a JDK (Java Developer Kit) installed on your system, preferably version 1.5 or higher To test this type "java -version" at the command prompt. If you do not have a JDK installed, install the (not bundled) "Java SE Development Kit (JDK)" JDK 6 Update XX from http://www.oracle.com/technetwork/articles/javase/index-jsp-138363.html Double Click the jar file. This will automatically install the application, otherwise launch java -jar eXist-db-setup-2.2.jar to get the installation window. Warning Do not use the default installation path that has "Program Files" and the default install directory. This will not work because of the spaces in the path name. You MUST pick a path that does not have spaces, C:\eXist for example. Complete the installation by selecting the defaults. It is strongly advised to set the admin password On Windows start up the eXist database by selecting it from the Start menu, or double clicking C:\eXist\bin\startup.bat. This will start up a DOS console. Give it a few seconds to start up the server. Bring up your web browser to the address: http://localhost:8080/exist It shows a local copy of the eXist site. Click Admin in the Administration menus (on the left). This section allows you to add users and passwords You may choose to "Import Example Data" if you like You can now enter simple queries by going to the page http://localhost:8080/exist/sandbox/ Adding a WebDAV Client If you are using Windows, you can also add a WebDAV folder that will allow you to drag-and-drop many XML and XQuery files from your windows desktop to and from an eXist collection. WebDAV Windows Note that the Windows interface is somewhat buggy. You can not copy files from one eXist system directly to another eXist system. You must first copy to a windows file system and then copy it to the second eXist system. fr:XQuery/Installation