[47969a6] | 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 " ">
|
---|
[1a5108f1] | 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)">
|
---|
[47969a6] | 13 | ]>
|
---|
| 14 |
|
---|
[8f1699f2] | 15 | <sect1 id="virtuoso" xreflabel="Virtuoso-&virtuoso-version;">
|
---|
[47969a6] | 16 | <?dbhtml filename="virtuoso.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Virtuoso-&virtuoso-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="virtuoso">
|
---|
[8f1699f2] | 22 | <primary sortas="a-Virtuoso">Virtuoso</primary>
|
---|
[47969a6] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Virtuoso</title>
|
---|
| 27 |
|
---|
[0d7900a] | 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
|
---|
[47969a6] | 33 | Platform.</para>
|
---|
| 34 |
|
---|
[2a00b77] | 35 | &lfs75_built;
|
---|
[47969a6] | 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>
|
---|
[8a79b25f] | 60 | <!-- No longer needed?
|
---|
[47969a6] | 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 62 | <para role="required">
|
---|
| 63 | <xref linkend="net-tools"/>
|
---|
| 64 | </para>
|
---|
[8a79b25f] | 65 | -->
|
---|
[47969a6] | 66 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 67 | <para role="recommended">
|
---|
| 68 | <xref linkend="libiodbc"/>,
|
---|
| 69 | <xref linkend="libxml2"/>,
|
---|
[af6b1d16] | 70 | <xref linkend="openssl"/>, and
|
---|
| 71 | <xref linkend="openldap"/>
|
---|
[47969a6] | 72 | </para>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 75 | <para role="optional">
|
---|
[af6b1d16] | 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 | -->
|
---|
[47969a6] | 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 |
|
---|
[af6b1d16] | 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 \
|
---|
[8a79b25f] | 104 | --program-transform-name="s/isql/isql-v/" \
|
---|
[af6b1d16] | 105 | --disable-all-vads \
|
---|
| 106 | --disable-static &&
|
---|
[47969a6] | 107 | make</userinput></screen>
|
---|
| 108 |
|
---|
[55d9118] | 109 | <para>To test the results, issue <command>make -k check</command>.
|
---|
| 110 | Some tests are known to fail.</para>
|
---|
[47969a6] | 111 |
|
---|
| 112 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 113 |
|
---|
[af6b1d16] | 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>
|
---|
[47969a6] | 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
[af6b1d16] | 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>
|
---|
[47969a6] | 127 |
|
---|
[af6b1d16] | 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
|
---|
[792be78] | 140 | <application>Virtuoso</application> and <application>unixODBC</application>
|
---|
[af6b1d16] | 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>
|
---|
[0d7900a] | 143 |
|
---|
[af6b1d16] | 144 | <para><parameter>--disable-all-vads</parameter>: This parameter disables
|
---|
| 145 | building all the VAD packages (tutorials, demos, etc.).</para>
|
---|
[0d7900a] | 146 |
|
---|
[af6b1d16] | 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>
|
---|
[8a79b25f] | 152 |
|
---|
[af6b1d16] | 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
|
---|
[6d85d2c1] | 158 | <para><option>--with-jdk4</option>: Add this option to specify the path
|
---|
[47969a6] | 159 | to the <xref linkend="jdk"/> and to enable making use of Java.</para>
|
---|
[6d85d2c1] | 160 | -->
|
---|
[af6b1d16] | 161 |
|
---|
[0d7900a] | 162 | <para><option>--with-port</option>: Add this if you want the
|
---|
[af6b1d16] | 163 | <application>Virtuoso</application> server to listen on a port other than
|
---|
[47969a6] | 164 | 1111.</para>
|
---|
| 165 |
|
---|
[af6b1d16] | 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>
|
---|
[47969a6] | 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | <sect2 role="configuration">
|
---|
| 183 | <title>Configuration</title>
|
---|
| 184 |
|
---|
[8a79b25f] | 185 | <note><para>If <application>Virtuoso</application> is only to be used
|
---|
[0d7900a] | 186 | for <application>KDE</application>, there is no need to start the
|
---|
[8a79b25f] | 187 | <application>Virtuoso</application> server at boot time.</para></note>
|
---|
[0d7900a] | 188 |
|
---|
[47969a6] | 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>
|
---|
[0d7900a] | 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
|
---|
[47969a6] | 212 | <ulink url="http://localhost:8890/conductor/"/>. This is a full featured
|
---|
[0d7900a] | 213 | configuration site for <application>Virtuoso</application>. Login as
|
---|
| 214 | <systemitem class="username">dba</systemitem> with the predefined
|
---|
[47969a6] | 215 | password <literal>dba</literal>.</para>
|
---|
| 216 |
|
---|
| 217 | <warning>
|
---|
| 218 | <title>Change password</title>
|
---|
| 219 |
|
---|
[c4b0455] | 220 | <para>Remember to immediately change the password of user
|
---|
[47969a6] | 221 | <systemitem class="username">dba</systemitem> as well as of all other
|
---|
[0d7900a] | 222 | predefined users. Click on <literal>[System Admin]</literal> and
|
---|
[47969a6] | 223 | than on <literal>[User Accounts]</literal>.</para>
|
---|
| 224 |
|
---|
| 225 | </warning>
|
---|
| 226 | </sect3>
|
---|
[0d7900a] | 227 |
|
---|
[47969a6] | 228 | </sect2>
|
---|
[0d7900a] | 229 |
|
---|
[47969a6] | 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>
|
---|
[1a5108f1] | 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>
|
---|
[47969a6] | 261 | </seglistitem>
|
---|
| 262 | </segmentedlist>
|
---|
| 263 |
|
---|
| 264 | <variablelist>
|
---|
| 265 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 266 | <?dbfo list-presentation="list"?>
|
---|
| 267 | <?dbhtml list-presentation="table"?>
|
---|
[0d7900a] | 268 |
|
---|
[47969a6] | 269 | <varlistentry id="isql-v">
|
---|
| 270 | <term><command>isql-v</command></term>
|
---|
| 271 | <listitem>
|
---|
[55d9118] | 272 | <para>is an interactive SQL utility.</para>
|
---|
[47969a6] | 273 | <indexterm zone="virtuoso isql-v">
|
---|
| 274 | <primary sortas="b-isql-v">isql-v</primary>
|
---|
| 275 | </indexterm>
|
---|
| 276 | </listitem>
|
---|
| 277 | </varlistentry>
|
---|
[0d7900a] | 278 |
|
---|
[8a79b25f] | 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>
|
---|
[47969a6] | 288 |
|
---|
| 289 | </variablelist>
|
---|
| 290 |
|
---|
| 291 | </sect2>
|
---|
| 292 |
|
---|
| 293 | </sect1>
|
---|