【LEDE】树莓派上玩LEDE终极指南-71-安装phpMyAdmin

本文介绍了如何在树莓派上安装并配置phpMyAdmin,通过Web界面便捷管理数据库,提供了一种在特定环境下操作数据库的简便方法。
摘要由CSDN通过智能技术生成

pma这东西,可有可无,navicat或者idea插件也都能相互替代,但是在某些环境下,从Web管理数据库显得尤为方便。

从https://www.phpmyadmin.net/下载pma,解压到mmc中。

nginx配置文件:

server {  
        listen 999;  #自行修改
        #server_name www.example.com;  
        #access_log logs/example.access.log main;  
  
        server_name_in_redirect off;  
  
        root /web/pma;  #按照需求修改
        index index.php index.html index.htm;  
  
	# WordPress single blog rules.
	# Designed to be included in any server {} block.
 
	# This order might seem weird - this is attempted to match last if rules below fail.
	# http://wiki.nginx.org/HttpCoreModule
	location / {
       		try_files $uri $uri/ /index.php?q=$uri&$args;
	}
 
	# Add trailing slash to */wp-admin requests.
	rewrite /wp-admin$ $scheme://$host$uri/ permanent;
 
	# Directives to send expires headers and turn off 404 error logging.
	#location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rs
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值