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
2.- Ekupheleni kokukhuphela sine yogcino.run, ekufuneka siyifake ngale ndlela ilandelayo:
- Sivula iTheminali nge Ulawulo + T, okanye kwimenyu yethu.
- Singena njengengcambu:
- 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
- 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
- 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
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
#! / 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
- 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:
- 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
.
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.
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!
Enkosi kakhulu, Federico, ndiyayixabisa ingcaciso yakho, ndiyathemba ukuba incwadana encinci nelula iluncedo. Le yeyokuqala ndiyathemba ukwenza ezinye ezininzi.
Isikhokelo esihle kakhulu
Kodwa ndinombuzo, kutheni uchukumisa? Ndiyaqonda ukuba kukwenza ifayile engenanto, kodwa nge-nano nje, unokwenza kwaye uhlele ifayile ...
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.
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.
Kodwa, emva kwebala uguqula ifayile, ke linyathelo elongezelelweyo kwinto oyenzayo.
Ndiyazi ukuba uchukumiseka ntoni, bendifuna ukwazi ukuba kutheni usenza: P, kuba nge nano ibingaphezulu kokwaneleyo 😉
Amaxwebhu alunge kakhulu, umsebenzi olungileyo.
Usebenzisa ntoni ukumisela ukukhawuleza, ndikuthande kakhulu ukumiselwa kwayo.
Phendula nge quote
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.
Isifundo esihle kakhulu. Ukucwangciswa kwetheminali kubamba ingqwalaselo yam, ungabelana ngesakhelo?
Molo Koratsuki, jonga esi sifundo ndisenzayo, ndiyathemba ukuba iya kuba luncedo kuwe ukumisela ukukhawuleza. https://blog.desdelinux.net/configurar-bash-prompt-powerline-shell-master/
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.
Mkhulu, ucaciswe kakuhle kwaye ngendlela elula.
Ndiyabonga kakhulu
Yonke into isebenze kakuhle.
Saludos !!
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!
Izinto ezibalaseleyo ezinomxholo obonakalisayo, oku kwenza kube lula ukukhokela abanye
- 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)
-Ndisele ndiyenzile kwaye ndibeke imvume yokuphumeza kwifayile / usr / bin / xampp-control-panel.
Sudo chmod + x / usr / bin / xampp-ulawulo-lwepaneli
Enkosi yile nto bendiyiphosa kwimvume eyaliwe ingxaki.
2020 esi sithuba sisebenza kakuhle!
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.
Enkosi kwisigidi seNexcoyotl ngenqaku !!!, nakubo bonke abo babhloga.desdelinux.net indawo apho ulwazi esiludingayo lufumaneka khona!!
Enkosi enkosi !!
Inkcazo elungileyo kakhulu
Ndisebenzisa i-linux mint kwaye ndingasebenzisa enye echaziweyo ngokufikelela kuba ndenza amanyathelo kwaye awaveli nakweyiphi na indawo yomzobo
Ngaphambili ndiyabulela kakhulu
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.
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/
2022 kwaye isasebenza. Ndisebenzisa iDebian 11!!