Uyifaka njani kwaye uyiqwalasele i-XAMPP kwi-GNU / Linux

Esi sisikhokelo esisesikhathini sendlela yokufaka kunye nokuqwalasela i-XAMPP kwi-GNU / Linux, eneenkcukacha ngamanyathelo ngamanyathelo.

Yintoni iXAMPP?

I-XAMPP isimahla kwaye kulula ukuyifaka ukusasazwa kwe-Apache equlathe iMariaDB, PHP, kunye nePerl. Iphakheji yokufakwa kweXAMPP yenzelwe ukuba kube lula ukuyifaka kunye nokuyisebenzisa. Isimahla ngokupheleleyo kwaye kulula ukuyifaka ukusasazwa kwe-Apache equkethe iMariaDB, i-PHP kunye nePerl.

Uyifaka njani kwaye uyiqwalasele iXAMPP?

Ukufaka iXampp

1.- Khuphela iXAMPP yeLinux ukusuka https://www.apachefriends.org/es/index.html

faka kwaye uqwalasele i-XAMPP

2.- Ekupheleni kokukhuphela sine yogcino.run, ekufuneka siyifake ngale ndlela ilandelayo:

  • Sivula iTheminali nge Ulawulo + T, okanye kwimenyu yethu.
  • Singena njengengcambu:

Ukungena kwengcambu

  • Siyaqhubeka nokunika imvume yokwenza i-run kunye nokufaka i-XAMPP
$ sudo su $ chmod + x xampp-linux-x64-5.6.28-0-installer.run $ ./xampp-linux-x64-5.6.28-0-installer.run

Ufakelo_permissions

0hlohla

1hlohla

  • Samkela yonke into kwaye silinde ukufakela ukugqiba.

Ukuseta iXAMPP

3.- Siyaqhubeka nokuqwalasela i-XAMPP

  • Uqwalaselo lwe-MySQL (MariaDB)
    $ ln -s / opt / lampp / bin / mysql / usr / bin / $ ethi mysql $ uhlobo mysql $ ls -lart / usr / bin / mysql
    

    Qwalasela i-mysql

    jonga i-mysql yoqwalaselo

  • Ukumisela umthetho com.ubuntu.pkexec.xampp.polisi ipaneli yemizobo yokuqhuba kunye neemvume zolawulo oku kuya kuvelisa ifayile ye-bash eqhubayo xampp-linux-x64-5.6.28-0-installer.run. Ngenxa yoku siya kwindlela / usr / share / polkit-1 / iintshukumo kwaye siphumeza:
    $ touch com.ubuntu.pkexec.xampp.policy $ nano com.ubuntu.pkexec.xampp.policy

    Umgaqo-nkqubo wokuchukumisa

    Umgaqo-nkqubo we-nano

    Ngaphakathi kwifayile com.ubuntu.pkexec.xampp.polisi sincamathisela le khowudi ilandelayo:

 Ukuqinisekiswa kuyadingeka ukuqhuba iPhaneli yokuLawula yeXAMP yesikiso umbhali_admin umbhali_admin umbhali_admin /opt/lampp/manager-linux-x1.0.run yinyani
  • Ukwenza iskripthi esinoxanduva lokwenza iphaneli yemizobo yeXAMPP endleleni / usr / bin / . Kuya kufuneka senze iscript esinegama xampp-ulawulo-lwepaneli:
    chukumisa i-xampp-control-panel nano xampp-control-panel

    chukumisa xpc

    nanoxpc

#! / bin / bash $ (pkexec /opt/lampp/manager-linux-x64.run);
  • Ukuseta .desktop ukumilisela umphathi weenkonzo zemizobo yeXAMPP, sebenzisa le miyalelo ilandelayo, kwindlela / usr / isabelo / izicelo:
    chukumisa i-xampp-control-panel nano xampp-control-panel

    touch desktop

    nano desktop

  • Emva kokusebenzisa i-nano application.desktop faka le khowudi ilandelayo
[Ungeniso lweDesktop] Amagqabantshintshi = Qala / Misa igama le-XAMPP = XAMPP yokuLawula iPhaneli Exec = xampp-control-panel Icon = xampp Encoding = UTF-8 Terminal = false Type = Application
  • Ngoku sinophawu lokuba xa ucinezelwe uya kwenza ifumka, esicela ukuba singene ngemvume ukuze sinikezele ngeemvume zokwenza kwiphaneli yemifanekiso yeXAMPP. Kufuneka ijongeke ngoluhlobo:
    xpc

    ifumka

    xampp-pc

  • Sebenzisa i-mysql, ukuba wenze ubumbeko lwangaphambili awusadingi kuya kulawulo / opt / lampp / bin / mysql -u ingcambu -p Ukungena ngoku kufuneka uvule i-terminal kwaye usebenzise mysql -u root -p.
    mysql

Ngoku sinokulawula ngokucacileyo i-XAMPP kunye nokufikelela kwi-mysql ngesiqhelo ngaphandle kokuya ku / opt / lampp / bin isikhombisi.

Esi sisikhokelo, ndiyathemba ukuba usithandile kwaye ungalibali ukushiya izimvo zakho.


Izimvo ezi-26, shiya ezakho

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.   UFrederick sitsho

    La ngamanqaku axatyiswe kakhulu, ukuba anemixholo echanekileyo nechanekileyo yomxholo wawo. Uncede oogxa bakhe abakhetha ukufaka iiinguqulelo zesoftware yeXAMPP. Bendingabazi ubukho be-installer yeLinux, esetyenziselwa ukufaka kunye nokumisela i-LAMP, ngesandla. Ndiqinisekile ukuba iyakuba luncedo olukhulu kwabo bafuna ukuba neseva ngezi zinto, kwaye iyakukholisa uninzi lweenkqubo kunye nabalawuli abakhetha ukuyifaka kwiWindows, ukuyenza kwiserver eneLinux. Enkosi Nexcoyotl ngenqaku elihle kangaka!

    1.    Nexcoyotl sitsho

      Enkosi kakhulu, Federico, ndiyayixabisa ingcaciso yakho, ndiyathemba ukuba incwadana encinci nelula iluncedo. Le yeyokuqala ndiyathemba ukwenza ezinye ezininzi.

  2.   yerko sitsho

    Isikhokelo esihle kakhulu

    Kodwa ndinombuzo, kutheni uchukumisa? Ndiyaqonda ukuba kukwenza ifayile engenanto, kodwa nge-nano nje, unokwenza kwaye uhlele ifayile ...

    1.    UFrederick sitsho

      ukuchukumisa ngumyalelo osetyenziselwa ukuhlaziya ukufikelela kunye nokulungiswa kwemihla yefayile enye okanye ezingaphezulu, ukuza kuthi ga ngoku.
      chukumisa [OPTINO]… IFAYILE…
      Ukuba impikiswano FILE okanye igama lefayile alikho, ifayile engenanto enegama elifanayo neFILE yenziwe.
      Ithe ngqo ngakumbi-kwaye iqhelekile- ngale ndlela yokwenza iifayile ezingenanto, ngaphandle komhleli nano
      Baleka ukuchukumisa umntu ngolwazi oluthe kratya.

    2.    Nexcoyotl sitsho

      Molo yerko kwangaphambili enkosi ngokuphawula, isizathu sokuba ndisebenzise ukuchukumisa kungenxa yokuba isiko lam hehe. Kwaye ukuba, njengoko uqabane uFederico esitsho, umsebenzi wawo ungaphaya kokwenza iifayile. Ukuba ufuna ukufumanisa ngakumbi, sungula i-man man touch, imibuliso mhlobo.

      1.    yerko sitsho

        Kodwa, emva kwebala uguqula ifayile, ke linyathelo elongezelelweyo kwinto oyenzayo.

      2.    yerko sitsho

        Ndiyazi ukuba uchukumiseka ntoni, bendifuna ukwazi ukuba kutheni usenza: P, kuba nge nano ibingaphezulu kokwaneleyo 😉

  3.   Engaziwa sitsho

    Amaxwebhu alunge kakhulu, umsebenzi olungileyo.
    Usebenzisa ntoni ukumisela ukukhawuleza, ndikuthande kakhulu ukumiselwa kwayo.

    Phendula nge quote

    1.    Nexcoyotl sitsho

      Molo mhlobo, enkosi ngokuma uze ubeke izimvo 😀, ndisebenzisa iqokobhe le-Powerline yiprojekhthi evulekileyo onokuyifumana kwi-github. Kulula ukumisela ukuba ndisebenzisa i-bash kunye negobolondo ye-powerline, nangona ungayilungiselela i-zsh.

  4.   ikoratsuki sitsho

    Isifundo esihle kakhulu. Ukucwangciswa kwetheminali kubamba ingqwalaselo yam, ungabelana ngesakhelo?

    1.    Nexcoyotl sitsho

      Molo Koratsuki, jonga esi sifundo ndisenzayo, ndiyathemba ukuba iya kuba luncedo kuwe ukumisela ukukhawuleza. https://blog.desdelinux.net/configurar-bash-prompt-powerline-shell-master/

  5.   Esteban sitsho

    Ilungile igalelo lakho Mzalwana, kubuhlungu ukuba ndingakhange ndilubone olu papasho, kwiiveki ezimbalwa ezidlulileyo bandishiyele umsebenzi wokufaka indawo ye-LAMP kwikhompyuter yam, kodwa kwinto endiyibonayo kulula ukuyifaka i-XAMPP. Ngapha koko enkosi ngegalelo lakho, imibuliso.

  6.   daz08 sitsho

    Mkhulu, ucaciswe kakuhle kwaye ngendlela elula.

  7.   UMORKE sitsho

    Ndiyabonga kakhulu

    Yonke into isebenze kakuhle.

    Saludos !!

  8.   Katherine sitsho

    Molo, yonke into echazwe kwimifanekiso, ikwacacisiwe kwisicatshulwa? Oko kukuthi, imifanekiso yeenjongo zokubonisa kuphela? Okanye kukho amanyathelo ekufuneka uyenzile kwimifanekiso. Ndibuza kuba ndiyimfama, kwaye andiyongcali kakhulu kwi-linux okwangoku, ngoko andifuni ukwenza i-haha haha. Kwelinye icala, ndinomlingane ongumntu 18. Ngaba esi sifundo sinokusetyenziswa? Ukusuka sele enkosi kakhulu. Masinwabe!

  9.   Uleon S sitsho

    Izinto ezibalaseleyo ezinomxholo obonakalisayo, oku kwenza kube lula ukukhokela abanye

  10.   Ignatius7 sitsho

    - icala elinye liboniswa kabini
    chukumisa i-xampp-control-panel
    nano xampp-ipaneli yokulawula
    - enye kwindlela
    / usr / bin /
    - kunye nenye kwindlela:
    / usr / isabelo / izicelo
    -Ndicinga ukuba kule ndlela yesibini kufanele ukuba ibe yi-xampp-control-panel.desktop.
    - Kwelinye icala, ukwenza uninzi lwamanyathelo, bendingenazo iimvume, ke ndaye ndagqiba ukulandela imiyalelo nge «sudo«, ukuze ndibenakho ukuyila umthetho.
    -Kodwa ekugqibeleni xa ndingena kwi-icon indinika umyalezo wemposiso:
    Umyalelo "xampp-control-panel" awunakwenziwa.
    Isilele ukuqhuba inkqubo yomntwana "xampp-control-panel" (Imvume iyaliwe)

    1.    Ignatius7 sitsho

      -Ndisele ndiyenzile kwaye ndibeke imvume yokuphumeza kwifayile / usr / bin / xampp-control-panel.
      Sudo chmod + x / usr / bin / xampp-ulawulo-lwepaneli

      1.    UHarold barboza sitsho

        Enkosi yile nto bendiyiphosa kwimvume eyaliwe ingxaki.

  11.   Uleon S sitsho

    2020 esi sithuba sisebenza kakuhle!

  12.   I-Nicksoad sitsho

    Enkosi, iyandisebenzela, nangona ndingayiboni i-xampp icon kodwa ibhokisi emhlophe kodwa ayinamsebenzi, ndinengxaki nje xa ndisebenzisa umhleli wekhowudi njenge-sublime iyandiphika iimvume zokwenza iifayile kwiiprojekthi ze-htdocs. Ndikwazile ukwenza okubalaseleyo ngokunika iimvume endinokuzifunda kunye nokuhlela iifayile kodwa andikwazi ukuyenza ukuba yenze iifayile ezintsha.

  13.   ijuconta sitsho

    Enkosi kwisigidi seNexcoyotl ngenqaku !!!, nakubo bonke abo benza iblogi.desdelinux.net indawo apho unokufumana khona ulwazi esiludingayo !!.
    Enkosi enkosi !!

  14.   Gonzalo sitsho

    Inkcazo elungileyo kakhulu

    Ndisebenzisa i-linux mint kwaye ndingasebenzisa enye echaziweyo ngokufikelela kuba ndenza amanyathelo kwaye awaveli nakweyiphi na indawo yomzobo
    Ngaphambili ndiyabulela kakhulu

  15.   Leo Pual sitsho

    Molo, enkosi ngayo yonke le ncwadana.
    Kodwa ayisebenzi. Sele ndijonge iimvume, iindlela, isicatshulwa sokuncamathisela kwaye akukho nto; Ndifaka igama eliyimfihlo kwaye ayenzi enye into.

    Ungandixelela ukuba isebenza kwi-Opensuse 15.3 Leap.

    Ndimamele, enkosi.

    1.    Ukufaka i-Linux Post sitsho

      Molo, Leo. Sicebisa ukuba uphonononge le post ebizwa ngokuba yi-XAMPP: Indawo yophuhliso ene-PHP ekulula ukuyifaka kwi-GNU/Linux - https://blog.desdelinux.net/xampp-entorno-desarrollo-php-facil-instalar-gnu-linux/

  16.   UJuanitho sitsho

    2022 kwaye isasebenza. Ndisebenzisa iDebian 11!!