1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY virtuoso-download-http "&sourceforge-repo;/virtuoso/virtuoso-opensource-&virtuoso-version;.tar.gz">
|
---|
8 | <!ENTITY virtuoso-download-ftp " ">
|
---|
9 | <!ENTITY virtuoso-md5sum "3991149c570f3738c3e819ce603e487f">
|
---|
10 | <!ENTITY virtuoso-size "113 MB">
|
---|
11 | <!ENTITY virtuoso-buildsize "770 MB (additional 2 GB to run the test suite)">
|
---|
12 | <!ENTITY virtuoso-time "5.0 SBU (additional 10 SBU to run the test suite)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="virtuoso" xreflabel="Virtuoso-&virtuoso-version;">
|
---|
16 | <?dbhtml filename="virtuoso.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Virtuoso-&virtuoso-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="virtuoso">
|
---|
26 | <primary sortas="a-Virtuoso">Virtuoso</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Virtuoso</title>
|
---|
31 |
|
---|
32 | <para><application>Virtuoso</application> is a cross-platform server that
|
---|
33 | implements multiple server-side protocols as part of a single-server product
|
---|
34 | offering. There is one server product that offers WebDAV/HTTP, Application,
|
---|
35 | and Database-server functionality alongside Native XML Storage, Universal
|
---|
36 | Data-Access Middleware, Business Process Integration and a Web-Services
|
---|
37 | Platform.</para>
|
---|
38 |
|
---|
39 | &lfs72_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>Download (HTTP): <ulink url="&virtuoso-download-http;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download (FTP): <ulink url="&virtuoso-download-ftp;"/></para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download MD5 sum: &virtuoso-md5sum;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Download size: &virtuoso-size;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated disk space required: &virtuoso-buildsize;</para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>Estimated build time: &virtuoso-time;</para>
|
---|
60 | </listitem>
|
---|
61 | </itemizedlist>
|
---|
62 |
|
---|
63 | <!--
|
---|
64 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
65 | <itemizedlist spacing='compact'>
|
---|
66 | <listitem>
|
---|
67 | <para>Required patch: <ulink
|
---|
68 | url="&patch-root;/virtuoso-&virtuoso-version;-fixes-1.patch"/></para>
|
---|
69 | </listitem>
|
---|
70 | </itemizedlist>
|
---|
71 | -->
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Virtuoso Dependencies</bridgehead>
|
---|
74 | <!-- No longer needed?
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="net-tools"/>
|
---|
78 | </para>
|
---|
79 | -->
|
---|
80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
81 | <para role="recommended">
|
---|
82 | <xref linkend="libiodbc"/>,
|
---|
83 | <xref linkend="libxml2"/>,
|
---|
84 | <xref linkend="openssl"/>, and
|
---|
85 | <xref linkend="openldap"/>
|
---|
86 | <!--<xref linkend="jdk"/>-->
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
90 | <para role="optional">
|
---|
91 | <xref linkend="imagemagick"/>,
|
---|
92 | <xref linkend="python2"/>, and
|
---|
93 | <xref linkend="mitkrb"/>
|
---|
94 | <!-- Currently broken
|
---|
95 | <xref linkend="php"/>
|
---|
96 | <xref linkend="ruby"/>
|
---|
97 | <ulink url="https://libwbxml.opensync.org/">libwbxml</ulink
|
---|
98 | -->
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <para condition="html" role="usernotes">User Notes:
|
---|
102 | <ulink url="&blfs-wiki;/virtuoso"/></para>
|
---|
103 |
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2 role="installation">
|
---|
107 | <title>Installation of Virtuoso</title>
|
---|
108 |
|
---|
109 | <para>Install <application>virtuoso</application> by running the following
|
---|
110 | commands:</para>
|
---|
111 |
|
---|
112 | <screen><userinput>sed -i "s|virt_iodbc_dir/include|&/iodbc|" configure &&
|
---|
113 | ./configure --prefix=/usr \
|
---|
114 | --sysconfdir=/etc \
|
---|
115 | --localstatedir=/var \
|
---|
116 | --with-iodbc=/usr \
|
---|
117 | --with-readline \
|
---|
118 | --without-internal-zlib \
|
---|
119 | --program-transform-name="s/isql/isql-v/" \
|
---|
120 | --disable-all-vads \
|
---|
121 | --disable-static &&
|
---|
122 | make</userinput></screen>
|
---|
123 |
|
---|
124 | <para>To test the results, issue <command>make -k check</command>.</para>
|
---|
125 |
|
---|
126 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
127 |
|
---|
128 | <screen role="root"><userinput>make install &&
|
---|
129 | install -v -m755 -d /usr/share/doc/virtuoso-&virtuoso-version; &&
|
---|
130 | ln -s -v ../../virtuoso/doc \
|
---|
131 | /usr/share/doc/virtuoso-&virtuoso-version;</userinput></screen>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | <sect2 role="commands">
|
---|
136 | <title>Command Explanations</title>
|
---|
137 |
|
---|
138 | <para><command>sed -i ...</command>: This command is used to modify the
|
---|
139 | <envar>CPPFLAGS</envar> variable so that the <application>libiodbc</application>
|
---|
140 | interface headers are found by the <command>configure</command> script.</para>
|
---|
141 |
|
---|
142 | <para><parameter>--with-iodbc=/usr</parameter>: This parameter is used so
|
---|
143 | that the build will use the system <application>libiodbc</application> interface
|
---|
144 | headers and not the headers in the source tree.</para>
|
---|
145 |
|
---|
146 | <para><parameter>--with-readline</parameter>: This parameter is used so that
|
---|
147 | the system <application>Readline</application> library is used.</para>
|
---|
148 |
|
---|
149 | <para><parameter>--without-internal-zlib</parameter>: This parameter is set
|
---|
150 | so that the installed <application>zlib</application> library is used and
|
---|
151 | not the bundled one.</para>
|
---|
152 |
|
---|
153 | <para><parameter>--program-transform-name</parameter>: Both
|
---|
154 | <application>Virtuoso</application> and <application>unixODBC</application>
|
---|
155 | install a program named <command>isql</command>. Use this parameter to rename
|
---|
156 | <application>virtuoso</application>s program to <command>isql-v</command>.</para>
|
---|
157 |
|
---|
158 | <para><parameter>--disable-all-vads</parameter>: This parameter disables
|
---|
159 | building all the VAD packages (tutorials, demos, etc.).</para>
|
---|
160 |
|
---|
161 | <para><parameter>--disable-static</parameter>: This option disables building
|
---|
162 | static libraries. However, the main <application>Virtuoso</application>
|
---|
163 | libraries, <filename class="libraryfile">libvirtuoso-t</filename> and
|
---|
164 | <filename class="libraryfile">libvirtuoso-iodbc-t</filename> are still
|
---|
165 | built as static libraries.</para>
|
---|
166 |
|
---|
167 | <para><option>--enable-python</option>: Add this option if
|
---|
168 | <application>Python</application> is installed to enable building
|
---|
169 | <application>Python</application> bindings.</para>
|
---|
170 |
|
---|
171 | <!-- broken with JDK-version7
|
---|
172 | <para><option>--with-jdk4</option>: Add this option to specify the path
|
---|
173 | to the <xref linkend="jdk"/> and to enable making use of Java.</para>
|
---|
174 | -->
|
---|
175 |
|
---|
176 | <para><option>--with-port</option>: Add this if you want the
|
---|
177 | <application>Virtuoso</application> server to listen on a port other than
|
---|
178 | 1111.</para>
|
---|
179 |
|
---|
180 | <para><option>--enable-aio</option>: Add this if you want
|
---|
181 | <application>Virtuoso</application> to perform asynchronous file I/O
|
---|
182 | operations instead of synchronous file I/O.</para>
|
---|
183 |
|
---|
184 | <para><option>--enable-perl</option>: Do not use this option if you built
|
---|
185 | Perl according to the LFS instructions. The build will fail with a note
|
---|
186 | similar to <computeroutput>Your perl should be compiled w -Dusemultiplicity.
|
---|
187 | Check the output of perl -V:usemultiplicity</computeroutput>.</para>
|
---|
188 |
|
---|
189 | <para>Note that passing the <option>with-jdk4=${JAVA_HOME}</option>,
|
---|
190 | <option>--enable-php5=/usr</option>, <option>--enable-ruby</option>, and
|
---|
191 | <option>--enable-wbxml2=/usr</option> options all will fail during the
|
---|
192 | <command>configure</command> phase of the build. They will not break
|
---|
193 | the build, but the desired support will not be included in the build.</para>
|
---|
194 | </sect2>
|
---|
195 |
|
---|
196 | <sect2 role="configuration">
|
---|
197 | <title>Configuration</title>
|
---|
198 |
|
---|
199 | <note><para>If <application>Virtuoso</application> is only to be used
|
---|
200 | for <application>KDE</application>, there is no need to start the
|
---|
201 | <application>Virtuoso</application> server at boot time.</para></note>
|
---|
202 |
|
---|
203 | <sect3 id="virtuoso-init">
|
---|
204 | <title>Boot Script</title>
|
---|
205 |
|
---|
206 | <para>If you want the <application>Virtuoso</application> server to
|
---|
207 | start automatically when the system is booted, install the
|
---|
208 | <filename>/etc/rc.d/init.d/virtuoso</filename> init script included
|
---|
209 | in the <xref linkend="bootscripts"/> package.</para>
|
---|
210 |
|
---|
211 | <indexterm zone="virtuoso virtuoso-init">
|
---|
212 | <primary sortas="f-virtuoso">virtuoso</primary>
|
---|
213 | </indexterm>
|
---|
214 |
|
---|
215 | <screen role="root"><userinput>make install-virtuoso</userinput></screen>
|
---|
216 |
|
---|
217 | </sect3>
|
---|
218 |
|
---|
219 | <sect3 id="virtuoso-users">
|
---|
220 | <title>User accounts</title>
|
---|
221 |
|
---|
222 | <para>When the server is started using the start script, there is a web
|
---|
223 | interface to <application>Virtuoso</application> at
|
---|
224 | <ulink url="http://localhost:8890/"/>. Several links are pointing to
|
---|
225 | the OpenLink site, but the <application>Conductor</application> at
|
---|
226 | <ulink url="http://localhost:8890/conductor/"/>. This is a full featured
|
---|
227 | configuration site for <application>Virtuoso</application>. Login as
|
---|
228 | <systemitem class="username">dba</systemitem> with the predefined
|
---|
229 | password <literal>dba</literal>.</para>
|
---|
230 |
|
---|
231 | <warning>
|
---|
232 | <title>Change password</title>
|
---|
233 |
|
---|
234 | <para>Remember to immediatly change the password of user
|
---|
235 | <systemitem class="username">dba</systemitem> as well as of all other
|
---|
236 | predefined users. Click on <literal>[System Admin]</literal> and
|
---|
237 | than on <literal>[User Accounts]</literal>.</para>
|
---|
238 |
|
---|
239 | </warning>
|
---|
240 | </sect3>
|
---|
241 |
|
---|
242 | </sect2>
|
---|
243 |
|
---|
244 | <sect2 role="content">
|
---|
245 | <title>Contents</title>
|
---|
246 |
|
---|
247 | <segmentedlist>
|
---|
248 | <segtitle>Installed Programs</segtitle>
|
---|
249 | <segtitle>Installed Libraries</segtitle>
|
---|
250 | <segtitle>Installed Directories</segtitle>
|
---|
251 |
|
---|
252 | <seglistitem>
|
---|
253 | <seg>inifile, isql-v, isql-vw, virt_mail and virtuoso-t</seg>
|
---|
254 | <seg>libvirtuoso-t.a, virtodbc.so, virtodbc_r.so, virtodbcu.so and virtodbcu_r.so</seg>
|
---|
255 | <seg>/var/lib/virtuoso, /usr/lib/{hibernate,jdbc-{2,3,4}.0,jena,sesame,virtuoso} and
|
---|
256 | /usr/share/virtuoso</seg>
|
---|
257 | </seglistitem>
|
---|
258 | </segmentedlist>
|
---|
259 |
|
---|
260 | <variablelist>
|
---|
261 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
262 | <?dbfo list-presentation="list"?>
|
---|
263 | <?dbhtml list-presentation="table"?>
|
---|
264 |
|
---|
265 | <varlistentry id="isql-v">
|
---|
266 | <term><command>isql-v</command></term>
|
---|
267 | <listitem>
|
---|
268 | <para>is a interactive SQL utility.</para>
|
---|
269 | <indexterm zone="virtuoso isql-v">
|
---|
270 | <primary sortas="b-isql-v">isql-v</primary>
|
---|
271 | </indexterm>
|
---|
272 | </listitem>
|
---|
273 | </varlistentry>
|
---|
274 |
|
---|
275 | <varlistentry id="virtuoso-t">
|
---|
276 | <term><command>virtuoso-t</command></term>
|
---|
277 | <listitem>
|
---|
278 | <para>is the Universial Server daemon.</para>
|
---|
279 | <indexterm zone="virtuoso virtuoso-t">
|
---|
280 | <primary sortas="b-virtuoso-t">virtuoso-t</primary>
|
---|
281 | </indexterm>
|
---|
282 | </listitem>
|
---|
283 | </varlistentry>
|
---|
284 |
|
---|
285 | </variablelist>
|
---|
286 |
|
---|
287 | </sect2>
|
---|
288 |
|
---|
289 | </sect1>
|
---|