Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and use XWiki under Linux

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to install and use XWiki under Linux", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn how to install and use XWiki under Linux "this article.

XWiki is an open source wiki and application platform based on LGPL protocol written by Java. It is a professional wiki system with powerful extension functions (such as embedding scripts in pages), integrated plug-ins and highly modular architecture.

XWiki information

The first and most important thing is: it is free and open source! These are some of the features of XWiki:

A very powerful WYSIWYG editor, powerful wiki syntax, powerful rights management, responsive skin, advanced search, unique application set, and more. Why use XWiki?

It has been developed for more than 10 years, and XWiki is used by many well-known companies as:

Knowledge base intranet collaboration, public website, business applications, etc. XWiki requires Java 8 or later Servlet containers that support Servlet 3.0.1 to support JDBC 4 drivers for databases at least 2GB RAM (1GB for smaller wiki) you can purchase a VPS from a cloud service provider such as Aliyun, and you can use an one-click deployed Java environment

We will use the CentOS 7 server in this tutorial.

XWiki installation Guide in CentOS 7

Let's get started. First log in to CentOS VPS and update your system:

Yum update

If you haven't already installed nano and wget, install:

Yum install nano wget install Java

XWiki is based on and runs in a Java environment, so we need to install Java. To install it, run the following command:

Yum install java

To verify that it has been successfully installed, run:

Java-version download and install XWiki

Currently, the latest version of XWiki is 8.4.4. If there is an updated 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 ask you a few questions, enter 1 (accept), 2 (exit), and 3 (redisplay). Most prompts can be answered by 1 (accept). This installer is self-evident and easy to understand, so just follow its every step of the way.

Start XWiki

To start XWiki, you need to go to the directory of your previous choice:

Cd / usr/local/ "XWiki Enterprise 8.4.4"

And run the script:

Bash start_xwiki.sh

Just wait for the script to finish executing. XWiki has been installed and started. It's that simple.

Now you can access XWiki through the 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 programs are 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.

The default administrator user and password for XWiki are:

User name: Admin password: admin

Use them to log in and access the administrative panel. Enjoy your use of the new wiki!

The above is all the contents of the article "how to install and use XWiki under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report