Giter Club home page Giter Club logo

lnmp's Introduction

					LNMP一键安装包 - Readme

LNMP一键安装包是什么?
_____________________


LNMP一键安装包是一个用Linux Shell编写的可以为CentOS/RadHat、Debian VPS(VDS)或独立主机安装LNMP(Nginx、MySQL、PHP、phpMyAdmin)生产环境的Shell程序。

LNMP官网:http://lnmp.org

作者:licess <[email protected]>
--------------------------------------------------------------------------------



安装
____

wget -c http://soft.vpser.net/lnmp/lnmp0.9.tar.gz
tar zxvf lnmp0.9.tar.gz
cd lnmp0.9/

CentOS/RadHat执行:
./centos.sh

Debian执行:
./debian.sh

Ubuntu执行:
./ubuntu.sh

LNMP升级到LNMPA,执行:
./apache.sh

LNMP状态管理: /root/lnmp {start|stop|reload|restart|kill|status}
LNMPA状态管理: /root/lnmpa {start|stop|reload|restart|kill|status}
Nginx状态管理:/etc/init.d/nginx {start|stop|reload|restart}
PHP-FPM状态管理:/etc/init.d/php-fpm {start|stop|quit|restart|reload|logrotate}
PureFTPd状态管理: /root/pureftpd {start|stop|restart|kill|status}
MySQL状态管理:/etc/init.d/mysql {start|stop|restart|reload|force-reload|status}
Apache状态管理:/root/httpd {start|stop|restart|graceful|graceful-stop|configtest|status}

添加虚拟主机 /root/vhost.sh
phpinfo : http://$domain/phpinfo.php
phpMyAdmin : http://$domain/phpmyadmin/
探针 : http://$domain/p.php
PureFtp用户管理:http://$domain/ftp/

LNMP相关目录:
mysql :   /usr/local/mysql
php :     /usr/local/php
nginx :   /usr/local/nginx
网站目录 :     /home/wwwroot
Nginx日志目录:/home/wwwlogs

配置文件:
Nginx主配置文件:/usr/local/nginx/conf/nginx.conf
MySQL配置文件:/etc/my.cnf
PHP配置文件:/usr/local/php/etc/php.ini
PureFtpd配置文件:/usr/local/pureftpd/pure-ftpd.conf
PureFtpd MySQL配置文件:/usr/local/pureftpd/pureftpd-mysql.conf
Apache配置文件:/usr/local/apache/conf/httpd.conf

技术支持
————————

技术支持论坛:http://bbs.vpser.net/forum-25-1.html 

lnmp's People

Contributors

shenrui01 avatar

Watchers

James Cloos avatar

Forkers

xiaolang

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.