All Projects → maicong → Lnmp

maicong / Lnmp

Licence: mit
Support: Nginx 1.12/1.13 + MySQL 5.5/5.6/5.7/8.0(MariaDB 5.5/10.0/10.1/10.2/10.3) + PHP 5.4/5.5/5.6/7.0/7.1/7.2 + phpMyAdmin(Adminer)

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Lnmp

Lnmp
LEMP stack/LAMP stack/LNMP stack installation scripts for CentOS/Redhat Debian and Ubuntu
Stars: ✭ 2,488 (+849.62%)
Mutual labels:  mysql, mariadb, lnmp, nginx
Lnmp
LNMP一键安装包是一个用Linux Shell编写的可以为CentOS/RHEL/Fedora/Aliyun/Amazon、Debian/Ubuntu/Raspbian/Deepin/Mint Linux VPS或独立主机安装LNMP(Nginx/MySQL/PHP)、LNMPA(Nginx/MySQL/PHP/Apache)、LAMP(Apache/MySQL/PHP)生产环境的Shell程序。
Stars: ✭ 2,119 (+708.78%)
Mutual labels:  mysql, mariadb, lnmp, nginx
Oneinstack
OneinStack - A PHP/JAVA Deployment Tool
Stars: ✭ 1,983 (+656.87%)
Mutual labels:  mysql, mariadb, lnmp, nginx
Guacamole Install Rhel 7
Apache Guacamole installation bash script for RHEL 7 and CentOS 7 including options for Nginx, HTTPS, SSL, LDAP, Let's Encrypt certificates and more
Stars: ✭ 174 (-33.59%)
Mutual labels:  mysql, mariadb, centos7, nginx
Webinoly
Optimized LEMP Web Server to manage your WordPress, PHP, or simple HTML sites running on a powerful NGINX setup.
Stars: ✭ 254 (-3.05%)
Mutual labels:  mysql, mariadb, nginx
Centminmod
CentOS Shell menu based Nginx LEMP web stack auto installer (GPLv3 licensed)
Stars: ✭ 519 (+98.09%)
Mutual labels:  mariadb, lnmp, nginx
Slickstack
SlickStack is a free LEMP stack automation script written in Bash designed to enhance and simplify WordPress provisioning, performance, and security.
Stars: ✭ 311 (+18.7%)
Mutual labels:  mysql, lnmp, nginx
Docker Lemp
🐳 Docker 快速搭建 LEMP 开发环境
Stars: ✭ 87 (-66.79%)
Mutual labels:  mysql, lnmp, nginx
Netkiller.github.io
Netkiller Free ebook - 免费电子书
Stars: ✭ 861 (+228.63%)
Mutual labels:  mysql, centos7, nginx
Jale
Jale is a blazing fast local development environment for MacOS written in Typescript.
Stars: ✭ 24 (-90.84%)
Mutual labels:  mysql, mariadb, nginx
Devilbox
A modern Docker LAMP stack and MEAN stack for local development
Stars: ✭ 3,598 (+1273.28%)
Mutual labels:  mysql, mariadb, nginx
Dockerweb
A docker-powered bash script for shared web hosting management. The ultimate Docker LAMP/LEMP Stack.
Stars: ✭ 89 (-66.03%)
Mutual labels:  mysql, mariadb, nginx
Seconds Kill
基于 Springboot + Redis + Kafka 的秒杀系统,乐观锁 + 缓存 + 限流 + 异步,TPS 从 500 优化到 3000
Stars: ✭ 180 (-31.3%)
Mutual labels:  mysql, nginx
Ansipress
AnsiPress - Simple L(Linux) E(NGINX) M(MariaDB) P(PHP7) Shared Hosting Setup
Stars: ✭ 184 (-29.77%)
Mutual labels:  mysql, nginx
Lamp
Install LAMP(Linux + Apache + MySQL/MariaDB + PHP ) for CentOS/Debian/Ubuntu
Stars: ✭ 2,456 (+837.4%)
Mutual labels:  mysql, mariadb
Qxorm
QxOrm library - C++ Qt ORM (Object Relational Mapping) and ODM (Object Document Mapper) library - Official repository
Stars: ✭ 176 (-32.82%)
Mutual labels:  mysql, mariadb
Sharding Method
分表分库的新思路——服务层Sharding框架,全SQL、全数据库兼容,ACID特性与原生数据库一致,能实现RR级别读写分离,无SQL解析性能更高
Stars: ✭ 188 (-28.24%)
Mutual labels:  mysql, mariadb
Migrate
Database migrations. CLI and Golang library.
Stars: ✭ 2,315 (+783.59%)
Mutual labels:  mysql, mariadb
Kickoff Docker Php
🐳 🐘 🚀 Easily setup a PHP project with Docker
Stars: ✭ 213 (-18.7%)
Mutual labels:  mysql, nginx
Blog
Hi, I am CrazyCodes, and here are all my articles
Stars: ✭ 212 (-19.08%)
Mutual labels:  mysql, nginx

CentOS 7 Install LNMP Environment

中文版使用说明

The version list is available to install

Using YUM packages:

Nginx 1.12/1.13
MySQL 5.5/5.6/5.7/8.0
MariaDB 5.5/10.0/10.1/10.2/10.3
PHP 5.4/5.5/5.6/7.0/7.1/7.2
phpMyAdmin
Adminer

Using source code compile

OpenSSL 1.1.0f
Nginx 1.13.7
PHP 7.2.0

Installing

Using YUM packages:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/maicong/LNMP/master/lnmp.sh)"

Using source code compile:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/maicong/LNMP/master/source.sh)"

Using

Service management

# MySQL
systemctl {start,stop,status,restart} mysqld.service

# MariaDB
systemctl {start,stop,status,restart} mariadb.service

# PHP
systemctl {start,stop,status,restart} php-fpm.service

# Nginx
systemctl {start,stop,status,restart,reload} nginx.service

Site management

# list
service vhost list

# start(restart), stop
service vhost {start,stop} [<domain>]

# add, edit
service vhost {add, edit} [<domain>] [<server_name>] [<index_name>] [<rewrite_file>] [<host_subdirectory>]

# delete
service vhost del [<domain>]

Parameter declaration

  • start start|restart
  • stop stop
  • add add
  • edit edit
  • del delete
  • <domain> site sign, default: domain
  • <server_name> domain list, use , partition, default: domain.com,www.domain.com
  • <index_name> the file of home page, take effect in proper order, default: index.html,index.htm,index.php
  • <rewrite_file> rewrite rule file, save in /etc/nginx/rewrite/, default: nomal.conf
  • <host_subdirectory> whether support subdirectory bind, on or off, default: off

Example

# start or restart all site
service vhost start

# stop all site
service vhost stop

# list all site
service vhost list

# add a sign of `mysite`, domain list is `mysite.com`
service vhost add mysite mysite.com

# start or restart the site which is sign `mysite`
service vhost start mysite

# stop the site which is sign `mysite`
service vhost stop mysite

# edit the site which is sign `mysite`
service vhost edit mysite

# delete the site which is sign `mysite`
service vhost del mysite

Backup

# create a new backup
service vbackup start

# delete a new backup
service vbackup del [<file>.tar.gz]

# list all backup
service vbackup list

Agreement

The MIT License (MIT)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].