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