Giter Site home page Giter Site logo

lnmp's Introduction

linux下: nginx + php + mysql 一键安装脚本

目录结构

  • lnmp.sh : 安装 nginx + php + mysql 环境
  • n.sh : 单独安装nginx
  • p.sh : 单独安装php
  • m.sh : 单独安装mysql

使用

根据自己需要在linux上运行相应脚本, 如安装nginx; 输入 ./n.sh 然后按下任意键开始, 然后耐心等待其安装完成 (ps:安装的版本为nginx1.6, php7.3, mysql5.7)

说明

  • 程序安装目录一律放在/usr/local下
  • 程序已经加入系统服务, 可以使用service命令控制, 程序名为程序加上版本号, 具体到/etc/init.d/目录下查看程序名, 例如安装了mysql-5.7, 那么就可以使用 service mysql-5.7 {start|stop|restart|reload|force-reload|status} 对程序进行相应的控制
如果你对手动安装感兴趣, 或想知道安装时都做了什么? 可参照此教程

lnmp's People

Contributors

miracle2017 avatar

Stargazers

 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.