Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: MarkR on July 10, 2017, 12:58:51 PM

Title: Install XWIKI on Contribs 9.x
Post by: MarkR on July 10, 2017, 12:58:51 PM
Hi All,

Has anyone installed xwiki (http://www.xwiki.org) on SME 9.x, and do you have a guide.

Many thanks
Mark
Title: Re: Install XWIKI on Contribs 9.x
Post by: Stefano on July 10, 2017, 01:32:59 PM
I don't think so..

anyway, it's a java app, so you'd follow this page: https://thishosting.rocks/how-to-build-your-own-wiki-with-xwiki-on-centos/

and try yourself..
let us know, thank you
Title: Re: Install XWIKI on Contribs 9.x
Post by: mmccarn on July 10, 2017, 01:51:48 PM
I found this page on installing xwiki on centos 7:
https://thishosting.rocks/how-to-build-your-own-wiki-with-xwiki-on-centos/

Following that outline, I installed it on my SME server using:

Code: [Select]
yum install java
mkdir -p /root/addons
cd /root/addons
wget http://download.forge.ow2.org/xwiki/xwiki-enterprise-installer-generic-8.4.5-standard.jar
java -jar xwiki-enterprise-installer-generic-8.4.5-standard.jar

During install, I answered several simple/non-technical questions
I answered "No" only to the questions about adding xwiki to start menus and desktops

After install:
Code: [Select]
cd /usr/local/XWiki\ Enterprise\ 8.4.5/
./start_xwiki.sh

Wait a minute or so until the screen indicates that the server has started...

http://your-sme-server-lan-IP:8080/

Still to do (assuming you want to use XWiki from off-site):
* Create either a firewall rule (https://wiki.contribs.org/Firewall#DB_Settings), domain proxypass (https://wiki.contribs.org/SME_Server:Documentation:ProxyPass#ProxyPass_a_domain) or alias/location proxypass (https://wiki.contribs.org/SME_Server:Documentation:ProxyPass#ProxyPass_a_alias.2Fdirectory.2Flocation).

* Configure XWiki to start automatically when your server reboots (sv / service / /etc/init.d / crontab)

* (I don't know about this one...) Configure XWiki to run as a non-privileged user...
Title: Re: Install XWIKI on Contribs 9.x
Post by: MarkR on July 10, 2017, 10:50:28 PM
Many thanks.

This is one of the many reasons I use contribs.org, superb community of people :)

I shall have a tinker and let you know, thanks again
Mark
Title: Re: Install XWIKI on Contribs 9.x
Post by: mmccarn on July 11, 2017, 01:50:43 AM
I have it starting at boot and logging to /var/log/xwiki.log after adding this line to crontab:

Code: [Select]
@reboot /usr/local/XWiki\ Enterprise\ 8.4.5/start_xwiki.sh >> /var/log/xwiki.log 2>&1