java - What perquisites, if any, are there for installing Jena Fuseki? -
i using ubuntu 14.04, think question , answers relevant beginner in jena fuseki using operating system (if adapted slightly).
i trying install jena fuseki, however, instructions in tutorials have found , on website unclear me. downloaded file jena-fuseki-1.1.0-distribution.tar.gz , unzipped home directory.
i ran following commands:
cd jena-fuseki-1.1.0 mkdir datadir chmod +x fuseki-server s-* fuseki-server --update --loc=datadir /mydataset
however output in terminal after last command:
fuseki-server: command not found
i suspect there haven't installed, require working. i.e. need java on machine? need apache? need apache jena?
or perhaps entirely different missing. keep in mind beginner, skipping on obvious not me.
you need have java installed run fuseki, looks of error have installed already, otherwise getting error message 'java: not found' (or similar).
except java there shouldn't other dependencies. i had similar problem solved , apparently linux problem , not fuseki error. did working:
- download 'apache-jena-2.12.0.tar.gz' , extract (root)/opt folder (which seem directory reserved software , add-on packages not part of default installation).
- the folder extracted /opt called jena-fuseki-1.1.0, if have different name have change jena-fuseki-1.1.0 in next 2 commands folder name have. run command:
export path=$path:/opt/jena-fuseki-1.1.0
- then run:
export fuseki_home=/opt/jena-fuseki-1.1.0
- if want persistent data store should create new folder in 'jena-fuseki-1.1.0' folder in store data. running
mkdir datadir
within 'jena-fuseki-1.1.0' folder; (if you) call 'datadir' (you should) run:fuseki-server --update --loc=datadir /mydataset
. can change name of 'datadir' if , can pick different name /mydataset if name use when making calls database.
you don't need download jena seperately use fuseki. all; can browse 'localhost:3030' , start sparqling away :)
./fuseki-server --update --loc=datadir /mydataset
Comments
Post a Comment