如何安装nginScript

栏目: 服务器 · 发布时间: 7年前

内容简介:ok,nginScript就安装完了。

分类:Linux 时间:

2015年9月,Nginx宣布支持类JavaScript语言-nginScript,这意味着开发者可以更轻松、自由的用JavaScript控制全球最优秀的HTTP及反向代理服务器。下面详细的看看Nginx如何安装nginScript。

1、下载最新Nginx包,地址可见: http://nginx.org/en/download.html

[root@Nginx ~]# wget http://nginx.org/download/nginx-1.9.4.tar.gz

2、 解压Nginx压缩包

[root@Nginx ~]# tar -xzvf nginx-1.9.4.tar.gz

3、通过mercurial获取nginScript模块,这里如果没有安装mercurial,需要先运行

[root@Nginx ~]# yum install mercurial
 [root@Nginx ~]# hg clone http://hg.nginx.org/njs

4、编译Nginx,这里只安装了njs模块,其他需要的模块自己要记得一起装哦。

[root@Nginx ~]#  cd nginx-1.9.4
 [root@Nginx ~]#  ./configure --add-module=../njs/nginx --prefix=/usr/local
 [root@Nginx ~]# make
 [root@Nginx ~]# make install

ok,nginScript就安装完了。


以上所述就是小编给大家介绍的《如何安装nginScript》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

The Art of Computer Programming, Volume 2

The Art of Computer Programming, Volume 2

Knuth, Donald E. / Addison-Wesley Professional / 1997-11-04 / USD 79.99

Finally, after a wait of more than thirty-five years, the first part of Volume 4 is at last ready for publication. Check out the boxed set that brings together Volumes 1 - 4A in one elegant case, and ......一起来看看 《The Art of Computer Programming, Volume 2》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具