Access the XWiki installation at, create your administrative user and you can start creating your own wiki website. With this step, the installation of XWiki on a CentOS 7 VPS is completed. Save the changes and restart Tomcat again for the changes to take effect. 5InnoDBDialectĭon’t forget to change the necessary information for the MySQL database. Jdbc:mysql://localhost/xwiki?useSSL=false It should look like this: nano /usr/share/tomcat/webapps/xwiki/WEB-INF/
Now, open the ‘’ file with a text editor and comment out the whole ‘Configuration for the default database’ part and uncomment the ‘MySQL configuration’ part. Restart Tomcat to deploy the downloaded XWiki war file and enable it to start at boot time systemctl restart tomcat Rename the war file to something simpler mv xwiki-enterprise-web-8.4.3.war xwiki.war Once Tomcat is installed on your server, change the current working directory to the webapps directory and download XWiki cd /usr/share/tomcat/webapps
#Install jdbc driver for mysql in centos install
Install JDBC driver for MySQL yum -y install mysql-connector-javaĬopy the MySQL connector file to Tomcat’s ‘lib’ directory cp /usr/share/java/mysql-connector-java.jar /usr/share/tomcat/lib/ OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
OpenJDK Runtime Environment (build 1.8.0_111-b15) yum -y install javaĬheck if it is successfully installed with the following command java -version XWiki is Java based platform, so we have to install java on the VPS. Mysql> GRANT ALL ON xwiki.* TO IDENTIFIED BY 'PASSWORD' Mysql> CREATE DATABASE xwiki DEFAULT CHARACTER SET utf8 Start the database server and enable it to start at system boot systemctl start mysqlĪnd create a new MySQL and user for XWiki mysql -u root -p
Install MySQL database server yum -y install mysql
#Install jdbc driver for mysql in centos update
Log in to your CentOS 7 VPS via SSH as user root ssh _AddressĪnd make sure that all installed packages are up to date yum -y update This tutorial is written and tested for a CentOS 7 Cloud Server You can check their official playground (demo) to learn more about the features that XWiki offers. The large and knowledgeable community is always available for help and they keep updating and improving the wiki software. Some of its useful features include WYSIWYG editing, OpenDocument based document import/export, semantic annotations and tagging, and advanced permissions management. It’s one of the most popular and most capable open source wikis out there. XWiki is an open-source, enterprise-level wiki platform written in Java.