GNU/Linux >> Linux Esercitazione >  >> Ubuntu

Come installare XWiki su Ubuntu 16.04

In questo tutorial, ti mostreremo come installare e configurare XWiki sul tuo server Ubuntu 16.04. Per quelli di voi che non lo sapessero, XWiki è un open-source pronto per l'impresa wiki scritto in Java, viene eseguito su un contenitore servlet come Tomcat, Jboss, ecc. che utilizza il database relazionale per memorizzare le informazioni.

Questo articolo presuppone che tu abbia almeno una conoscenza di base di Linux, sappia come usare la shell e, soprattutto, che ospiti il ​​tuo sito sul tuo VPS. L'installazione è abbastanza semplice e presuppone che tu sono in esecuzione nell'account root, in caso contrario potrebbe essere necessario aggiungere 'sudo ' ai comandi per ottenere i privilegi di root. Ti mostrerò l'installazione passo passo di XWiki su un server Ubuntu 16.04 (Xenial Xerus).

Prerequisiti

  • Un server che esegue uno dei seguenti sistemi operativi:Ubuntu 16.04 (Xenial Xerus).
  • Si consiglia di utilizzare una nuova installazione del sistema operativo per prevenire potenziali problemi.
  • Accesso SSH al server (o semplicemente apri Terminal se sei su un desktop).
  • Un non-root sudo user o accedere all'root user . Ti consigliamo di agire come non-root sudo user , tuttavia, poiché puoi danneggiare il tuo sistema se non stai attento quando agisci come root.

Installa XWiki su Ubuntu 16.04

Passaggio 1. Innanzitutto, assicurati che tutti i pacchetti di sistema siano aggiornati eseguendo il seguente apt-get comandi nel terminale.

sudo apt-get update
sudo apt-get upgrade

Passaggio 2. Installazione di XWiki.

Esegui i seguenti comandi in Terminale per installare XWiki su Ubuntu, tramite il repository XWiki:

wget -q "http://maven.xwiki.org/public.gpg" -O- | sudo apt-key add -
wget "http://maven.xwiki.org/stable/xwiki-stable.list" -P /etc/apt/sources.list.d/

Per controllare tutti i pacchetti disponibili in questo repository usando il seguente comando:

apt-cache search xwiki

Risultato:

xwiki-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-mysql-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-pgsql-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat-mysql - XWiki enterprise Tomcat/MySQL based package
xwiki-enterprise-tomcat-pgsql - XWiki enterprise Tomcat/PostgreSQL
xwiki-enterprise-tomcat5-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat5-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat6-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat6-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat7-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat7-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat7-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat8-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat8-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-enterprise-tomcat8-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-mysql-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-pgsql-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-solr-data - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat7-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat7-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat7-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat8-common - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat8-mysql - XWiki is a free wiki software platform written in Java with a design emphasis
xwiki-tomcat8-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis

Puoi vedere nell'elenco che il repository contiene pacchetti che possono installare XWiki con diverse versioni di Tomcat, MySQL e PostgreSQL. Installeremo XWiki Enterprise con Tomcat 8 e il server di database PostgreSQL, ma in base alle tue esigenze, puoi selezionare un altro pacchetto.Esegui il seguente comando:

apt-get install xwiki-enterprise-tomcat8-pgsql

Dato che tutte le dipendenze devono essere installate, l'installazione potrebbe richiedere del tempo. Durante l'installazione, ti verrà chiesto di inserire una password per l'utente 'xwiki' di PostgreSQL .

Passaggio 3. Accesso a XWiki.

XWiki sarà disponibile sulla porta HTTP 8080 per impostazione predefinita. Apri il tuo browser preferito e vai a http://your-domain.com:8080/xwiki o http://server-ip:8080/xwiki e completare i passaggi necessari per completare l'installazione. Se stai usando un firewall, apri la porta 80 per abilitare l'accesso al pannello di controllo.

Congratulazioni! Hai installato con successo XWiki. Grazie per aver utilizzato questo tutorial per l'installazione di XWiki nei sistemi Ubuntu 16.04 (Xenial Xerus). Per ulteriore aiuto o informazioni utili, ti consigliamo di controllare il sito Web ufficiale di XWiki .


Ubuntu
  1. Come installare Odoo su Ubuntu

  2. Come installare R su Ubuntu 16.04

  3. Installa XWiki su Ubuntu 16.04

  4. Come installare Vai su Ubuntu 18.04

  5. Come installare XWiki su Ubuntu 20.04

Come installare qt su Ubuntu 20.04

Come installare XWiki su Ubuntu 18.04 LTS

Come installare XWiki su Ubuntu 20.04 LTS

Come installare Go in Ubuntu 20.04

Come installare Vai su Ubuntu 22.04

Come installare XWiki su Ubuntu 20.04