On 11/02/2020 12:30, Andy Seaborne wrote:


On 11/02/2020 07:56, Luis Enrique Ramos García wrote:
Thanks for your support, just running,

about your question, I saw different options to run the server here:

https://jena.apache.org/documentation/fuseki2/fuseki-run.html


my interest is run the service, load data as use it as a query service for
my application, and I understood i was running it as a stand alone
server, "This
is running Fuseki from the command line.".


Please, let me know if I could be doing something wrong, or if I could be
following a inconvenient method.

"run as a service" has several meanings unfortunately.

If you want to run as a Linux service, controlled by systemd, maybe run starte at startup, the download has "fuseki.service" which should be taken a a template which you may need to modify for your local choices.

If you want to run it in the background, you cna simply start in another terminal or run in the background with "&".

Another possibility is run it inside your application. Fuseki runs on it's own threads.

Dataset ds = ...
FusekiServer server = FusekiServer.create()
   .add("/dataset", ds)
   .build() ;
server.start() ;

https://jena.apache.org/documentation/fuseki2/fuseki-run.html#fuseki-main
and
https://jena.apache.org/documentation/fuseki2/fuseki-main.html






Best regards



Luis Ramos

El mar., 11 feb. 2020 a las 8:48, Lorenz Buehmann (<
[email protected]>) escribió:

We had some trouble with the executable bit in the last release

please go to your Fuseki directory and do

chmod +x fuseki-server


I'm also not sure why you want to run Fuseki as root?

On 11.02.20 08:32, Luis Enrique Ramos García wrote:
Dear member of jena community,

I am beginning to work with fuseki server, and for windows installation
(home laptop) I followed this instructions, and got the server running in
some minutes:

https://www.youtube.com/watch?v=3WTtKaIfqnk


However, when I tried to do it in ubuntu (work laptop), following this
instructions:

https://github.com/ont-app/fuseki-starter, using the most recent
version of
fuseki, and setting up environment variables fuseki-base, I am not able
to
run the server, and I receive the following error message.

*sudo: ./fuseki-server: command not found*

I wonder what could happens here?,


Best regards


Luis Ramos



Reply via email to