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