Giter Club home page Giter Club logo

lnmp's Introduction

Centos 7.4 根据参数自动部署lnmp、nginx、mysql、php

使用方法

将nginx、mysql、php、bootst、libzip的压缩包及nginx与mysql配置文件拷贝到lnmp目录

bash lnmp.sh {lnmp|nginx|mysql|php}

变量定义

tools=/server/tools # 软件解压目录

apps=/application # 软件安装目录

log=/tmp/lnmp.log # 软件安装过程的log

mysql=mysql-5.7.24 # mysql压缩包名字去掉tar.gz

boost=boost_1_59_0 # boost压缩包名字去掉tar.gz

mysqluser=mysql # 运行mysql的用户

data=/data/mysql # mysql数据目录

dbrootpwd=dbrootpwd # mysql root密码

nginx=nginx-1.15.8 # nginx压缩包名字去掉tar.gz

nginxuser=www # 运行nginx的用户

lnmp=pwd # 脚本和软件压缩包存储目录

php=php-7.3.0 # php压缩包名字去掉tar.gz

libzip=libzip-1.2.0 # libzip压缩包名字去掉tar.gz

lnmp's People

Contributors

dujincan avatar

Watchers

James Cloos 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.