I am using Ubuntu 14.04, but I think this question and its answers could be relevant to a beginner in Jena Fuseki using any operating system (if adapted slightly).
I am trying to install Jena Fuseki, however, the instructions in all the tutorials I have found and on the website are unclear to me. I downloaded this file jena-fuseki-1.1.0-distribution.tar.gz and unzipped it into my home directory.
I then ran the following commands:
cd jena-fuseki-1.1.0
mkdir dataDir
chmod +x fuseki-server s-*
fuseki-server --update --loc=dataDir /myDataSet
However this was the output in my terminal after the last command:
fuseki-server: command not found
I suspect there is something I haven't installed, but require to get this working. ie Do I need Java on my machine? Do I need Apache? Do I need Apache Jena?
Or perhaps it is something entirely different that I am missing. Keep in mind I am a beginner, so skipping over the obvious will not help me.
The current dir .
is usually not in the path for security reasons. Try:
./fuseki-server --update --loc=dataDir /myDataSet
Also see Jena Fuseki Server command not found .
You need to have JAVA installed to successfully run Fuseki, but by the looks of your error you have it installed already, otherwise you would be getting an error message 'java: not found' (or similar).
Except for java there shouldn't be any other dependencies. I had a similar problem to you which I just solved and apparently it is a Linux problem and not a Fuseki error. This is what I did to get it working:
export PATH=$PATH:/opt/jena-fuseki-1.1.0
export FUSEKI_HOME=/opt/jena-fuseki-1.1.0
mkdir dataDir
from within the 'jena-fuseki-1.1.0' folder; (if you) call it 'dataDir' (you should) then run: fuseki-server --update --loc=dataDir /myDataset
. You can change the name of 'dataDir' if you like and you can also pick a different name for /myDataset if you like which is the name you use when making calls to your database. You don't need to download Jena seperately to use Fuseki. That is all; you can now browse to 'localhost:3030' and start SPARQLing away :)
./fuseki-server --update --loc=dataDir /myDataSet
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.