Me pehea te whakauru me te whirihora i te XAMPP ki te GNU / Linux

He aratohu hou tenei mo te whakauru me te whirihora i te XAMPP ki te GNU / Linux, me tetahi taipitopito taahiraa-i te-taahiraa.

He aha te XAMPP?

Ko te XAMPP he tino koreutu, he ngawari ki te whakauru i te tohatoha Apache kei roto ko MariaDB, PHP, me Perl. Ko te kohinga XAMPP i whakauruhia he mea ngawari ki te whakauru me te whakamahi. Tino koreutu me te ngawari ki te whakauru i te tohatoha Apache kei roto ko MariaDB, PHP me Perl.

Me pehea te whakauru me te whirihora i te XAMPP?

Kei te Whakauru Xampp

1.- Tangohia te XAMPP mo Linux mai i https://www.apachefriends.org/es/index.html

whakauruhia me te whirihora i te XAMPP

2.- I te mutunga o te tango he purangaoma, me whakauru e maatau penei:

  • Ka whakatuwherahia e maatau he Terminal me Mana + T, mai i ta maatau papaarangi ranei.
  • Ka uru matou hei pakiaka:

Whakauru Root

  • Ka haere tonu taatau ki te tuku whakaaetanga whakamana ki te .run ka whakauru i te XAMPP
$ sudo su $ chmod + x xampp-linux-x64-5.6.28-0-installer.run $ ./xampp-linux-x64-5.6.28-0-installer.run

Whakauru-whakauru

0tauta

1tauta

  • Ka whakaae maatau ki nga mea katoa ka tatari kia mutu te whakauru.

Te whakatu XAMPP

3.- Ka haere tonu taatau ki te whirihora i te XAMPP

  • Whirihoranga MySQL (MariaDB)
    $ ln -s / opt / lampp / bin / MySQL / usr / bin / $ ko te mysql $ momo MySQL $ ls -Tohu / usr / bin / MySQL
    

    mysql whirihora tirohia te config config

  • Te whakatuu i te ture com.ubuntu.pkexec.xampp.policy hei whakahaere i te röpü whakairoiro me nga whakaaetanga a te kaiwhakahaere, ka whakaputaina he konae bash e rere ana xampp-linux-x64-5.6.28-0-installer.run. Mo tenei ka haere maatau ki te huarahi / usr / share / polkit-1 / mahinga a ka mahia e matou:
    $ pa com.ubuntu.pkexec.xampp.policy $ nano com.ubuntu.pkexec.xampp.policy

    kaupapa here pa kaupapa here nano
    Roto i te konae com.ubuntu.pkexec.xampp.policy whakapiri matou i te waehere e whai ake nei:

 Ko te motuhēhēnga e hiahiatia ana hei whakahaere i te Paewhiri Mana XAMP xampp auth_admin auth_admin auth_admin /opt/lampp/manager-linux-x1.0.run pono
  • Ko te hanga i te tuhinga hei kawenga mo te whakahaere i te papa whakairoiro XAMPP i te huarahi / usr / ipu / . Me hanga e tatou te tuhinga me te ingoa papa-mana-paewha:
    pa atu ki te papa-mana-paewha-kore-nano xampp-mana-paewha

    pa xpc nano xpc

#! / bin / bash $ (pkexec /opt/lampp/manager-linux-x64.run);
  • Te whakatuu i tetahi .desktop hei whakarewa i te XAMPP kaiwhakahaere ratonga whakairoiro, whakahaere i nga whakahau e whai ake nei, i te huarahi / wa / share / tono:
    pa atu ki te papa-mana-paewha-kore-nano xampp-mana-paewha

    pa papamahi nano papamahi

  • I muri i te whakahaere i te nano application.desktop whakauruhia te waehere e whai ake nei
[Whakauru Papamahi] Tuhipoka = Tiimata / Whakamutua te Ingoa XAMPP = Pae Whakahaere XAMPP Exec = xampp-control-panel-Ata
  • Inaianei he tohu taatau ka peia ana ka mahia te pkexec, e tono ana ki a maatau mo te takiuru ki te tuku i nga whakaaetanga mahi ki te paati whakairoiro XAMPP. Me penei te ahua:
    xpc pkexec xampp-pc
  • Hei whakamahi i te mysql, mena i mahi koe i te whirihoranga o mua kaore koe e hiahia ki te haere ki te raarangi whaiaronga / opt / lampp / bin / mysql -u pakiaka -p ki te takiuru inaianei me whakatuwhera e koe tetahi tauranga ka oma mysql -u root -p.
    mysql

I tenei ka taea e maatau te whakahaere i ta maatau XAMPP me te uru ki te mysql me te kore e haere ki te raarangi / opt / lampp / bin.

Koinei katoa nga aratohu, ko te tumanako i pai ki a koe me kaua e wareware ki te waiho i o korero.


Ko nga korero o te tuhinga e piri ana ki o maatau kaupapa o matatika whakatika. Ki te ripoata i tetahi paatene paato Here.

23 korero, waiho maau

Waiho to korero

Ka kore e whakaputaina tō wāhitau īmēra. Kua tohua ngā āpure e hiahiatia ana ki *

*

*

  1. He kawenga mo nga raraunga: Miguel Ángel Gatón
  2. Te kaupapa o te raraunga: Whakahaerehia te SPAM, te whakahaere korero.
  3. Ture: To whakaae
  4. Whakawhitinga korero: Kaore nga korero e tukuna ki nga taha tuatoru engari ma te ture herenga.
  5. Rokiroki raraunga: Paetukutuku e whakahaerehia ana e Occentus Networks (EU)
  6. Tika: I nga wa katoa ka taea e koe te whakaiti, te whakaora me te muku i o korero.

  1.   kaikaiwhenua ka mea

    Koinei nga tuhinga e tino paingia ana, mo nga korero taipitopito me te kiko o a raatau korero. I awhina ia i nga hoa mahi e hiahia ana ki a Matapihi ki te whakauru i nga waahanga o te raupaparorohiko XAMPP. Kaore au i te mohio ki te tuunga o tetahi kaiwhakaputa mo Linux, i whakamahia ki te whakauru me te whirihora i tetahi Rama, ma te ringa. Kei te whakapono ahau he awhina nui mo te hunga e hiahia ana ki te whai i tetahi kaituku me enei ahuatanga, a ka whakaoohia e au he maha o nga kaitohu me nga kaiwhakahaere e hiahia ana ki te whakauru ki te Matapihi, ki te mahi i runga i te kaituku me Linux. Mauruuru Nexcoyotl mo tenei tuhinga pai!

    1.    Nexcoyotl ka mea

      Kia ora, Federico, he pai to korero, ko te tumanako i whai hua tenei pukapuka iti me te ngawari. Koinei te tuatahi ka tumanako ahau kia maha atu ano.

  2.   Ierko ka mea

    He aratohu tino pai

    Engari he paatai ​​taku, he aha koe ka pa ai? Kei te maarama ahau ko te hanga i te konae kore, engari me te kore e tutuki i te nano, ka taea e koe te hanga me te whakatika i te konae ...

    1.    kaikaiwhenua ka mea

      pa ki he whakahau hei whakahou i te urunga me nga ra whakarereketanga o tetahi, neke atu ranei o nga konae ki tenei ra.
      pa ki [OPTINO]… KAUPAPA…
      Mena kaore i te tohe te FILE tautohe, te ingoa konae ranei, ka waihangahia he konae koreutu he rite te ingoa ki te FILE.
      He tika ake - he tino noa - ko tenei ara ki te hanga i nga konae kore, ma te etita nano
      Rere pa tangata Mo etahi atu korero.

    2.    Nexcoyotl ka mea

      Kia ora yerko i mua whakawhetai mo nga korero, te take i whakamahi ai ahau i te pa na te mea he tikanga ki ahau hehe. Ana mena, e ai ki te hoa a Federico, ko tana mahi he tua atu i te hanganga o nga konae. Mena kei te pirangi koe ki te mohio atu, whakarewahia te $ man touch, tena koe e hoa.

      1.    Ierko ka mea

        Engari, i muri i te pa atu kei te whakarereke koe i te konae, no reira he taahiraa ke ki taau e mahi nei.

      2.    Ierko ka mea

        Kei te mohio au he aha te mahi o te pa, ka hiahia noa ahau ki te mohio he aha koe i mahi ai: P, mai i te wa o te nano he nui noa atu 😉

  3.   Anonymous ka mea

    He tino tuhinga, he pai te mahi.
    He aha te mea hei whakamahi maau hei whirihora i te akiaki, I tino pai ahau ki tana whirihoranga.

    Mauruuru!

    1.    Nexcoyotl ka mea

      Kia ora e hoa, whakawhetai ki a koe i toha atu me te korero korero 😀, Ka whakamahia e au te anga hiko he kaupapa tuwhera-tuwhera ka kitea e koe i runga i te github. He maamaa te whirihora Ka whakamahia e au te bash me te anga aho, ahakoa ka taea hoki e koe te whirihora mo te zsh.

  4.   Koratsuki ka mea

    Tino pai te akoranga. Ko te whirihoranga o te tauranga ka aro ki ahau, ka taea e koe te tohatoha i te whirihora?

    1.    Nexcoyotl ka mea

      Kia ora, Koratsuki, tirohia tenei akoranga e mahia ana e au, ko te tumanako ka whai hua ki te whirihora wawe. https://blog.desdelinux.net/configurar-bash-prompt-powerline-shell-master/

  5.   Esteban ka mea

    Tino pai to koha e te teina, pouri rawa mo taku korenga i kite i tenei whakaputanga, i etahi wiki kua hipa ake nei ka waiho e ratou te mahi ki te whakauru i tetahi taiao Rama i runga i taku rorohiko, engari ki taku e kite ake nei he maama ake te whakauru XAMPP Heoi he mihi mo to koha, tena koutou.

  6.   daz08 ka mea

    He pai, he pai te whakamarama me te ngawari.

  7.   MORKE ka mea

    Mauruuru nui koe.

    He pai nga mahi katoa.

    Mauruuru!

  8.   Katherine ka mea

    Kia ora, nga mea katoa e whakamaramatia ana i nga whakaahua, kei te whakamaarama hoki i te tuhinga? Ara, ko nga whakaahua mo nga mahi whakaahua anake? Ranei he kaupae hei mahi maau kei nga pikitia. Kei te patai au na te mea he matapo ahau, a kaore ano au kia tino pukenga ki te linux, na reira kaore au e hiahia ki te whakaputa haha. I tetahi atu, he ubuntu mate ahau 18. Ka taea te whakamahi i tenei akoranga? Mai kua mihi nui ki a koutou. Kia ora!

  9.   Leon S ka mea

    He tino pai nga korero me nga tuhinga whakaari, maamaa ai tenei ki te arahi i etahi atu

  10.   Ignacio7 ka mea

    - kotahi te taha e whakaatuhia ana
    pa atu ki te papa-mana-paewha
    nano xampp-mana-paewhiri
    - kotahi i runga i te huarahi
    / usr / ipu /
    - me tetahi atu kei te huarahi:
    / wa / share / tono
    - Ki taku whakaaro kei roto i tenei ara tuarua ko te xampp-control-panel.desktop.
    - I tetahi atu, ki te mahi i te nuinga o nga hikoi kaore oku mana whakaae ka mutu i ahau nga whakahau ki te «sudo«, kia taea ai e au te hanga.
    - Engari i te mutunga ka uru atu ahau ki te ata ka puta he kupu he ki ahau:
    Ko te whakahau "xampp-control-panel" kaore i taea te whakahaere.
    I rahua te whakahaere i te tukatuka tamaiti "xampp-control-panel" (Whakaaetia te Whakaaetanga)

    1.    Ignacio7 ka mea

      - Kua oti i ahau te mahi me te hoatu i te mana whakamana ki runga i te / usr / bin / xampp-control-panel-file.
      sudo chmod + x / usr / bin / xampp-mana-paewhiri

      1.    Harold barboza ka mea

        Mauruuru ko tenei te mea i ngaro ahau mo te raru o te whakaaetanga i whakakahoretia.

  11.   Leon S ka mea

    2020 tenei pou he pai tonu!

  12.   Nicksoad ka mea

    Mauruuru, i mahi mo au, ahakoa kaore au e kite i te tohu xampp engari he pouaka ma engari kaore he aha, he raru noa taku ka whakamahi ahau i tetahi etita waehere penei i te mea whakahirahira ka whakakahoretia e au nga whakaaetanga ki te hanga konae. kaupapa htdflix. I taea e au te mahi rangatira ma te tuku whakaaetanga Ka taea e au te paanui me te whakatika i nga konae engari kaore e taea e au te hanga konae hou.

  13.   juconta ka mea

    He Miriona Mihi Nexcoyotl mo te tuhinga !!!, me te hunga katoa e kii ana i te blog.desdelinux.net he waahi ka kitea e koe nga korero e hiahiatia ana e matou !!.
    Nga mihi whakawhetai !!

  14.   Gonzalo ka mea

    Tino pai te whakamarama

    Ka whakamahia e au te miihini linux a ka taea e au te whakamahi i tetahi whakamaarama me nga urunga mai i te mea e mahi ana ahau i nga hikoi kaore e kitea i tetahi waahanga whakairoiro.
    I mua atu nei ka nui te mihi ki a koutou