Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux7 steps to install and configure phpmyadmin

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains the "Linux7 installation and configuration of phpmyadmin steps", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn the "Linux7 installation and configuration of phpmyadmin steps" bar!

1. Download xampp on the website https://www.apachefriends.org/zh_cn/index.html

two。 Xampp-linux-x64-7.2.2-0-installer.run is downloaded for this article.

Wget https://www.apachefriends.org/xampp-files/7.2.2/xampp-linux-x64-7.2.2-0-installer.run

3. Modify the permissions of the file

Chmod 755 xampp-linux-x64-7.2.2-0-installer.run

4. Installation

[root@aws] #. / xampp-linux-x64-7.2.2-0-installer.run

Welcome to the XAMPP Setup Wizard.

Select the components you want to install; clear the components you do not want

To install. Click Next when you are ready to continue.

XAMPP Core Files: y (Cannot be edited)

XAMPP Developer Files [Y/n]: n

Is the selection above correct? [Y/n]:

Installation Directory

XAMPP will be installed to / opt/lampp

Press [Enter] to continue:

Setup is now ready to begin installing XAMPP on your computer.

Do you want to continue? [Y/n]:

Please wait while Setup installs XAMPP on your computer.

Installing

0% _ 50% _ 100%

# #

Setup has finished installing XAMPP on your computer.

5. Start

[root@aws lampp] #. / lampp start

Starting XAMPP for Linux 7.2.2-0.

XAMPP: Starting Apache...ok.

XAMPP: Starting MySQL...ok.

XAMPP: Starting ProFTPD...ok.

6. Enter http://13.115.1xx.xx in the browser, replace it with your own ip and preferably use a google browser, other browsers may not be able to display

7. Click "phpmyadmin" on the right of the image above, and you will encounter a 403 error. The solution is to modify the configuration file to allow access outside of local.

Vi / opt/lampp/etc/extra/httpd-xampp.conf

Put the boldface in the following code

AllowOverride AuthConfig Limit

Require local

ErrorDocument 403 / error/XAMPP_FORBIDDEN.html.var

Modify to

AllowOverride AuthConfig Limit

Require all granted

ErrorDocument 403 / error/XAMPP_FORBIDDEN.html.var

8. Click "phpmyadmin" again and the following interface indicates that the installation is successful.

9. There are three modes for this page. The default is httpd. I generally like to use config mode, as shown in the following figure:

The modification method is:

Vi / opt/lampp/phpmyadmin/config.inc.php

Auth_type defaults to http, which can be changed to cookie.

$iTunes +

/ * Authentication type * /

$cfg ['Servers'] [$I] [' auth_type'] = 'cookie'

$cfg ['Servers'] [$I] [' user'] = 'root'

$cfg ['Servers'] [$I] [' password'] =''

/ * Server parameters * /

/ / $cfg ['Servers'] [$I] [' host'] = 'localhost'

$cfg ['Servers'] [$I] [' compress'] = false

$cfg ['Servers'] [$I] [' AllowNoPassword'] = true

If you want to manage other mysql databases, follow the settings below, make a copy of the following, put it below, modify the host, etc.

$iTunes +

/ * Authentication type * /

$cfg ['Servers'] [$I] [' auth_type'] = 'cookie'

$cfg ['Servers'] [$I] [' user'] = 'root'

$cfg ['Servers'] [$I] [' password'] =''

/ * Server parameters * /

/ / $cfg ['Servers'] [$I] [' host'] = 'localhost'

$cfg ['Servers'] [$I] [' compress'] = false

$cfg ['Servers'] [$I] [' AllowNoPassword'] = true

$iTunes +

/ * Authentication type * /

$cfg ['Servers'] [$I] [' auth_type'] = 'cookie'

/ * Server parameters * /

$cfg ['Servers'] [$I] [' host'] = 'oms'

$cfg ['Servers'] [$I] [' compress'] = false

$cfg ['Servers'] [$I] [' AllowNoPassword'] = false

Thank you for your reading, the above is the "Linux7 installation and configuration of phpmyadmin steps" content, after the study of this article, I believe you have a deeper understanding of the steps of Linux7 installation and configuration of phpmyadmin, the specific use of the need for you to practice and verify. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report