Thanks, I also had problems installing xwiki deb package, here's what worked for me:
Use Oracle Java (not OpenJDK): sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer Install xwiki (using LTS & MySql) wget -q "http://maven.xwiki.org/public.gpg" -O- | sudo apt-key add - sudo wget "http://maven.xwiki.org/lts/xwiki-lts.list" -P /etc/apt/sources.list.d/ Other versions are: http://maven.xwiki.org/releases/xwiki-releases.list: all released versions including milestones and release candidates (beta) http://maven.xwiki.org/stable/xwiki-stable.list: all released versions excluding milestones and release candidates (stable) apt-get update sudo apt-get install xwiki-enterprise-tomcat7-mysql You will get this error: Setting up xwiki-enterprise-tomcat7-common (7.4.4) … * no JDK or JRE found – please set JAVA_HOME Fix it by adding the JAVA_HOME to tomcat and do also increase the memory allocated: nano /etc/default/tomcat7 JAVA_HOME=/usr/lib/jvm/java-8-oracle JAVA_OPTS="-Djava.awt.headless=true -Xmx512m -XX:MaxPermSize=192m -XX:+UseConcMarkSweepGC" service tomcat7 restart Configure xwiki nano /etc/xwiki/xwiki.cfg xwiki.authentication.validationKey=AKEY xwiki.authentication.encryptionKey=ANOTHERKEY http://yourIPorDNS:8080/xwiki/ You should see the “Distribution Wizard” just follow the steps! I installed the “XWiki Enterprise Flavor – Main Wiki”. You can now login with the user “Admin” and password “admin” (change this as soon as possible). 2016-08-03 15:09 GMT-04:00 Polydectus84 <[email protected]>: > Well, I managed to install XWiki using the Debian package installation, but > the installation varied a bit. > > Here is what worked for me: > > Installed Ubuntu Server 16.04.1 > > wget -q "http://maven.xwiki.org/public.gpg" -O- | sudo apt-key add - > sudo wget "http://maven.xwiki.org/lts/xwiki-lts.list" -P > /etc/apt/sources.list.d/ > sudo apt-get update > sudo apt-get install default-jdk > sudo apt-get install tomcat8 > sudo service tomcat8 restart > sudo apt install xwiki-enterprise-tomcat8-mysql > sudo reboot > > Only then was I able to initialize XWiki. I am so happy to finally get it > installed! Still trying to learn the layout and get a navbar set up, like > you have on > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT > (Home, About, Projects, etc). > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Need-Help-Installing-XWiki-on-Ubuntu-Server-1404-LTS-tp7600396p7600563.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
