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

MySQL is suitable for beginners to learn database skills. 1. Install MySQL server and client tools. 2. Understand basic SQL queries, such as SELECT. 3. Master data operations: create tables, insert, update, and delete data. 4. Learn advanced skills: subquery and window functions. 5. Debugging and optimization: Check syntax, use indexes, avoid SELECT*, and use LIMIT.

MySQL efficiently manages structured data through table structure and SQL query, and implements inter-table relationships through foreign keys. 1. Define the data format and type when creating a table. 2. Use foreign keys to establish relationships between tables. 3. Improve performance through indexing and query optimization. 4. Regularly backup and monitor databases to ensure data security and performance optimization.

MySQL is an open source relational database management system that is widely used in Web development. Its key features include: 1. Supports multiple storage engines, such as InnoDB and MyISAM, suitable for different scenarios; 2. Provides master-slave replication functions to facilitate load balancing and data backup; 3. Improve query efficiency through query optimization and index use.

SQL is used to interact with MySQL database to realize data addition, deletion, modification, inspection and database design. 1) SQL performs data operations through SELECT, INSERT, UPDATE, DELETE statements; 2) Use CREATE, ALTER, DROP statements for database design and management; 3) Complex queries and data analysis are implemented through SQL to improve business decision-making efficiency.

The basic operations of MySQL include creating databases, tables, and using SQL to perform CRUD operations on data. 1. Create a database: CREATEDATABASEmy_first_db; 2. Create a table: CREATETABLEbooks(idINTAUTO_INCREMENTPRIMARYKEY, titleVARCHAR(100)NOTNULL, authorVARCHAR(100)NOTNULL, published_yearINT); 3. Insert data: INSERTINTObooks(title, author, published_year)VA

The main role of MySQL in web applications is to store and manage data. 1.MySQL efficiently processes user information, product catalogs, transaction records and other data. 2. Through SQL query, developers can extract information from the database to generate dynamic content. 3.MySQL works based on the client-server model to ensure acceptable query speed.

The steps to build a MySQL database include: 1. Create a database and table, 2. Insert data, and 3. Conduct queries. First, use the CREATEDATABASE and CREATETABLE statements to create the database and table, then use the INSERTINTO statement to insert the data, and finally use the SELECT statement to query the data.

MySQL is suitable for beginners because it is easy to use and powerful. 1.MySQL is a relational database, and uses SQL for CRUD operations. 2. It is simple to install and requires the root user password to be configured. 3. Use INSERT, UPDATE, DELETE, and SELECT to perform data operations. 4. ORDERBY, WHERE and JOIN can be used for complex queries. 5. Debugging requires checking the syntax and use EXPLAIN to analyze the query. 6. Optimization suggestions include using indexes, choosing the right data type and good programming habits.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

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 Mac version
God-level code editing software (SublimeText3)

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use