Skip to content

ChinaMoli/Adminer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adminer

部署

1、下载代码

🇨🇳 国内服务器请执行

git clone https://gitee.com/ChinaMoli/Adminer.git --depth=1 .

🌎 国外服务器请执行

git clone https://github.com/ChinaMoli/Adminer.git --depth=1 .

2、配置 Nginx

server
{
    // ....
    # 将运行目录指向 public
    root pwd/public;
    // ...
}

3、重命名入口文件

Caution

为了数据库安全,此步骤不能被跳过,否则将无法访问。

打开 public 目录,重命名 index.php 文件(建议使用 1Password 生成的随机密码作为文件名)。

打开浏览器输入 http:// + 网站域名或 IP:端口 + / + 新的文件名 即可访问。

链接示例:https://127.0.0.1:8080/ucUPKUH05fFdZPb7dgas.php

更新

git pull

特别鸣谢

  • Adminer - Adminer is a full-featured database management tool written in PHP.
  • readable-dates - Replaces UNIX timestamps with human-readable dates in your local format.

License

MIT License

About

一键部署可用于生产环境的 Adminer 数据库管理工具。

Resources

License

Stars

Watchers

Forks

Packages

No packages published