MySQL ndi njira yosungiramo ma database yomwe ikugwiritsidwa ntchito padziko lonse lapansi. Nthawi zambiri amagwiritsidwa ntchito pa chitukuko cha intaneti. Ngati Ubuntu ikugwiritsidwa ntchito ngati njira yaikulu (OS) pa kompyuta yanu, ndiye kuti kukhazikitsa mapulogalamuwa kungakhale kovuta monga mukuyenera kugwira ntchito "Terminal"pochita malamulo ambiri. Koma m'munsimu mudzafotokozedwa mwatsatanetsatane momwe mungakhalire MySQL mu Ubuntu.
Onaninso: Momwe mungayikitsire Linux kuchokera pagalimoto
Kuika MySQL ku Ubuntu
Monga kunanenedwa, kukhazikitsa dongosolo la MySQL mu Ubuntu OS si ntchito yovuta, koma kudziwa malamulo onse oyenera, ngakhale wogwiritsa ntchito wamba akhoza kuthana nazo.
Zindikirani: malamulo onse omwe adzatchulidwe m'nkhaniyi ayenera kuchitidwa ndi ufulu woloweza. Choncho, mutalowa nawo ndikukankhira pakiyi, mufunsidwa mawu achinsinsi omwe mwasankha poika OS. Dziwani kuti pamene mutsegula mawu achinsinsi, malembawo sakuwonetsedwa, kotero muyenera kufanizira zosakaniza zosakaniza ndikusindikiza ku Enter.
Khwerero 1: Sinthani dongosolo la opaleshoni
Musanayambe kukhazikitsa MySQL, nkofunikira kuyang'ana ndondomeko za OS yanu, ndipo ngati palipo, kenaka muyikeni.
- Poyambira, yongolani zonse zosungiramo ntchito "Terminal" lamulo lotsatira:
sudo apt update
- Tsopano tizakhazikitsa zowonjezera zosinthidwa:
sudo apt upgrade
- Yembekezani kukonza ndi kukhazikitsa ndondomeko kuti mutsirize, kenaka kambiranani dongosolo. Mukhoza kuchita izi popanda kusiya "Terminal":
sudo reboot
Pambuyo poyambitsa dongosolo, lowani kachiwiri "Terminal" ndi kupita ku sitepe yotsatira.
Onaninso: Nthawi zambiri amagwiritsidwa ntchito ku Linux Terminal
Khwerero 2: Kuyika
Tsopano tizakhazikitsa seva yanga ya MySQL ndikutsatira lamulo ili:
sudo apt yikani mysql-seva
Akafunsidwa kuti: "Mukufuna kupitiliza?" lowetsani khalidwe "D" kapena "Y" (malingana ndi malo omwe muli OS) ndipo dinani Lowani.
Pomwe mutsekezetsa, mawonekedwe owonetserako zizindikiro adzawonekera, ndikukupemphani kuti muyike chinsinsi chatsopano cha seva yanga ya MySQL - lowetseni ndikudinkhani "Chabwino". Pambuyo pake, chitsimikizirani mawu achinsinsi omwe mwangowalowa ndikukankanso. "Chabwino".
Zindikirani: mu mawonekedwe achinsinsi, kusinthasintha pakati pa malo ogwira ntchito kumachitika mwa kukakamiza fungulo la TAB.
Mutatha kuyika mawu achinsinsi, muyenera kuyembekezera mpaka kukhazikitsa seva yanga ya MySQL idzamalizidwa ndikuyika kasitomala ake. Kuti muchite izi, yesani lamulo ili:
sudo apt sungani mysql-kasitomala
Panthawi imeneyi, simukusowa kutsimikizira chirichonse, kotero mutatha kukwaniritsa, kukhazikitsa MySQL kungakhale koyenera.
Kutsiliza
Zotsatira zake, tikhoza kunena kuti kukhazikitsa MySQL ku Ubuntu sikovuta kwambiri, makamaka ngati mukudziwa malamulo onse oyenera. Mukangoyendetsa masitepe onse, mutha kupeza mwayi wanu wachinsinsi ndipo mudzatha kusintha.