Home > Article > System Tutorial > Install and configure on CentOS using XWiki
Due to popular demand, here is another tutorial on installing a wiki using XWiki on a CentOS 7 server. We've already posted a tutorial on how to install DokuWiki in Ubuntu, but if you need a DokuWiki alternative, XWiki is a great option.
XWiki InformationFirst and most important: it is free and open source! Here are some XWiki features:
It has been developed for over 10 years, XWiki is used by many well-known companies as:
We will use CentOS 7 server in this tutorial.
XWiki Installation Guide in CentOS 7let's start. First log in to CentOS VPS and update your system:
yum update
If you haven’t installed nano and wget yet, install them first:
yum install nano wgetInstall Java
XWiki is based on and runs in the Java environment, so we need to install Java. To install it, run the following command:
yum install java
To verify that the installation was successful, run:
java -versionDownload and install XWiki
Currently, the latest version of XWiki is 8.4.4. If there is a newer version, you can update it with the update command.
To download the XWiki installer, run:
wget http://download.forge.ow2.org/xwiki/xwiki-enterprise-installer-generic-8.4.4-standard.jar
To run the installer, enter the following command:
java -jar xwiki-enterprise-installer-generic-8.4.4-standard.jar
Now, the installer will prompt you to ask several questions. Enter 1 (accept), 2 (exit), 3 (restart). show). Most prompts can be answered with 1 (accept). This installer is self-explanatory and easy to understand, so just follow its step-by-step recommendations.
Start XWikiTo start XWiki, you need to go to the directory you selected earlier:
cd /usr/local/"XWiki Enterprise 8.4.4"
And run the script:
bash start_xwiki.sh
Just wait for the script to complete execution. XWiki is installed and started. It's that simple.
Now you can access XWiki through domain name or server IP on port 8080:
http://server-ip:8080
or
http://example.com:8080
XWiki runs on port 8080 by default, but if you want to use port 80, make sure no other program is running on port 80 and start XWiki with the following command:
bash start_xwiki.sh -p 80
Now you can access XWiki without specifying a port. When you visit, you should see the default XWiki home page.
XWiki’s default administrator user and password are:
Use them to log in and access the admin panel. Have fun using your new wiki!
The above is the detailed content of Install and configure on CentOS using XWiki. For more information, please follow other related articles on the PHP Chinese website!