Install nginx-clojure on CentOS 7

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.

时间: 2024-11-17 02:16:53

Install nginx-clojure on CentOS 7的相关文章

Install Nginx/PHP-FPM on CentOS/RHEL

Install Nginx, PHP 5.5.15 and PHP-FPM on Fedora 20/19/18/17, CentOS 7/6.5/5.10, Red Hat (RHEL) 7/6.5/5.10 1. Change to root user. su 2. Install needed repositories CentOS 7/6.5/5.10 and Red Hat (RHEL) 7/6.5/5.10 Remi repository  ## Remi Dependency on

CentOS 7 install Nginx

1. rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 2. yum install -y nginx 3. systemctl start nginx.service

How To Install Nginx on CentOS 7(转)

How To Install Nginx on CentOS 7 PostedJuly 22, 2014 427.4kviews NGINX CENTOS About Nginx Nginx is a high performance web server software. It is a much more flexible and lightweight program than Apache HTTP Server. This tutorial will teach you how to

Install CDH5.11 on CentOS 7

##1)Environment initialization Note:At least three nodes,  the Master node at least 6G of memory,  and the other two at least 4G of memory |--------------|-----------|-------------|----------------|-----------|--------------------|-------------| | Ho

yum install nginx

先安装nginx的yum源 http://nginx.org/en/linux_packages.html#stable 找到链接,安装: rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm 查看: yum info nginx 安装: yum install nginx service nginx start yum install nginx,布

install Nginx iptables

install the dependent package yum install -y pcre pcre-devel yum install -y zlib zlib-devel get nginx package wget http://nginx.org/download/nginx.1.8.1.tar.gz create user id for nginx useradd -M -s /sbin/nologin nginx install nginx tar xvzf nginx.1.

Install .Net Core For CentOS 6.5(最后失败了)

Install .NET Core SDK Before you start, please remove any previous versions of .NET Core from your system. In order to install .NET Core 1.1 on CentOS or Oracle Linux, first you need to get the prerequisites and then you download the .NET Core SDK bi

How to install nginx in Ubuntu

The steps for installing the nginx on Ubuntu below. 1.install the packages first. apt-get install gcc apt-get install libpcre3 libpcre3-dev apt-get install zlib1g zlib1g-dev apt-get install openssl openssl-dev 2.download the source code of nginx from

centos6.5 64位 yum install nginx的默认安装路径

yum install nginx网站文件存放默认目录 /usr/share/nginx/html 网站默认站点配置 /etc/nginx/conf.d/default.conf 自定义Nginx站点配置文件存放目录 /etc/nginx/conf.d/ Nginx全局配置 /etc/nginx/nginx.conf chkconfig nginx on开机启动 chkconfig --list

[mac]brew install nginx,出现编译错误怎么办?

错误如下: ==> Downloading http://nginx.org/download/nginx-1.6.2.tar.gz Already downloaded: /Library/Caches/Homebrew/nginx-1.6.2.tar.gz ==> ./configure --prefix=/usr/local/Cellar/nginx/1.6.2 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr