XWiki: Difference between revisions

From OMU Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
== Basic Information ==
Server Link: [http://192.168.97.11:8080/bin/view/Main/ Home - XWiki]
== Install Documentation ==
== Install Documentation ==


<p>Install: [https://xwiki.com/en/Blog/HowtoinstallXWikiusingDocker/ https://xwiki.com/en/Blog/HowtoinstallXWikiusingDocker/]<p>Command to download Docker image: <code>docker pull xwiki</code></p><p>Create an init.sql file at <code>/var/lib/containers/storage/volumes/mysql-init</code></p><p>It needs to contain this text: ''grant all privileges on *.* to xwiki@'%' identified by 'xwiki'''</p>
<p>Install: [https://xwiki.com/en/Blog/HowtoinstallXWikiusingDocker/ https://xwiki.com/en/Blog/HowtoinstallXWikiusingDocker/]</p>
<p>Command to download Docker image: <code>docker pull xwiki</code></p>
<p>Create an init.sql file at <code>/var/lib/containers/storage/volumes/mysql-init</code></p>
<p>It needs to contain this text: ''grant all privileges on *.* to xwiki@'%' identified by 'xwiki'''</p>


== Create the Database Container ==
== Create the Database Container ==

Latest revision as of 13:45, 28 August 2023

Basic Information[edit | | edit source]

Server Link: Home - XWiki

Install Documentation[edit | | edit source]

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

Command to download Docker image: 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[edit | | edit source]

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[edit | | edit source]

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