how to download file/directory from httpserver?

2018-01-17 Thread wang Yu
now i use curl -X POST http://192.168.122.89:8000/file/js.jar -Fname=@js.jar to upload the js.jar to osv "/" and i want to download/get js.jar, how i do? i try curl -X GET http://192.168.122.89:8000/file/js.jar, but failed -- You received this message because you are subscribed to the Google

Re: [PATCH 1/2] * avoid downloading tomcat if it already exists

2018-01-17 Thread Geraldo Netto
Hello Waldek/Nadav/All, Thanks! Let's start small and then we can think big :) Sure, besides the list you already provided, would you mind to share all the other ideas? Also, if Nadav or any other guy has any suggestion, please, let me know I would like to consolidate all ideas/todo/roadmap in a

Re: [PATCH 1/2] * avoid downloading tomcat if it already exists

2018-01-17 Thread Waldek Kozaczuk
Geraldo, Hi and welcome to OSv!!! I have seen you started contributing which is great. As far as todo/wish list I am not sure there is official one besides list of open issues in github which Nadav mentioned. I have my own list. At the top of it is read-only filesystem and golang support

Re: [PATCH 01/56] apache-derby/Makefile: use wget -c

2018-01-17 Thread Nadav Har'El
On Wed, Jan 17, 2018 at 11:17 PM, Waldek Kozaczuk wrote: > > On Wed, Jan 17, 2018 at 3:36 AM, Nadav Har'El wrote: > > If I try >> scripts/build image=openjdk8-fedora,apache-derby >> >> I get other strange errors perhaps related to access control. >> >>

Re: [PATCH] fix kafka mirror url (error 404)

2018-01-17 Thread Waldek Kozaczuk
In order to operate Kafka requires zookeeper to store and retrieve some configuration data. So the reason it fails is because there is no zookeeper running on port 2181. I am not sure how to run 2 OSv instances on same host (one kafka and one zookeeper) due to some networking port conflicts.

[COMMIT osv-apps master] cado/Makefile: use wget -c

2018-01-17 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master cado/Makefile: use wget -c Signed-off-by: geraldo netto Message-Id: <1516131789-8559-4-git-send-email-geraldone...@gmail.com> --- diff --git a/cado/Makefile

[COMMIT osv-apps master] elasticsearch/Makefile: use wget -c

2018-01-17 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master elasticsearch/Makefile: use wget -c Signed-off-by: geraldo netto Message-Id: <1516131789-8559-7-git-send-email-geraldone...@gmail.com> --- diff --git

[COMMIT osv-apps master] dacapo/GET: use wget -c

2018-01-17 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master dacapo/GET: use wget -c Signed-off-by: geraldo netto Message-Id: <1516131789-8559-6-git-send-email-geraldone...@gmail.com> --- diff --git a/dacapo/GET b/dacapo/GET

[COMMIT osv-apps master] apache-spark/Makefile: use wget -c

2018-01-17 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master apache-spark/Makefile: use wget -c Signed-off-by: geraldo netto Message-Id: <1516131789-8559-3-git-send-email-geraldone...@gmail.com> --- diff --git

[COMMIT osv-apps master] apache-derby/Makefile: use wget -c

2018-01-17 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master apache-derby/Makefile: use wget -c Signed-off-by: geraldo netto Message-Id: <1516131789-8559-2-git-send-email-geraldone...@gmail.com> --- diff --git

[COMMIT osv-apps master] cassandra/Makefile: use wget -c

2018-01-17 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master cassandra/Makefile: use wget -c Signed-off-by: geraldo netto Message-Id: <1516131789-8559-5-git-send-email-geraldone...@gmail.com> --- diff --git

Re: [PATCH 07/56] elixir/Makefile: use wget -c

2018-01-17 Thread Nadav Har'El
On Tue, Jan 16, 2018 at 9:42 PM, geraldo netto wrote: > Signed-off-by: geraldo netto > --- > elixir/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/elixir/Makefile b/elixir/Makefile > index c6de0d5..a6928d0

Re: [PATCH 01/56] apache-derby/Makefile: use wget -c

2018-01-17 Thread Nadav Har'El
I'll commit this patch, but did you actually test this patch and the rest? When I try scripts/build image=apache-derby scripts/run I get Caused by: java.lang.UnsupportedClassVersionError: org/apache/derby/drda/NetworkServerControl : Unsupported major.minor version 52.0 If I try scripts/build

[COMMIT osv master] Added number of syscalls to support golang

2018-01-17 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Added number of syscalls to support golang This patch adds number of syscalls to that are needed to make Golang apps run on OSv. Most of this changes were produced by Benoit Canet.

Re: [PATCH] Added number of syscalls to support golang

2018-01-17 Thread Nadav Har'El
On Wed, Jan 17, 2018 at 6:59 AM, Waldek Kozaczuk wrote: > The sys_ioctl was probably added to conform with Linux implementation - > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/ > linux.git/tree/fs/ioctl.c. And ioctl function is variadic. > I still don't