标签:
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