Giter Club home page Giter Club logo

openwrt-nginx-mysql-php's Introduction

版本变动

版本 V1.0

支持OpenWRT

功能描述

本脚本用于在OpenWRT上自动化部署 Nginx + Mysql + PHP 环境。脚本运行后,Nginx服务将开启在8080端口(为了避开OpenWRT本身的界面)。并自动生成一个名称为index.php的phpinfo文件.数据库将生成一个用户名为root密码为admin的用户。将新建一个www用户组用户名为www,新建**/web目录为Web服务目录,数据库默认安装在/mnt**目录中。相关配置内容路径不变,可以自行查看。

使用方法

将所有文件下载并上传至OpenWRT的/tmp目录。使用如下命令:

chmod +x OpenWRT_LNMP_install.sh
./OpenWRT_LNMP_install.sh

环境测试

完成安装后打开路由器默认地址http://*.*.*.*:8080,安装若成功则出现phpinfo信息界面.

openwrt-nginx-mysql-php's People

Contributors

zhsec1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.