Deploy an LNMP / LAMP stack in one click

Pick LNMP (Nginx) or LAMP (Apache), a stack template and component versions. The panel installs step by step and tunes everything to your server's memory; every step is logged, and failures explain the cause and what to do next.

One-click LNMP / LAMP

Key capabilities

One-click LNMP / LAMP

Install Nginx or Apache, MySQL / MariaDB and PHP in one click, tuned automatically to your server's memory, with live progress. Works on Debian, Ubuntu, Rocky Linux, AlmaLinux and other mainstream Linux distributions.

Nginx or Apache, your choice

LNMP uses Nginx (or OpenResty); LAMP uses Apache + PHP-FPM and supports .htaccess rewrite rules.

Tuned to your memory

The MySQL buffer pool, PHP worker count and web server workers are sized by memory and disk type, so large servers are not held back.

Mix and match versions

Several built-in stack templates, PHP 5.2 – 8.5 side by side, and a choice of MySQL and MariaDB release lines.

See every step

Progress and logs are shown live and can be reviewed later; failures explain the cause and how to fix it.

Patch reminders

You are told when installed software has a patch or security update; update in one click, and the previous version is restored automatically if something goes wrong.

Both major Linux families

apt on Debian / Ubuntu, dnf on Rocky / AlmaLinux / CentOS Stream / RHEL, and installs can safely be run again.

Quick start

Get started in three steps

Nothing to preinstall: one command installs the panel, and everything after that happens in your browser.

  1. 1

    Install the panel

    Run the one-line command as root; the panel is ready in about a minute.

  2. 2

    Choose a stack

    Sign in, open One-click Deploy, and pick LNMP or LAMP, a template and versions.

  3. 3

    Start building

    Once installed, add websites, databases and SSL certificates right away.

Installation

One command to install

Works on fresh or minimal installs of mainstream Linux distributions in about a minute; later upgrades happen automatically and roll back on failure.

command -v curl >/dev/null 2>&1 || { command -v apt-get >/dev/null 2>&1 && apt-get update -qq && apt-get install -y -qq curl ca-certificates || dnf install -y -q curl || yum install -y -q curl; }; d=$(mktemp -d) && curl -fsSL 'https://www.66panel.com/install.sh' -o "$d/install.sh" && bash "$d/install.sh"; s=$?; rm -rf "$d"; [ $s -eq 0 ]
For fresh or minimal systems: if curl is missing it is installed with apt / dnf / yum first, then the script is downloaded and run.
Run as root on a fresh mainstream Linux distribution: Debian / Ubuntu / Rocky Linux / AlmaLinux / CentOS Stream / RHEL / Oracle Linux / openEuler / Anolis / OpenCloudOS / Alibaba Cloud Linux / CentOS The panel address and password are printed when installation finishes

FAQ

Questions worth asking first

Didn't find your answer? Check the docs or get in touch.

Should I choose LNMP or LAMP?

Most websites should choose LNMP: Nginx uses fewer resources and handles concurrency better. Choose LAMP for applications that rely on .htaccess rules. Ports 80 / 443 on a server are served by a single web server.

How much memory does the server need?

2 GB or more is recommended for LNMP. 1 GB also works: the panel lowers each component's footprint to match the memory.

Can I change versions later?

Yes. Switch release lines or add more PHP versions in the Software Store, and the previous version is restored automatically if something goes wrong. Database upgrades convert the data files and cannot be rolled back, so back up first.

Try it on a server now

One command, about a minute; later upgrades happen automatically and roll back on failure.

Back to home