1. `wget http://soft.vpser.net/lnmp/lnmp1.9.tar.gz -cO lnmp1.9.tar.gz && tar zxf lnmp1.9.tar.gz && cd lnmp1.9 && ./install.shlnmp` 2. ` vim /ur/local/nginx/conf/fastcgl.conf` 找到open\_basedir后面加/www/ 3. `flush privieges` 4. `service nginx configtest` 5. `service nginx reload` 6. 数据库配置(可选): `GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'mypwd' WITH GRANT OPTION;` > . https://lnmp.org/faq.html 查看本地环境:[探针](http://182.42.86.36:9000/p.php)  [phpinfo](http://182.42.86.36:9000/phpinfo.php)  [phpMyAdmin](http://182.42.86.36:9000/phpmyadmin/)(为了安全,建议将phpmyadmin目录重命名为不容易猜到的目录!) 更多LNMP一键安装包信息请访问:[https://lnmp.org](https://lnmp.org/) LNMP一键安装包常见问题:[https://lnmp.org/faq.html](https://lnmp.org/faq.html) LNMP一键安装包问题反馈&使用交流:[https://bbs.vpser.net/forum-25-1.html](https://bbs.vpser.net/forum-25-1.html) VPS相关教程:[https://www.vpser.net/vps-howto](https://www.vpser.net/vps-howto) 美国VPS推荐:[https://www.vpser.net/ten-dollars-vps](https://www.vpser.net/ten-dollars-vps)