<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: laowai come</title>
    <description>The latest articles on DEV Community by laowai come (@laowai_come_8b1be8dcdd75a).</description>
    <link>https://dev.to/laowai_come_8b1be8dcdd75a</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3672353%2Fbd575f18-36ba-4545-a19f-3a8779d10bc5.png</url>
      <title>DEV Community: laowai come</title>
      <link>https://dev.to/laowai_come_8b1be8dcdd75a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/laowai_come_8b1be8dcdd75a"/>
    <language>en</language>
    <item>
      <title>**One-Click Deployment of Your Exclusive Server** 〞 WNMP One-Click Package, Making Web Environment Setup Simple Again</title>
      <dc:creator>laowai come</dc:creator>
      <pubDate>Wed, 24 Dec 2025 06:28:13 +0000</pubDate>
      <link>https://dev.to/laowai_come_8b1be8dcdd75a/one-click-deployment-of-your-exclusive-server-wnmp-one-click-package-making-web-environment-109m</link>
      <guid>https://dev.to/laowai_come_8b1be8dcdd75a/one-click-deployment-of-your-exclusive-server-wnmp-one-click-package-making-web-environment-109m</guid>
      <description>&lt;h1&gt;
  
  
  WNMP:
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Windows 11 (WSL) + Nginx + MariaDB + PHP&lt;/li&gt;
&lt;li&gt;(Linux) WebDAV + Nginx + MariaDB + PHP&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Tired of the complicated installation of Nginx + PHP + database?&lt;br&gt;
WNMP One-Click Package turns all of this into a &lt;strong&gt;single command&lt;/strong&gt; to get it done.&lt;/p&gt;

&lt;p&gt;Check the official website for installation commands.&lt;/p&gt;

&lt;p&gt;Install a complete web environment in one minute:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nginx 1.28.0 (supports HTTP/2, WebDAV, Stream)&lt;/li&gt;
&lt;li&gt;PHP 8.2-8.5&lt;/li&gt;
&lt;li&gt;MariaDB 10.6 / 10.11 / 11.8 (built-in Mroonga full-text search engine)&lt;/li&gt;
&lt;li&gt;Automatic SSL certificates (acme.sh)&lt;/li&gt;
&lt;li&gt;WebDAV cloud disk support (no plaintext FTP)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;System automatic optimization:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enables BBR/FQ network acceleration&lt;/li&gt;
&lt;li&gt;Disables THP and optimizes kernel parameters&lt;/li&gt;
&lt;li&gt;Fully compatible with Debian 12/13, Ubuntu 22-25, WSL2&lt;/li&gt;
&lt;li&gt;Automatically generates security configurations to prevent common vulnerabilities by default&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Security First ﹞ Optimal by Default&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Built-in SSH key authentication&lt;/li&gt;
&lt;li&gt;Dangerous PHP functions disabled by default&lt;/li&gt;
&lt;li&gt;phpMyAdmin protected with double BasicAuth security&lt;/li&gt;
&lt;li&gt;Fully automatic SSL certificate issuance and renewal&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A truly "zero-resistance" solution for developers and webmasters:&lt;br&gt;
Whether you are an independent developer, cloud service provider, or edge node operator, WNMP makes server environment deployment as simple as installing a browser.&lt;br&gt;
Lightweight, stable, and replicable 〞 configure once, benefit forever.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does it support one-click generation of SSH login keys?&lt;/strong&gt; Yes. Execute &lt;code&gt;wnmp sshkey&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;=====================================================================&lt;br&gt;
?? &lt;strong&gt;Important Reminder&lt;/strong&gt;: Before you confirm that you have &lt;strong&gt;saved the private key to your own computer&lt;/strong&gt;,&lt;/p&gt;

&lt;h1&gt;
  
  
  ?? &lt;strong&gt;Do not disconnect the current SSH session&lt;/strong&gt;, otherwise you will not be able to log in to the server again!
&lt;/h1&gt;

&lt;p&gt;Save the private key to your local computer, and you can use an SSH client to load the key for password-free login.&lt;br&gt;
After configuring key authentication, the server will prohibit all account password logins.&lt;/p&gt;

&lt;p&gt;Official Website: &lt;a href="https://wnmp.org" rel="noopener noreferrer"&gt;https://wnmp.org&lt;/a&gt;&lt;br&gt;
Community Support: QQ Group 1075305476 | Telegram @wnmps&lt;br&gt;
GitHub: &lt;a href="https://github.com/lowphpcom/wnmp" rel="noopener noreferrer"&gt;https://github.com/lowphpcom/wnmp&lt;/a&gt;&lt;br&gt;
Open Source License: GPLv3&lt;/p&gt;

&lt;p&gt;WNMP is more than just a script 〞 it is the starting point of the next-generation PHP runtime environment ecosystem.&lt;br&gt;
Based on LOWPHP's resident memory architecture, it will bring native high-performance PHP experience in the future.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to install and use WNMP on Windows?&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://www.wnmp.org/#howwin" rel="noopener noreferrer"&gt;https://www.wnmp.org/#howwin&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;v1.28&lt;/strong&gt;: Added global variable &lt;code&gt;wnmp&lt;/code&gt; 〞 all commands can be executed in any directory.&lt;br&gt;
&lt;strong&gt;v1.26&lt;/strong&gt;: PHP enables built-in support for fileinfo, soap, and sodium extensions.&lt;br&gt;
&lt;strong&gt;v1.21&lt;/strong&gt;: Optimized unstable download issues of software installation packages due to network conditions in mainland China.&lt;br&gt;
&lt;strong&gt;v1.20&lt;/strong&gt;: All software is downloaded to the &lt;code&gt;/root/sourcewnmp&lt;/code&gt; directory. For overwriting installations, existing software compressed packages will be directly decompressed and installed without re-downloading.&lt;br&gt;
&lt;strong&gt;v1.16&lt;/strong&gt;: The official PHP PECL extension installer is no longer maintained; switched to the PIE extension installer for installing C language extensions. Complete PIE extension list: &lt;a href="https://packagist.org/extensions" rel="noopener noreferrer"&gt;https://packagist.org/extensions&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;v1.15&lt;/strong&gt;: Removed the &lt;code&gt;default&lt;/code&gt; function. Automatically applies for Let's Encrypt IP certificates and generates NGINX BASIC AUTH protection by default. Access the database directly via https://[ip]/phpmyadmin.&lt;br&gt;
&lt;strong&gt;v1.13&lt;/strong&gt;: Further optimized kernel parameters to improve system concurrency.&lt;br&gt;
&lt;strong&gt;v1.12&lt;/strong&gt;: Added support for MariaDB 11.8.5; optimized my.cnf with more reasonable default configurations.&lt;br&gt;
&lt;strong&gt;v1.10&lt;/strong&gt;: Modified SSH key code logic 〞 only the latest public/private key pair is valid for repeated SSH key applications, and old public keys are backed up.&lt;br&gt;
&lt;strong&gt;v1.09&lt;/strong&gt;: Removed the default site .pem file to avoid misunderstandings. The .pem certificate file will only be generated after the default site officially applies for a certificate.&lt;br&gt;
&lt;strong&gt;v1.05&lt;/strong&gt;: For overwriting installations or executing &lt;code&gt;wnmp remariadb&lt;/code&gt;, a full database backup is first created at: &lt;code&gt;/home/all_databases_backup_[time].sql.gz&lt;/code&gt;.&lt;br&gt;
&lt;strong&gt;v1.04&lt;/strong&gt;: Pure cloud disk sites block .php files to prevent source code leakage.&lt;br&gt;
&lt;strong&gt;v1.03&lt;/strong&gt;: Optimized Nginx parameters to speed up SSL certificate verification.&lt;br&gt;
&lt;strong&gt;v1.02&lt;/strong&gt;: Added --pcntl extension for Workerman compatibility.&lt;br&gt;
&lt;strong&gt;v1.01&lt;/strong&gt;: Supports the latest version of Swoole (e.g., 6.2.0-dev) on PHP 8.5 〞 official websites and PECL do not yet support this deployment, but WNMP does.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I skip certificate application in a single-machine or intranet environment?&lt;/strong&gt;&lt;br&gt;
Yes. When the script detects an intranet environment, it will ask to confirm whether to force certificate application. Select &lt;strong&gt;[No]&lt;/strong&gt; to skip (ideal for development environment installation and debugging). Select &lt;strong&gt;[Yes]&lt;/strong&gt; for scenarios like installing on an internal KVM virtual machine via PVE NAT IPv4 〞 as long as the PVE host forwards ports 80 and 443 to the intranet KVM virtual machine, certificate application will work normally.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why doesn't WNMP provide a control panel?&lt;/strong&gt;&lt;br&gt;
Because the most secure server is the one without a control panel.&lt;/p&gt;

&lt;p&gt;Panel-based software (e.g., BT Panel) manages servers graphically, which is convenient but introduces several risks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Opens additional ports (e.g., 8888), expanding the attack surface;&lt;/li&gt;
&lt;li&gt;Retains SSH password login, increasing brute-force attack risks;&lt;/li&gt;
&lt;li&gt;Long-running panel daemons may be subject to privilege escalation or injection;&lt;/li&gt;
&lt;li&gt;Automatic updates and plugin systems reduce auditability.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;WNMP follows a completely different design philosophy:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enables SSH key authentication by default (the most secure login method);&lt;/li&gt;
&lt;li&gt;Does not open any web panel ports 〞 almost zero resident processes after deployment;&lt;/li&gt;
&lt;li&gt;Fully transparent system configurations that are scriptable, versionable, and auditable;&lt;/li&gt;
&lt;li&gt;Prioritizes host-level performance and security baselines over graphical interface convenience.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;WNMP is not designed to "replace BT Panel" 〞 it provides a clean environment template for engineers. &lt;strong&gt;The command line is the control panel&lt;/strong&gt;, and security and controllability are always prioritized.&lt;/p&gt;

&lt;p&gt;Panels are for beginners; WNMP is for engineers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Next version&lt;/strong&gt;: Support for one-click off-site backup.&lt;/p&gt;

&lt;p&gt;The WNMP one-click web environment installation package has been officially recognized by the Mroonga search engine and featured with a friendly link on its official page:&lt;br&gt;
&lt;a href="https://mroonga.org/users/" rel="noopener noreferrer"&gt;https://mroonga.org/users/&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
