码迷,mamicode.com
首页 > 其他好文 > 详细

Install nginx-clojure on CentOS 7

时间:2015-06-01 16:03:00      阅读:273      评论:0      收藏:0      [点我收藏+]

标签:

Install nginx-clojure on CentOS 7

1. install open-jdk-7

sudo yum install java-1.7.0-openjdk-devel

2. download nginx-clojure

https://nginx-clojure.github.io/quickstart.html

 

3. download clojure 1.6.0.jar

http://clojure.org/downloads

 

4. config nginx.conf

https://nginx-clojure.github.io/quickstart.html

ps:

1. libjvm.so of open jdk is in jvm_path ‘/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79-2.5.5.1.el7_1.x86_64/jre-abrt/lib/amd64/server/libjvm.so‘;

2. add user  root; on the top.

 

5. open port

firewall-cmd --zone=public --add-port=8080/tcp --permanent

firewall-cmd --reload

 

Done.

 

Install nginx-clojure on CentOS 7

标签:

原文地址:http://www.cnblogs.com/ilovewindy/p/4543965.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!