XWiki

From OMU Wiki
Revision as of 13:36, 28 August 2023 by WikiAdmin (talk | contribs) (Created page with "== Install Documentation == <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" >Install: </p>[https://xwiki.com/en/Blog/HowtoinstallXWikiusingDocker/ https://xwiki.com/en/Blog/HowtoinstallXWikiusingDocker/]<p>Cmd: Docker pull xwiki</p><p>Create an init.sql file at /var/lib/containers/storage/volumes/mysql-init</p><p>It needs to contain this text: grant all privileges on *.* to xwiki@'%' identified by 'xwiki'</p> == Create the Database Container == <p>p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install Documentation

Install: 

https://xwiki.com/en/Blog/HowtoinstallXWikiusingDocker/

Cmd: Docker pull xwiki

Create an init.sql file at /var/lib/containers/storage/volumes/mysql-init

It needs to contain this text: grant all privileges on *.* to xwiki@'%' identified by 'xwiki'

Create the Database Container

podman run --network=vlan97 --ip 192.168.97.10 --dns 1.1.1.1 --dns 8.8.8.8 --name mysql-xwiki -v xwiki-database:/var/lib/mysql -v mysql-init:/docker-entrypoint-initdb.d -e MYSQL_ROOT_PASSWORD=xwiki -e MYSQL_USER=xwiki -e MYSQL_PASSWORD=xwiki -e MYSQL_DATABASE=xwiki -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin --explicit-defaults-for-timestamp=1

Create the XWiki Container

docker run --network=vlan97 --ip 192.168.97.11 --dns 1.1.1.1 --dns 8.8.8.8 --name xwiki -p 8080:8080 -v xwiki:/usr/local/xwiki -e DB_USER=xwiki -e DB_PASSWORD=xwiki -e DB_DATABASE=xwiki -e DB_HOST=192.168.97.10 xwiki:lts-mysql-tomcat