Last modified by Vincent Massol on 2020/08/28

<
From version < 3.1 >
edited by Guillaume Fenollar
on 2012/01/25
To version < 6.1 >
edited by Caleb James DeLisle
on 2012/05/18
>
Change comment: Added read/write/delete of temporary and persistent directories to recommended securitymanager permissions.

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.GuillaumeFenollar
1 +XWiki.CalebJamesDeLisle
Content
... ... @@ -1,10 +1,16 @@
1 +{{box cssClass="floatinginfobox" title="**Contents**"}}
2 +{{toc/}}
3 +{{/box}}
4 +
1 1  You'll need to perform 2 mandatory steps:
2 2  
3 3  * Install and configure a Servlet Container
4 4  * Install and configure a relational database
5 5  
6 -== Install and configure a Servlet Container ==
10 +but first, you'll need to [[download>>enterprise:Main.Download]] the .war version of XWiki.
7 7  
12 += Install and configure a Servlet Container =
13 +
8 8  XWiki will work with any Servlet Container (provided it's properly configured obviously). We're only listing instructions for a few containers but you can adapt these instructions for your favorite container.
9 9  
10 10  * [[Tomcat installation>>AdminGuide.InstallationTomcat]]
... ... @@ -33,12 +33,21 @@
33 33   permission java.net.SocketPermission "127.0.0.1:3306", "connect,resolve";
34 34  // Needed by the scheduler plugin -> quartz, but works without (maybe except scheduling? should be checked)
35 35  // permission java.util.PropertyPermission "org.quartz.properties", "read";
42 +
43 +//Allow file storage directory reading - for directory and everything underneath
44 +//This is dependent on the setting of environment.permanentDirectory in xwiki.properties
45 +permission java.io.FilePermission "${catalina.home}${file.separator}xwikidata${file.separator}", "read,write,delete";
46 +permission java.io.FilePermission "${catalina.home}${file.separator}xwikidata${file.separator}-", "read,write,delete";
47 +//Allow file storage directory reading - temporary directory and everything underneath
48 +//This is dependent on the setting of environment.temporaryDirectory in xwiki.properties.
49 +permission java.io.FilePermission "${catalina.home}${file.separator}temp${file.separator}", "read,write,delete";
50 +permission java.io.FilePermission "${catalina.home}${file.separator}temp${file.separator}-", "read,write,delete";
36 36  };
37 37  {{/code}}
38 38  
39 39  You're now ready to install and configure your relational database.
40 40  
41 -== Install and configure a Relational Database ==
56 += Install and configure a Relational Database =
42 42  
43 43  XWiki can work with a lot of relational databases. We're only listed those that we have tested it on.
44 44  
... ... @@ -69,11 +69,10 @@
69 69  If your database is empty this will result in a minimal empty wiki installation. You may want to use the [[Import/Export tool>>AdminGuide.ImportExport]] to import some pages in your wiki. We recommend that you import the [[provided default XAR>>xwiki:Main.Download]]. If you're upgrading from an existing installation your database should already contain the pages you had before.
70 70  {{/info}}
71 71  
72 -== Concluding Step ==
87 += Concluding Step =
73 73  
74 74  At this stage you have finished configuration XWiki. If you start your database and container and point your browser to http:~//localhost:8080/xwiki/ you'll have a working, albeit minimal, wiki (without any page loaded). The next step is either to create new pages by hand or import the default Wiki that we are providing as a [[XAR file>>xwiki:Main.Download]], by using the [[Import feature>>AdminGuide.ImportExport]].
75 75  
76 -
77 77  = Installing the Default Wiki XAR =
78 78  
79 79  The default wiki is a fully configured wiki that you can use as a starting point for creating your own wiki content. It provides the following:
... ... @@ -92,4 +92,3 @@
92 92  {{warning}}
93 93  If you're upgrading an existing wiki be careful that the XAR import operation will replace the content of the existing pages of your wiki with the content of the XAR (New pages that you have created will not be modified). As a consequence it's critical that you [[perform a backup>>platform:AdminGuide.Backup]] first and read the upgrade nodes bellow carefully.
94 94  {{/warning}}
95 -

Get Connected