Installing Virtuoso Open Source Edition on Windows

Posted: March 18th, 2008 | Author: admin | Filed under: Semantic Web | No Comments »

Installing Virtuoso Open Source Edition on Windows isn’t that difficult, I did have a few small issues but here is a log of the install. Might be of use to anyone else wanting to give it a try.

Here’s a link to the install directions I filed: Install Directions

Here’s a link to the binary file: http://sourceforge.net/project/downloading.php?groupname=virtuoso&filename=virtuoso-opensource-win32-5.0.5.zip&use_mirror=dfn

Notes:

I felt the directions on this page were a little short, so I figured I’d make some notes

ODBC Driver Registration

I. Create Enviornment Variable
1. Righ click on My Computer > Properties

2. Select the Advanced Tab
3. Click the Environment Variables Button
4. Under the System Variables section, click NEW
5. Name the variable: VIRTUOSO_HOME
6. Set the path to the directory: \virtuoso-opensource (what should of been the results of unzipping the windows build).

7. To Test: open a command line and type: cd %VIRTUOSO_HOME%

Setup DSN

I had to skip this section since it couldn’t connect — nothing was running. When I later tried to connect after starting the demo service using the instrucitons in the section called: “Creating a Windows Service for the Demo Database” I got a bad username/password.
after getting the demo service running, i went back and used localhost:1112 and dba:dba and it worked.

Creating a Windows Service for the Demo Database

1. I manually modified the path (found in step 2) using the instructions above to create an envrionment variable. This time, instead of creating a new one I merely appended the two paths required to tthe existing Path variable. I then restarted my system.

Paste this at the end of the path: ;%VIRTUOSO_HOME%\bin;%VIRTUOSO_HOME%\lib

After this step I got the demo service running

——

All of the uri’s provided in the document do not work, 404 error except

http://localhost:8890/sparql

After pinging the mailing list I got a quick response from Hugh Williams, he told me to add a few lines to the config file.

I had to edit the demo.ini
1. Changed the DirsAllowed from:
DirsAllowed = .\tmp\, .\backup\, ..\vad\, virtprof.out, ..\bin\OpenLink.Data.Virtuoso.dll, .\classlib\
to:
DirsAllowed = ..\..\..\..\share\virtuoso\vad, .\tmp\, .\backup\, ..\vad\, virtprof.out, ..\bin\OpenLink.Data.Virtuoso.dll, .\classlib\

added this to the beginning: ..\..\..\..\share\virtuoso\vad,

2. Then added this line:
VADInstallDir = ..\..\..\..\share\virtuoso\vad

3. Stopped & Started it

4. This url now worked: http://localhost:8890/conductor/

Some usful commands:

List Running Services

virtuoso-t +service list

Create Service Instance
virtuoso-t +service screate +instance “Demo” +configfile demo.ini

Stop Instance
virtuoso-t +instance “Demo” +service stop

Start Instance
virtuoso-t +instance “Demo” +service start