In questo tutorial, ti mostreremo come installare XWiki su Ubuntu 18.04 LTS. Per quelli di voi che non lo sapessero, XWiki è un programma avanzato gratuito e open source basato su Java piattaforma software wiki. Funziona su contenitori servlet come JBoss, Tomcat, Jetty, ecc. Utilizza anche un database come MySQL o PostgreSQL per memorizzare le sue 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 18.04 (Bionic Beaver).
Prerequisiti
- Un server che esegue uno dei seguenti sistemi operativi:Ubuntu 18.04 e qualsiasi altra distribuzione basata su Debian come Linux Mint.
- 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 comenon-root sudo user
, tuttavia, poiché puoi danneggiare il tuo sistema se non stai attento quando agisci come root.
Installa XWiki su Ubuntu 18.04 LTS Bionic Beaver
Passaggio 1. Innanzitutto, assicurati che tutti i pacchetti di sistema siano aggiornati eseguendo il seguente apt
comandi nel terminale.
sudo apt update sudo apt upgrade
Passaggio 2. Installazione di XWiki su Ubuntu.
Prima di iniziare l'installazione, dovrai aggiungere il repository XWiki ufficiale. Puoi farlo eseguendo i seguenti comandi:
wget -q "https://maven.xwiki.org/public.gpg" -O- | sudo apt-key add - sudo wget "https://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. In questo tutorial installeremo XWiki con Tomcat 8 e PostgreSQL come server di database. Esegui il comando seguente:
apt-get install xwiki-enterprise-tomcat8-pgsql
Passaggio 3. Accesso a XWiki.
XWiki sarà disponibile sulla porta HTTP 8080 per impostazione predefinita. Apri il tuo browser preferito e vai a http://yourdomain.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 installare l'e-commerce di XWiki sui sistemi Ubuntu 18.04. Per ulteriore aiuto o informazioni utili, ti consigliamo di controllare il sito Web ufficiale di XWiki.