search
HomeDatabaseMysql TutorialLNMP一键安装包 V1.1 发布,预祝端午节+六一快乐_MySQL

LNMP


LNMP一键安装包是一个用Linux Shell编写的可以为CentOS/RadHat、Debian/Ubuntu VPS(VDS)或独立主机安装LNMP(Nginx、MySQL/MariaDB、PHP、phpMyAdmin)生产环境的Shell程序。同时提供一些实用的辅助脚本如:可以帮助完成Nginx、MySQL/MariaDB、PHP的升级、常用缓存组件的安装、重置MySQL root密码、502自动重启、日志切割等许多实用脚本。

时间匆匆流过,又快到一年一度的六一儿童节了,同时端午假期也到了,去年的六一发布v1.0,今年有点小事提前发布v1.1,放假也休息两天。这一年从论坛用户的反馈中,对LNMP进行了部分调整优化,下面看一下主要的变化:

  • 调整优化脚本安装脚本;
  • 安装时增加MariaDB选项;
  • 增加MySQL升级脚本 upgrade_mysql.sh;
  • 增加MySQL升级到MariaDB脚本 upgrade_mysql2mariadb.sh;
  • 增加MariaDB升级脚本 upgrade_mariadb.sh;
  • 增加Redis安装脚本 redis.sh;
  • 增加OPcache安装脚本 opcache.sh;
  • 增加MySQL/MariaDB root密码重置脚本;
  • 添加pathinfo支持,去掉include pathinfo的#,在try_files前加#重启nginx即可使用;
  • 重写nginx init.d脚本;
  • 优化PHP升级脚本;
  • 优化LNMP升级到LNMPA脚本,PHP可选PHP5.2或5.3,调整编译参数和配置文件;
  • 优化LNMPA PHP升级脚本,支持5.4,5.5;
  • 优化Xcache安装脚本,增加xcache管理界面;
  • 优化Memcached安装脚本;
  • 优化其他相关脚本使其支持MySQL的同时可支持MariaDB;
  • 优化Nginx部分配置;
  • 优化Pureftpd安装脚本;
  • 优化Nginx配置文件,增加部分参数,去掉注释即可使用;
  • 优化PHP-FPM参数,增加slowlog慢日志选项,可修改request_slowlog_timeout参数启用;
  • 更新wordpress伪静态;
  • 更新Nginx状态页为http://IP/nginx_status;
  • 更新Nginx至1.6.0;
  • 更新MySQL至5.1.73,5.5.37;
  • 更新PHP至5.3.28;
  • 更新Xcache至3.1.0;
  • 更新ImageMagick至6.8.8-9;
  • 更新phpMyAdmin至4.2.2;
  • 去除fcgi.conf,使用nginx自带的fastcgi.conf;
  • 去除Nginx日志多余配置,采用统一日志名称;
  • 去除PHP编译参数--with-curlwrappers;

LNMP安装教程:http://lnmp.org/install.html

LNMPA安装教程:http://lnmp.org/lnmpa.html

添加、删除虚拟主机及伪静态管理:http://lnmp.org/faq/lnmp-vhost-add-howto.html

eAccelerator,xcache,memcached,imageMagick,ionCube、opcache、redis的安装:http://lnmp.org/faq/Add-ons.html

LNMP相关软件目录及文件位置:http://lnmp.org/faq/lnmp-software-list.html

LNMP状态管理命令:http://lnmp.org/faq/lnmp-status-manager.html

使用交流论坛:http://bbs.vpser.net/forum-25-1.html

最后祝过端午节+六一快乐,假期愉快!

论坛邀请码:http://bbs.vpser.net/reg.php?invitecode=1ad44e52132U4M6J 有效期至:2014-6-2 08:09

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
What Are the Limitations of Using Views in MySQL?What Are the Limitations of Using Views in MySQL?May 14, 2025 am 12:10 AM

MySQLviewshavelimitations:1)Theydon'tsupportallSQLoperations,restrictingdatamanipulationthroughviewswithjoinsorsubqueries.2)Theycanimpactperformance,especiallywithcomplexqueriesorlargedatasets.3)Viewsdon'tstoredata,potentiallyleadingtooutdatedinforma

Securing Your MySQL Database: Adding Users and Granting PrivilegesSecuring Your MySQL Database: Adding Users and Granting PrivilegesMay 14, 2025 am 12:09 AM

ProperusermanagementinMySQLiscrucialforenhancingsecurityandensuringefficientdatabaseoperation.1)UseCREATEUSERtoaddusers,specifyingconnectionsourcewith@'localhost'or@'%'.2)GrantspecificprivilegeswithGRANT,usingleastprivilegeprincipletominimizerisks.3)

What Factors Influence the Number of Triggers I Can Use in MySQL?What Factors Influence the Number of Triggers I Can Use in MySQL?May 14, 2025 am 12:08 AM

MySQLdoesn'timposeahardlimitontriggers,butpracticalfactorsdeterminetheireffectiveuse:1)Serverconfigurationimpactstriggermanagement;2)Complextriggersincreasesystemload;3)Largertablesslowtriggerperformance;4)Highconcurrencycancausetriggercontention;5)M

MySQL: Is it safe to store BLOB?MySQL: Is it safe to store BLOB?May 14, 2025 am 12:07 AM

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

MySQL: Adding a user through a PHP web interfaceMySQL: Adding a user through a PHP web interfaceMay 14, 2025 am 12:04 AM

Adding MySQL users through the PHP web interface can use MySQLi extensions. The steps are as follows: 1. Connect to the MySQL database and use the MySQLi extension. 2. Create a user, use the CREATEUSER statement, and use the PASSWORD() function to encrypt the password. 3. Prevent SQL injection and use the mysqli_real_escape_string() function to process user input. 4. Assign permissions to new users and use the GRANT statement.

MySQL: BLOB and other no-sql storage, what are the differences?MySQL: BLOB and other no-sql storage, what are the differences?May 13, 2025 am 12:14 AM

MySQL'sBLOBissuitableforstoringbinarydatawithinarelationaldatabase,whileNoSQLoptionslikeMongoDB,Redis,andCassandraofferflexible,scalablesolutionsforunstructureddata.BLOBissimplerbutcanslowdownperformancewithlargedata;NoSQLprovidesbetterscalabilityand

MySQL Add User: Syntax, Options, and Security Best PracticesMySQL Add User: Syntax, Options, and Security Best PracticesMay 13, 2025 am 12:12 AM

ToaddauserinMySQL,use:CREATEUSER'username'@'host'IDENTIFIEDBY'password';Here'showtodoitsecurely:1)Choosethehostcarefullytocontrolaccess.2)SetresourcelimitswithoptionslikeMAX_QUERIES_PER_HOUR.3)Usestrong,uniquepasswords.4)EnforceSSL/TLSconnectionswith

MySQL: How to avoid String Data Types common mistakes?MySQL: How to avoid String Data Types common mistakes?May 13, 2025 am 12:09 AM

ToavoidcommonmistakeswithstringdatatypesinMySQL,understandstringtypenuances,choosetherighttype,andmanageencodingandcollationsettingseffectively.1)UseCHARforfixed-lengthstrings,VARCHARforvariable-length,andTEXT/BLOBforlargerdata.2)Setcorrectcharacters

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.