If .. the answer.. that will not work with Ubuntu > ok. Just please give me a help.. because the general infos not enough. Private ok. Etc. Many thanks!!--
You received this message because you are subscribed to the Google Groups "Nginx-Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nginx-clojure+unsubscribe@googlegroups.com.
To post to this group, send email to nginx-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nginx-clojure/eacaf3e6-e217-4f4a-85b9-9fdea7de0f55%40googlegroups.com.
sudo apt-get install build-essential
java -version
sudo apt-get install default-jdk
sudo apt-get install default-jre
sudo update-alternatives --config javac # get the path
Sudo apt-get
Stable - 11 bugfull: http://nginx.org/download/nginx-1.10.1.tar.gz
wget http://nginx.org/download/nginx-1.11.3.tar.gz
tar -zxvf nginx-1.11.3.tar.gz
sudo apt-get install --reinstall libpcre3 libpcre3-dev libpcrecpp0 libssl-dev zlib1g-dev
./configure --sbin-path=/etc/nginx/ --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-debug --with-pcre --with-http_ssl_module
make
sudo make install
wget https://github.com/nginx-clojure/nginx-clojure/archive/v0.4.4.tar.gz
tar -zxvf v0.4.4.tar.gz
./configure --add-module=nginx-clojure-0.4.4/src/cnginx: [emerg] unknown directive "handler_type" in /etc/nginx/sites-enabled/default:38On Thu, Nov 17, 2016 at 3:01 AM, Szabolcs Baader <dam...@gmail.com> wrote:
If .. the answer.. that will not work with Ubuntu > ok. Just please give me a help.. because the general infos not enough. Private ok. Etc. Many thanks!!
--
You received this message because you are subscribed to the Google Groups "Nginx-Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nginx-clojur...@googlegroups.com.
To post to this group, send email to nginx-...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nginx-clojure+unsubscribe@googlegroups.com.
To post to this group, send email to nginx-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nginx-clojure/156cc4fb-7a81-4e96-a7c7-647ae8a40e45%40googlegroups.com.
The files from https://sourceforge.net/projects/nginx-clojure/files/ is pre-compiled binary files which contains nginx-clojure module already. You can not do ./configure with them.If you want to build it by yourself please update the command by adding nginx-clojure module :./configure --sbin-path=/etc/nginx/ --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-debug --with-pcre --with-http_ssl_module --add-module=${you-nginx-clojure-path-here}/src/cmakesudo make installBTW nginx-clojure 0.4.4 can not compiled with nginx 1.11.0+. The latest nginx-clojure source can be compiled with nginx 1.11.0+.
On Fri, Nov 18, 2016 at 3:22 AM, Szabolcs Baader <dam...@gmail.com> wrote:
That is the clojure handler--On Thu, Nov 17, 2016 at 3:01 AM, Szabolcs Baader <dam...@gmail.com> wrote:If .. the answer.. that will not work with Ubuntu > ok. Just please give me a help.. because the general infos not enough. Private ok. Etc. Many thanks!!--
You received this message because you are subscribed to the Google Groups "Nginx-Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nginx-clojur...@googlegroups.com.
To post to this group, send email to nginx-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nginx-clojure/eacaf3e6-e217-4f4a-85b9-9fdea7de0f55%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Nginx-Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nginx-clojur...@googlegroups.com.
To post to this group, send email to nginx-...@googlegroups.com.
wget http://nginx.org/download/nginx-1.10.1.tar.gz
tar -zxvf nginx-1.10.1.tar.gz
cd nginx-1.10.1
./configure --sbin-path=/etc/nginx/ --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-debug --with-pcre --with-http_ssl_module
make
mkdir -p /etc/nginx
sudo make install
--
You received this message because you are subscribed to the Google Groups "Nginx-Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nginx-clojure+unsubscribe@googlegroups.com.
To post to this group, send email to nginx-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nginx-clojure/9547a361-d35a-4796-98f0-3f0f907cc686%40googlegroups.com.
location /myClojure { content_handler_type 'clojure'; content_handler_name 'my.hello/hello-world'; }(sorry I'm beginner in this)
In this case, what I need to drop to the class-path? The jar file or simple the full project?
Hi, Szabolcs,Thank you for your work!But there's unnecessarily code in your shell script. viz.wget http://nginx.org/download/nginx-1.10.1.tar.gz
tar -zxvf nginx-1.10.1.tar.gz
cd nginx-1.10.1
./configure --sbin-path=/etc/nginx/ --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-debug --with-pcre --with-http_ssl_module
make
mkdir -p /etc/nginx
sudo make installThe above code will generate an executable nginx file whose different version is contained in nginx-clojure.0.4.4.tar.gz too. So you need eitherof them but not both of them typically.Regards.xfeep
On Tue, Nov 22, 2016 at 1:38 AM, Szabolcs Baader <dam...@gmail.com> wrote:
If somebody would like to start.. from zero.. here is my code.. maybe useful: https://github.com/damesek/clojure-nginx-setup-ssh/
2016. november 18., péntek 23:09:02 UTC+1 időpontban Szabolcs Baader a következőt írta:Ok, I solved! Sorry for the lot of messages!
I just forget drop to the jars the clojure folder (jars)!!
Many thanks for your help!!!
Szabolcs
--
You received this message because you are subscribed to the Google Groups "Nginx-Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nginx-clojur...@googlegroups.com.
To post to this group, send email to nginx-...@googlegroups.com.