🧱

LEMP Stack

Web服务器

Nginx, MariaDB and PHP-FPM on Ubuntu 22.04 for PHP applications

部署信息

部署: 2-5分钟
类别: Web服务器
最小内存: 1024MB
支持: 24/7

共享此指南

概览

LEMP swaps Apache for Nginx: Linux, Nginx, a MySQL-compatible database and PHP running under PHP-FPM. It suits PHP applications that you want to serve through Nginx.

The VPS.org one-click install uses Ubuntu 22.04 and installs Nginx, MariaDB and PHP-FPM with the common extensions (curl, gd, mbstring, xml, zip, mysql). It sets a random MariaDB root password, removes the anonymous database users and the test database, and configures an Nginx server block that passes .php requests to PHP-FPM from /var/www/html.

After the install, delete /var/www/html/info.php, point your domain at the server, and add a free Let's Encrypt certificate with Certbot. Firewall rules and backups are yours to configure.

《安装指南》

Choose LEMP Stack at checkout. The server installs the stack on first boot, which usually finishes a few minutes after the server comes online; progress is logged to /var/log/lemp-install.log. The Nginx configuration lives in /etc/nginx/sites-available/lemp.

技术要求

系统要求

  • 记忆: 1024MB 内存(MM)

请为这篇文章评分

-
正在装入...

准备好部署您的应用程序了吗? LEMP Stack?

几分钟后开始 我们简单的VPS部署程序

注册无需信用卡 • 2-5分钟即可部署