Installing the Standalone Distribution

Version 9.1 by Ecaterina Moraru (Valica) on 2016/03/15
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:Documentation.AdminGuide.Installation.InstallationStandalone.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Download

Before you start make sure you've read the System Requirements.

First, you need to download the suited XWiki version for your use case.

Install

Failed to execute the [html] macro. Cause: [When using HTML content inline, you can only use inline HTML content. Block HTML content (such as tables) cannot be displayed. Try leaving an empty line before and after the macro.]. Click on this message for details.
The graphical installer is a generic installer that works on all platforms. It requires Java to be installed on your system. Simply double-click on it and follow the instructions.

In case you have problems opening the file, you can use this command to launch the installation: java -jar <name_of_installer_file.jar>

Go to the directory where you've installed XWiki (XWIKIHOME) and run start_xwiki.bat in Windows or start_xwiki.sh on Unix or Mac. 

To stop it, run the stop_xwiki.bat script on Windows and stop_xwiki.sh on Unix or Mac. 

On Mac you will need to use "Open with Terminal" or run these scripts from the Terminal.

In some cases, you might already have a Web Server running on port 8080. If this happens you have to use another port, specified by passing an argument to the start script (e.g. using the port 8081, as in start_xwiki.sh -p 8081 for XWiki 6.2+ and start_xwiki.sh -8081 for older versions).

Do not close the terminal window that shows up. This is the XWiki server running.

    Failed to execute the [html] macro. Cause: [When using HTML content inline, you can only use inline HTML content. Block HTML content (such as tables) cannot be displayed. Try leaving an empty line before and after the macro.]. Click on this message for details.
The standalone package is a zip archive file that can be used for all platforms. Unzip it in any directory of your choice (let's call it XWIKIHOME).

Go to the directory where you've installed XWiki (XWIKIHOME) and run start_xwiki.bat in Windows or start_xwiki.sh on Unix or Mac. 

To stop it, run the stop_xwiki.bat script on Windows and stop_xwiki.sh on Unix or Mac. 

On Mac you will need to use "Open with Terminal" or run these scripts from the Terminal.

In some cases, you might already have a Web Server running on port 8080. If this happens you have to use another port, specified by passing an argument to the start script (e.g. using the port 8081, as in start_xwiki.sh -p 8081 for XWiki 6.2+ and start_xwiki.sh -8081 for older versions).

Do not close the terminal window that shows up. This is the XWiki server running.
   Failed to execute the [html] macro. Cause: [When using HTML content inline, you can only use inline HTML content. Block HTML content (such as tables) cannot be displayed. Try leaving an empty line before and after the macro.]. Click on this message for details.
Graphical Windows native installer is a Windows executable file. Simply execute it and follow the instructions.

The Windows installer creates shortcuts to start and stop XWiki in your Windows start menu. Launch XWiki using "start".

Make sure you install with a user who has administration rights and run the installed XWiki server with that same user. Otherwise you might get some permission problems. They can be fixed by giving permission to the other user to write in the directories XWiki writes to. Those depend on the XWiki version you use:

  • Before 4.0.1 and 4.1M1, 4.1M2: The directory where you installed XWiki Enterprise (the default location is C:\Program Files\XWiki Enterprise)
  • 4.0.1 and 4.1: C:\XWiki Enterprise
  • 4.2M1+: The XWiki Data directory in %APPDATA%\XWiki\<version>\data

If you install on Windows 7 and if you're using a version of XWiki < 4.1 then you'll need to be careful not to install in the Program Files directory. This is because of new security measures in Windows 7 which prevent from writing in the Program Files directory. A possible location is at the root of your C drive (e.g. C:\XWiki Enterprise).

Do not close the DOS window that shows up. This is the XWiki server running.

Launch

Once XWiki is started point your browser to http://localhost:8080/.

Log in

You can log in using the default Admin user (first letter is capitalized). The default password is admin (lowercase).

You should read Getting Started Guide to learn how to use XWiki.

Tags:
   

Get Connected