Wiki source code of Installation

Last modified by Eleni Cojocariu on 2026/08/13 16:22

Hide last authors
Jean-Vincent Drean 48.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
Ludovic Dubost 28.1 4
Eleni Cojocariu 158.2 5 {{warning}}
6 WIP: topic is being refactored in new location, top level page of new hierarchy: [[Installation>>documentation.xs.admin.installation.WebHome]].
7 {{/warning}}
Eleni Cojocariu 158.1 8
Vincent Massol 94.1 9 {{id name="Prerequisites"/}}
Thomas Mortagne 98.1 10
Vincent Massol 94.1 11 = Hardware and Software requirements =
Vincent Massol 75.2 12
Eleni Cojocariu 158.2 13 See [[Prerequisites>>documentation.xs.admin.installation.prerequisites.WebHome]].
Vincent Massol 75.2 14
Guillaume Fenollar 69.1 15 = Installation Methods =
16
Eleni Cojocariu 158.2 17 {{warning}}
18 WIP: topic is being refactored in new location, [[Installation methods>>documentation.xs.admin.installation.methods.WebHome]].
19 {{/warning}}
20
Eleni Cojocariu 158.1 21 For testing XWiki, we highly recommend one of the following installation method:
Vincent Massol 125.1 22
Eleni Cojocariu 158.1 23 * [[Using XWiki in the cloud>>Hosted.WebHome]]: This is by far the simplest to try XWiki since you don't need to install anything.
Eleni Cojocariu 159.1 24 * [[Using a standalone distribution >>Documentation.AdminGuide.InstallationStandalone]]: Provides a built-in XWiki, with a portable database (HSQLDB) and a lightweight Java container (Jetty). This standalone distribution is not recommended in a production environment (check the [[DB limitations>>documentation.xs.admin.installation.methods.install-xwiki-war.install-relational-database.configure-hsqldb.hsqldb-limitations.WebHome]]). If you need to use it in a production basis, you may look at the other options.
Eleni Cojocariu 158.1 25 * [[Using an official XWiki Docker image>>https://hub.docker.com/_/xwiki/]]: Provides an easy solution to test XWiki, with a configuration very close to a production setup.
26
27 For production installations, we recommend the following installation method:
28
29 * [[Using .deb package (usable for production)>>Documentation.AdminGuide.InstallationViaAPT]]: Provides a .deb package that can be used on a Debian-based operating system. It can be installed with ##dpkg## or ##apt##; installation is thus automated.
30 * [[Using an official XWiki Docker image>>https://hub.docker.com/_/xwiki/]]: You can also use this method in production if you're used to putting Docker images in production.
31
32 Last, you could manually deploy XWiki as a WAR into the Servlet Container of your choice and on the Database of your choice, if the previous methods were not good enough for your needs. Beware that this requires some technical knowledge about Servlet Container and Databases:
33
34 * [[Using .war package (usable for production)>>Documentation.AdminGuide.InstallationWAR]]: Provides a Java application package that has to be installed in a Java container (such as Tomcat). This can be used on almost any operating system.
35
36 Whatever the installation method, you should make sure to [[create the database indexes manually for indexes that are not created automatically>>Documentation.AdminGuide.Performances.Database Administration.WebHome]].
37
Vincent Massol 93.1 38 = Other Installation Methods =
Vincent Massol 89.1 39
Eleni Cojocariu 158.2 40 See [[Unofficial installation methods>>documentation.xs.admin.installation.methods.unofficial-methods.WebHome]].
Vincent Massol 89.1 41
Vincent Massol 138.1 42 = Accessing your wiki =
43
44 Once you've installed XWiki using one of the methods defined above, you can access it by pointing your web browser to {{code language="none"}}http://localhost:8080/xwiki{{/code}}.
45
Thomas Mortagne 150.1 46 = HTTP Proxy =
Thomas Mortagne 148.1 47
Eleni Cojocariu 158.2 48 {{warning}}
Eleni Cojocariu 158.3 49 WIP: topic is being refactored in new location: [[HTTP Proxy for XWiki>>documentation.xs.admin.installation.http-reverse-proxy.WebHome]]
Eleni Cojocariu 158.2 50 {{/warning}}
51
Eleni Cojocariu 158.1 52 You now have a working XWiki instance but it's often a good idea to access it through an HTTP proxy especially when you plan to access it through the standard HTTP/HTTPS port instead of 8080.
Thomas Mortagne 148.1 53
Eleni Cojocariu 158.1 54 * [[Apache HTTPD>>Documentation.AdminGuide.Installation.ApacheHTTPD]]
55 * [[NginX>>Documentation.AdminGuide.Installation.NginX]]
56
Vincent Massol 31.5 57 = Troubleshooting =
Vincent Massol 1.125 58
Eleni Cojocariu 158.2 59 See [[Troubleshooting>>documentation.xs.admin.installation.troubleshooting.WebHome]].
Sergiu Dumitriu 74.1 60
Simon Urli 130.1 61 == What to do with an empty XWiki? ==
62
Eleni Cojocariu 158.4 63 See [[Multiple Instances of XWiki in the Same Container>>documentation.xs.admin.installation.troubleshooting.multiple-instances-container.WebHome]].          
Sergiu Dumitriu 74.1 64
Adam Shand 119.1 65 == Running XWiki behind a proxy server ==
Thomas Mortagne 75.1 66
Eleni Cojocariu 158.2 67 See [[XWiki behind a Proxy Server>>documentation.xs.admin.installation.troubleshooting.xwiki-proxy-server.WebHome]].
Roman Muntyanu 74.2 68
Eduard Moraru 135.1 69 === Debugging proxy configuration issues ===
70
Eleni Cojocariu 158.2 71 See [[Debug Proxy Configuration>>documentation.xs.admin.installation.troubleshooting.xwiki-proxy-server.debug.WebHome]].
Eduard Moraru 135.1 72
Vincent Massol 84.1 73 == Unsupported major.minor version 51.0 ==
74
75 This is because starting with version 6.0, XWiki requires Java 7 and you're using Java 6. You need to upgrade your Java version.
76
Eleni Cojocariu 158.2 77 See [[Install XWiki without Internet>>documentation.xs.admin.installation.install-offline.WebHome]].
Vincent Massol 85.1 78
Thomas Mortagne 98.1 79 == Getting an error about SSL certificate ==
80
Eleni Cojocariu 158.2 81 See [[]].
Thomas Mortagne 98.1 82
Eduard Moraru 100.2 83 == "File path too long" on Windows when unzipping ==
84
Eleni Cojocariu 158.2 85 See [[]].

Get Connected