我在fuseki
中解压缩/etc/default/fuseki
发布内容。
只要我尝试使用sudo service fuseki start
运行它就会输出
* Could not see Fuseki .jar file: $FUSEKI_START has value '/etc/init.d/fuseki-server.jar'
我还试图设置FUSEKI_HOME
没有运气。
有任何线索吗?
答案 0 :(得分:1)
通过创建文件解决
/etc/default/fuseki
包含
FUSEKI_HOME=/path/to/fuseki
答案 1 :(得分:0)
我很久以前使用过Fuseki,但是我已经在我的github中保存了一个.sh,我会把他粘贴在这里,我认为会帮助你。
我使用fuseki和apache jena:
#linux ubuntu
#uhull Tiago RDF# jena install
#https://jstirnaman.wordpress.com/2013/10/11/installing-fuseki-with-jena-and-tdb-on-os-x/
:'tretas para instalar e utilizar'
mkdir apache
cd apache/
wget www.apache.org/dist/jena/binaries/apache-jena-3.0.0.tar.gz
tar -zxvf apache-jena-3.0.0.tar.gz
wget www.apache.org/dist/jena/binaries/apache-jena-fuseki-2.3.0.tar.gz
tar -zxvf apache-jena-fuseki-2.3.0.tar.gz
clear
:'download completo'
cd apache-jena-3.0.0
export JENAROOT=[/path_to_apache-jena-3.0.0]
export PATH=$PATH:$JENAROOT/bin
cd ..
cd apache-jena-fuseki-2.3.0
export JENAROOT=[/path_to_apache-jena-3.0.0]
export PATH=$PATH:$JENAROOT/bin
cd ..
sparql --version
cd apache-jena-fuseki-2.3.0/
chmod +x fuseki-server
cd bin/
chmod +x s-*
#http://www.theinfohunger.com/install-jena-fuseki/
grep -r "fuseki-server" apache-jena-fuseki-2.3.0/
cd apache-jena-fuseki-2.3.0/
./fuseki-server --update --mem /ds
firefox http://localhost:3030/ &
ls -lai
#mkdir ./DB
#./fuseki-server --update --loc=DB /ds
#rdfxml --validate ./Data/bibapp_works.rdf
#./s-put -v http://localhost:3030/ds/data default ./Data/bibapp_works.rdf
:'PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
:'是评论,忽略
https://raw.githubusercontent.com/h31nr1ch/RaspberryPi/master/RDF3x/jenash.sh