[英]What perquisites, if any, are there for installing Jena Fuseki?
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). 我正在使用Ubuntu 14.04,但是我认为这个问题及其答案可能与使用任何操作系统(如果稍作改动)的Jena Fuseki的初学者有关。
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. 我正在尝试安装Jena Fuseki,但是,我对我发现的所有教程以及网站上的说明都不清楚。 I downloaded this file jena-fuseki-1.1.0-distribution.tar.gz and unzipped it into my home directory.
我下载了此文件jena-fuseki-1.1.0-distribution.tar.gz并将其解压缩到我的主目录中。
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?
即我的机器上需要Java吗? Do I need Apache?
我需要Apache吗? Do I need Apache Jena?
我需要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 . 另请参见找不到Jena Fuseki Server命令 。
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). 您需要安装JAVA才能成功运行Fuseki,但是从错误的外观看,您已经安装了它,否则您将收到错误消息“ java:not found”(或类似消息)。
Except for java there shouldn't be any other dependencies. 除Java外,不应有任何其他依赖项。 I had a similar problem to you which I just solved and apparently it is a Linux problem and not a Fuseki error.
我有一个刚刚解决的问题 ,显然是Linux问题,而不是Fuseki错误。 This is what I did to get it working:
这是我为使其正常工作所做的:
export PATH=$PATH:/opt/jena-fuseki-1.1.0
export PATH=$PATH:/opt/jena-fuseki-1.1.0
export FUSEKI_HOME=/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; mkdir dataDir
来完成此操作; (if you) call it 'dataDir' (you should) then run: fuseki-server --update --loc=dataDir /myDataset
. 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. 您无需单独下载Jena即可使用Fuseki。 That is all;
就这些; you can now browse to 'localhost:3030' and start SPARQLing away :)
您现在可以浏览到'localhost:3030'并开始SPARQLing :)
./fuseki-server --update --loc=dataDir /myDataSet
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.