当前位置: 首页 > 工具软件 > Nginx-Clojure > 使用案例 >

Install nginx-clojure on CentOS 7

锺星洲
2023-12-01

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.

 

转载于:https://www.cnblogs.com/ilovewindy/p/4543965.html

 类似资料:

相关阅读

相关文章

相关问答