Cov txheej txheem:

Kuv yuav tiv thaiv phpMyAdmin li cas?
Kuv yuav tiv thaiv phpMyAdmin li cas?

Video: Kuv yuav tiv thaiv phpMyAdmin li cas?

Video: Kuv yuav tiv thaiv phpMyAdmin li cas?
Video: Kuv yuav tiv txhua yam - Nkauj ntseeg Yexus 2024, Kaum ib hlis
Anonim

Nov yog txoj hauv kev zoo los kaw phpmyadmin:

  1. TSIS TXAUS SIAB RAU QHOV ROOT LOGINS! Hloov chaw phpmyadmin ua tuaj yeem teeb tsa siv "Cookie Auth" txhawm rau txwv tus neeg siv nkag tau rau hauv qhov system.
  2. Tshem tawm file_priv tso cai los ntawm txhua tus account.
  3. Whitelist IP chaw nyob uas muaj kev nkag mus rau phpmyadmin ua interface.

Tom qab ntawd, ib tus tuaj yeem nug, puas yog phpMyAdmin ruaj ntseg?

PhpMyAdmin yog qhov pub dawb thiab qhib, web raws li MySQL/MariaDB tswj software sau hauv PHP. Hauv tsab xov xwm no peb yuav qhia qee cov lus qhia rau ruaj ntseg koj phpmyadmin ua kev teeb tsa ntawm lub teeb lossis LEMP pawg tiv thaiv kev tawm tsam ntau tshaj plaws los ntawm cov neeg phem.

Tom qab ntawd, lo lus nug yog, Kuv yuav ua li cas phpMyAdmin? Cov kauj ruam

  1. Nco ntsoov tias koj tau nruab Apache, PHP, thiab MySQL.
  2. Nyem Download.
  3. Nyem Kaw thaum nug.
  4. Qhib phpMyAdmin folder.
  5. Luam phpMyAdmin folder cov ntsiab lus.
  6. Mus rau koj Apache host folder.
  7. Paste the copyed folder rau hauv host folder.
  8. Hloov lub npe nplaub tshev rau phpmyadmin.

Ib yam li ntawd, koj tuaj yeem nug, Kuv yuav ua li cas tus password tiv thaiv phpMyAdmin?

Peb kauj ruam uas kuv tau ua:

  1. Hauv MySQL console teeb tus password tshiab. Txhawm rau ua qhov ntawd: mysqladmin -u root password 'your_password'
  2. Hauv phpMyAdmin nyem rau hauv cov neeg siv thiab teeb tib lo lus zais rau tus neeg siv hauv paus.
  3. Thaum kawg, teeb tsa koj tus password tshiab hauv kev teeb tsa. inc. php ib. Tsis txhob hloov lwm yam hauv cov ntaub ntawv no.

phpMyAdmin nyob qhov twg?

Koj phpMyAdmin cov ntaub ntawv nyob hauv /usr/share/ phpmyadmin ua / directory. Cov kev teeb tsa saum toj no qhia NGINX tias yog cov neeg tuaj saib nkag phpmyadmin ua hauv qhov browser chaw nyob bar, nws yuav tsum pom qhov ntsuas. php cov ntaub ntawv hauv /usr/share/ phpmyadmin ua / directory thiab tso saib nws.

Pom zoo: