Wiki source code of Install the wiki UI

Last modified by Hassan Ali on 2020/02/22

Show last authors
1 At this point your wiki is empty, i.e it doesn't contain any wiki page. Since applications in XWiki are done in wiki pages so you also don't need any application available (e.g. Blog, User Directory, User Profiles, etc). In addition, your wiki doesn't contain any user. 
2
3 Thus the final step is to fill your Wiki with some initial content (i.e. wiki pages).
4
5 This is the job of the [[Distribution Wizard>>platform:Features.DistributionWizard]] which automatically starts when you are browsing your new XWiki instance for the first time.
6
7 The default distribution is a fully configured wiki that you can use as a starting point for creating your own wiki content. It provides the following:
8
9 * A [[Dashboard>>extensions:Extension.Dashboard Application]]
10 * A [[Panels Application>>extensions:Extension.Panels Application]]
11 * [[Search>>extensions:Extension.Search Application]]
12 * [[Administration features>>extensions:Extension.Administration Application]] (Access rights, Group and users management, etc)
13 * ... and much more
14
15 == Installing without internet connection ==
16
17 === XIP Package ===
18
19 {{info}}Since 9.5{{/info}} A XIP package is offered containing an offline extension repository with all the extensions making the Standard Flavor.
20
21 This is actually a zip file containing the required XWiki extensions for both the main wiki and subwikis, in the same format as the one of the local extensions repository. It allows the [[Distribution Wizard>>url:https://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard]] to find the extensions locally instead of getting them online and is thus suited for offline installations of XWiki.
22
23 * [[download>>xwiki:Main.Download]] it (use the exact same version of the XIP package as the version of XWiki you have)
24 * Unzip it (rename it to ##.zip## if your zip tool does not recognize it) in the folder ##<permanentdirectory>/extension/repository## (if you get complains about already existing files don't overwrite them)
25 * Make sure the user running XWiki has the permissions to write to these unzipped files
26 * Restart XWiki if it was running
27 * Resume standard installation, this time it will find the flavor locally
28
29 === Other methods ===
30
31 Several options:
32
33 * Set up a local Extension Repository, either as a Maven Repository or using the [[Extension Repository Application>>extensions:Extension.Repository Application]]. Of course you'll need to [[prefill it with all the extensions you'll wish to install when offline>>Documentation.AdminGuide.FillLocalMavenRepository]], which isn't something easy to do.
34 * [[Install the Standalone Distribution>>Documentation.AdminGuide.InstallationStandalone]] which contains a default set of wiki pages.
35 * Use the [[Offline Packager Maven plugin>>https://github.com/xwiki-contrib/maven-plugin-offline-xwiki-repository-packager]].
36
37 === Extension Repositories ===
38
39 XWiki performs some checks at startup and even at runtime and tries to connects to remote Extension repositories. This will not cause any problem if you're offline but you'll get some error logs. You may want to disable Extension repositories by editing your ##xwiki.properties## config file and adding the following empty property (make sure that this is the only property defined with the name):
40
41 {{code}}
42 extension.repositories=
43 {{/code}}
44
45 === Deprecated methods ===
46
47 ==== Manually Import Wiki Pages ====
48
49 {{warning}}
50 This is not supported anymore since 9.5
51 {{/warning}}
52
53 You can also skip the Distribution Wizard import the default Wiki that we are providing as a [[XAR file>>http://download.forge.ow2.org/xwiki/]] by using the [[Import feature>>platform:AdminGuide.ImportExport]]. Since there's no Admin user created at this point, you'll need to [[log in as ##superadmin##>>platform:AdminGuide.Configuration||anchor="HEnablesuperadminaccount"]] to be able to perform this import.
54
55 {{warning}}
56 If you're upgrading an existing wiki using the manual Import feature, 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.
57
58 On the other hand, if you use the Distribution Wizard, it'll automatically perform a merge and prompt you for action in case there's a conflict it cannot resolve automatically. Thus using the Distribution Wizard is what we recommend.
59 {{/warning}}

Get Connected