English |
  • 美国VPS主机推荐
  • |
  • 代购服务
  • |
  • 10美元以下VPS
  • |
  • VPS新手指南/教程
  • |
  • 留言板
  • |
  • 关于
  • | 登录 |

    LNMP一键安装包 V1.5 测试版发布,欢迎反馈

    2018年01月10日 上午 | 作者:VPS侦探


    LNMP 1.5测试版,主要新增加PHP7.2支持、增加Maria DB 10.2、替换问题较多的certbot使用acme.sh不需要过多的依赖生成SSL更丝滑、lnmp管理脚本增加pathinfo选项、lnmp.conf中增加PHP模块fileinfo选项和Nginx lua模块选项、增加一些常用伪静态、Apache 2.4支持到http2、Nginx默认支持stream等功能。

    LNMP一键安装包是一个用Linux Shell编写的可以为CentOS/RHEL/Fedora/Debian/Ubuntu/Raspbian/Deepin/Aliyun/Amazon/Mint Linux VPS或独立主机安装LNMP(Nginx/MySQL/PHP)、LNMPA(Nginx/MySQL/PHP/Apache)、LAMP(Apache/MySQL/PHP)生产环境的Shell程序。支持自定义Nginx、PHP编译参数及网站和数据库目录、支持生成LetseEcrypt证书、LNMP模式支持多PHP版本、支持单独安装Nginx/MySQL/MariaDB/Pureftpd服务器,同时提供一些实用的辅助工具如:虚拟主机管理、FTP用户管理、Nginx、MySQL/MariaDB、PHP的升级、常用缓存组件Redis/Xcache等的安装、重置MySQL root密码、502自动重启、日志切割、SSH防护DenyHosts/Fail2Ban、备份等许多实用脚本。

    安装前建议使用screen,执行:screen -S lnmp 后,执行:wget http://soft.vpser.net/lnmp/lnmp1.5beta.tar.gz -cO lnmp1.5beta.tar.gz && tar zxf lnmp1.5beta.tar.gz && cd lnmp1.5 && ./install.sh lnmp 请注意最后的lnmp参数,如需要lnmpa 或 lamp 请替换lnmp为你要安装的模式。

    问题反馈及使用交流论坛https://bbs.vpser.net/forum-25-1.html
    打赏捐赠https://lnmp.org/donation.html

    V1.5更新记录

    增加PHP 7.2支持;
    增加MariaDB 10.2支持;
    增加PHP模块fileinfo选项,安装或升级时可以选择是否安装开启,选项在安装包目录下 lnmp.conf 中 Enable_PHP_Fileinfo 默认为 n 不开启,如有安装设置为 y ;
    增加Nginx lua模块选项,安装或升级时可以选择是否为nginx安装开启lua,选项在安装包目录下 lnmp.conf 中 Enable_Nginx_Lua 默认为 n 不开启,如有安装设置为 y ;
    增加thinkphp、yii2、codeigniter、laravel伪静态;
    增加使用acme.sh生成SSL证书,移除官方的certbot;
    增加Nginx编译参数,默认开启stream;
    增加Apache 2.4支持http2;
    增加旧版本Ubuntu中国地区源;
    增加添加虚拟主机时pathinfo可选项;
    增加certbot升级到acme.sh的一键升级功能命令为 ./upgrade1.x-1.5.sh ssl 按提示输入和原来SSL虚拟主机一样配置的信息就可以;
    修复深度Deepin桌面版问题;
    移除PHP禁用函数scandir;
    调整默认PHP版本为5.6;
    调整默认Apache版本为2.4;
    调整MySQL/MariaDB安装时未输入密码由原来密码设为 root 调整为 lnmp.org#随机数字 ;
    调整MySQL国内下载源为科大的;
    调整LAMP模式下SSL添加过程增加中间证书可选项;
    其他一些功能优化及调整......
    ......更多更新信息请访问lnmp官网更新记录查看

    LNMP状态管理:lnmp {start|stop|reload|restart|kill|status}
    LNMP各个程序的状态管理:lnmp {nginx|mysql|mariadb|php-fpm|pureftpd} {start|stop|reload|restart|kill|status}
    虚拟主机管理:lnmp vhost {add|list|del}
    数据库管理:lnmp database {add|list|edit|del}
    FTP用户管理:lnmp ftp {add|list|edit|del|show}
    已存在虚拟主机添加SSL:lnmp ssl add

    关于升级到当前版本
    参考:https://lnmp.org/notice/lnmp-v1-5-beta.html 中的说明

    添加、删除虚拟主机及伪静态管理:https://lnmp.org/faq/lnmp-vhost-add-howto.html
    eAccelerator,xcache,memcached,imageMagick,ionCube、opcache、redis的安装:https://lnmp.org/faq/addons.html

    VPS侦探论坛注册邀请码:e43b534104J0zlGg  有效期至:2018-1-24 10:05

    >>转载请注明出处:VPS侦探 本文链接地址:https://www.vpser.net/build/lnmp-v1-5-beta.html
    VPS侦探推荐:
    遨游主机VultrLinode搬瓦工LOCVPSKVMLAHOSTKVMHostXen80VPS美国VPS主机,国内推荐腾讯云阿里云
    欢迎加入VPS侦探论坛交流:https://bbs.vpser.net

    发表评论

    *必填

    *必填 (不会被公开)

    评论(18条评论)

    1. VPS侦探说道:

      @飞翔, 证书是自动续期的,只要crontab里正常,没有更改过网站的目录等参数到期前30天会自动续期

    2. 飞翔说道:

      您好,安装了1.5版本Lnmp,请问 ssl 证书到期了,续期应该怎么操作呢?谢谢

    3. VPS侦探说道:

      @阿飞, 请描述具体问题

    4. 阿飞说道:

      1b7eee8290bf564a525ec49f51b33893'怎么回事啊

    5. VPS侦探说道:

      @小胖子, /home/wwwlogs 只要没开日志就不会记录,access.log是默认虚拟主机的日志,不会记录其他虚拟主机的日志

    6. 小胖子说道:

      请问1.5版本的,网站日志路径在哪里?我有多个网站,每个网站的日志都在access.log里吗?不分开放的吗?以前版本不是这样的啊!!!!!

    7. 学习笔记Blog说道:

      “参考:https://lnmp.org/notice/v1-5beta.html 中的说明”,这个文件一直访问都是404!

    8. VPS侦探说道:

      @ww, 220这行
      enable-php7.1.conf 后面漏写了个空格]]空格

    9. VPS侦探说道:

      @clang, 不通过一般的80端口也可以http验证,指定http端口也可以

    10. ww说道:

      lnmp1.5测试版,安装完后,lnmp命令报错

      [root@iZwz94xv29xhmuapgktix7Z www]# lnmp restart
      +-------------------------------------------+
      | Manager for LNMP, Written by Licess |
      +-------------------------------------------+
      | https://lnmp.org |
      +-------------------------------------------+
      /bin/lnmp: line 220: conditional binary operator expected
      /bin/lnmp: line 220: syntax error near `!'
      /bin/lnmp: line 220: ` if [[ ! -s /usr/local/php5.2/sbin/php-fpm && ! -s /usr/local/nginx/conf/enable-php5.2.conf ]] && [[ ! -s /usr/local/php5.3/sbin/php-fpm && ! -s /usr/local/nginx/conf/enable-php5.3.conf ]] && [[ ! -s /usr/local/php5.4/sbin/php-fpm && ! -s /usr/local/nginx/conf/enable-php5.4.conf ]] && [[ ! -s /usr/local/php5.5/sbin/php-fpm && ! -s /usr/local/nginx/conf/enable-php5.5.conf ]] && [[ ! -s /usr/local/php5.6/sbin/php-fpm && ! -s /usr/local/nginx/conf/enable-php5.6.conf ]] && [[ ! -s /usr/local/php7.0/sbin/php-fpm && ! -s /usr/local/nginx/conf/enable-php7.0.conf ]] && [[ ! -s /usr/local/php7.1/sbin/php-fpm && ! -s /usr/local/nginx/conf/enable-php7.1.conf && [[ ! -s /usr/local/php7.2/sbin/php-fpm && ! -s /usr/local/nginx/conf/enable-php7.2.conf ]]; then'

    11. clang说道:

      之前都是装完lnmp,然后用第三方的let脚本,dns验证方式获取证书,因为不备案的话,是无法通过http验证方式的

    12. uscs说道:

      找台空闲vps试一下

    13. tantan说道:

      支持lnmp

    14. 未来说道:

      前几天才刚装了1.4

    15. dada说道:

      新版终于来了,certbot确定有些问题