I-DokuWiki, uyifaka njani le sicelo ku-Ubuntu 20.04

Malunga neDokuWiki

Kwinqaku elilandelayo siza kujonga ukuba sinokwenza njani Faka i-DocuWiki kwi-Ubuntu 20.04. Esi sisicelo esidumileyo, esivulekileyo somthombo esibhalwe kwi-PHP. Iya kusivumela ukuba senze iiwebhusayithi zethu, ngokulayisha umxholo wethu kwisicelo.

I-syntax yayo iyafana naleyo ye- MediaWiki, nangona ingafani nale software, ulwazi lugcinwe kwiifayile zombhalo ocacileyo, ke oko akufuneki ukuba kusetyenziswe isiseko sedatha. I-DokuWiki iza nazo zonke izinto eziyimfuneko ukwenza iwebhusayithi kunye ne-SEO, ungqinisiso, nokunye okuninzi. Kufuneka ulandele nje la manyathelo alandelayo aza kuboniswa apha ngezantsi, kufakelo olulula kwi-Ubuntu 20.04.

UDokuWiki ubhetyebhetye kwaye kulula ukusebenzisa isoftware yewiki evulekileyo. Iyathandwa ngabasebenzisi ngenxa yendlela yayo ecocekileyo nefundekayo. Uncedo olulula, ukugcinwa kunye nokudityaniswa kwenza ukuba ibeyintandokazi kubaphathi. Ulawulo lofikelelo olwakhelweyo kunye nezihlanganisi zokuqinisekisa zenza iDokuWiki iluncedo ngakumbi kwimeko yeshishini. Yintoni egqithisile, Inani elikhulu leeplagi ezifakwe luluntu lwazo zenza ukuba kubekho iimeko ezahlukeneyo zokusetyenziswa, ngaphaya kwewiki yesiko.

Iimpawu ngokubanzi zeDokuWiki

  • Sebenzisa i syntax elula.
  • Ivumela uphononongo lwephepha elingenamda.
  • Akhawunti umahluko onemibala yenkxaso kwaye izahlulo ezithile.
  • Ngenisa kwaye ungene kwimifanekiso kunye nezinye iintlobo zeefayile zemultimedia.
  • Umxholo unokuhlelwa ngokulula
  • Amacandelo okuhlela avumela hlela iinxalenye ezincinci zephepha.
  • Ibar yesixhobo kunye iindlela ezimfutshane zokucofa benza ukuhlela kube lula kakhulu.
  • Ine- umkhangeli wopelo.
  • Yenza i Isiqulatho ngokuzenzekelayo.
  • Unikeza a lock ukunqanda ukuhlela ungquzulwano.
  • Sinokusebenzisa Uluhlu lolawulo lofikelelo y Uludwe olumnyama logaxekile.
  • Imeyile ebhaliweyo kunye nenkxaso rel = ayilandeli.
  • Akhawunti Inkxaso yeelwimi ezingaphezu kwama-50 kunye ne-UTF-8.
  • Ngokukhetha, ibonelela Amakhonkco azenzekelayo kwezinye ii-wikis ezithetha isiNgesi.
  • Ukukhangela ngokukhawuleza, esekwe kwizalathiso zombhalo.
  • Indawo efihlakeleyo yokugcina iphepha ngokunikezela ngokukhawuleza.
  • Ujongano olusekwe kwi-AJAX.
  • Uyilo olwenziwe ngokwezifiso ngokusebenzisa templates.
  • Iimpawu zoqobo zinokwandiswa nge- plugins.
  • Ukufumaneka kwe inkxaso yoluntu ukuba ufuna uncedo.
  • Akukho datha ifunekayo, yonke into igcinwa kwiifayile zombhalo.
  • Ivela umthombo ovulekileyo, ukongeza ekubeni yiprojekthi ebhalwe kakuhle.

Ezi zezinye zeempawu zale nkqubo. Banga Nxibelelana nazo zonke ngokweenkcukacha ukusuka kwi iwebhusayithi yeprojekthi.

Faka iDokuWiki kwi-Ubuntu 20.04

Okokuqala siya kuthi hlaziya inkqubo yethu ukufaka iiphakheji zamva nje. Singakwenza oku ngokuvula i-terminal (Ctrl + Alt + T) kwaye sisebenzise imiyalelo kuyo:

sudo apt update; sudo apt upgrade

Faka i-Apache kunye ne-PHP

Into elandelayo ekufuneka siyenzile yile faka i-apache kunye ne-PHP kunye nolwandiso lwabo. Sifuna nje ukuvula i-terminal (Ctrl + Alt + T) kwaye ubhale kuyo:

faka iapache2 kunye ne php

sudo apt install apache2 php php-gd php-xml php-json

Emva kokufaka ezi phakheji zingasentla, siya kuthi qala i-apache ngemiyalelo:

Qalisa i-apache2

sudo systemctl start apache2

sudo systemctl enable apache2

Ukukhuphela

ukuba fumana ingxelo yokugqibela yeDokuWikiSingasebenzisa i-wget kwisiphelo sendlela (Ctrl + Alt + T) ngolu hlobo lulandelayo:

khuphela i-docuwiki

wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz

Nje ukuba ukhuphelo lugqityiwe, siya kuthi Yenza incwadi eneenkcukacha ebizwa ngokuba yi-dokuwiki kule ndlela ilandelayo:

sudo mkdir /var/www/html/dokuwiki

Kule folda siza kuthi khupha iphakheji ekhutshelwe ngaphambili. Siza kwenza oku ngomyalelo:

sudo tar -xvzf dokuwiki-stable.tgz -C /var/www/html/dokuwiki/ --strip-components=1

Into elandelayo esiza kuyenza yile khuphela isampulu .htaccess ifayile ukubaleka:

sudo cp /var/www/html/dokuwiki/.htaccess{.dist,}

Kwaye ekugqibeleni Siza kunika iimvume ezifanelekileyo kulawulo lwe-dokuwiki.

sudo chown -R www-data:www-data /var/www/html/dokuwiki

Ukufikelela

Okwangoku singafikelela kwi-DokuWiki kwi-Ubuntu 20.04 ngokuchwetheza https: //yourcominio/install.php. Kulo mzekelo Ndiza kusebenzisa i-localhost / dokuwiki / install.php. Oku kuyakusibonisa iphepha lofakelo.

Iphepha lokufaka i-DokuWiki

Kuya kufuneka Gcwalisa iindawo ezifunekayo (phakathi kwale datha siza kubhala igama lomsebenzisi kunye negama lokugqitha ukuze ungene) kwaye ekugqibeleni ucinezele iqhosha 'Gcina'. Oku kuya kusihambisa kwakhona kwiscreen esingezantsi.

ndwendwela i-wiki yakho entsha

Si Cofa ku 'Ndwendwela idokuwiki yakho entsha', Siza kubona iphepha elifana neli lilandelayo.

wiki yasekhaya

Kule krini, ukuba senza njalo cofa 'Qhagamshela', Siya kuthunyelwa kwiphepha lokungena.

Ngena kwi-dokuwiki

Apha kuya kufuneka bhala igama lomsebenzisi kunye negama lokugqitha esilikhethileyo kwisinyathelo sokuqala, ukungena ngemvume. Oku kuzakusisa kwiphaneli yeDokuWiki.

U-Docuwiki ungene

Le yindlela iDokuWiki enokufakwa ngayo kwindawo kwi-Ubuntu 20.04. Ngolwazi oluthe kratya malunga nendlela yokusebenzisa iDokuWiki, abasebenzisi banokusebenzisa iwebhusayithi yeprojekthi.


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Izimvo, shiya eyakho

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

  1.   Rodo sitsho

    Ndiyifakile kwaye ngekhe ndenze inqaku. Andazi ukuba isebenza njani kwaye ndingafuni nokufunda. Ndicinga ukuba into engekhoyo ebeka emngciphekweni wokungafakwa. Ndikhuphele iPmWiki kwaye xa uqala ukuyibona uyabona ukuba isebenza njani. Xa ndithathe umhlala-phantsi kwaye ndinexesha ndiza kuchitha iiyure ukubona indlela esebenza ngayo kwaye kuphela ngeenjongo zokungacingi ngepenshini elusizi.