<docbook><section><title>VirtuosoInstallMac</title><para> </para><title> Installing the Virtuoso Universal Server on Mac OS X </title> Installing the Virtuoso Universal Server on Mac OS X 
<bridgehead class="http://www.w3.org/1999/xhtml:h2"> 0 - Prepare to Install </bridgehead>
<para>If you are upgrading an existing Virtuoso installation and want to preserve your existing data and configuration files:</para><orderedlist spacing="compact"><listitem> Shut down your Virtuoso instance as normal. </listitem>
<listitem> Right-click on the existing <emphasis>Virtuoso.app</emphasis> (exact name may vary), and select <emphasis>Show Package Contents</emphasis>.
  </listitem>
<listitem> Drill down to <emphasis>Contents</emphasis> --&gt; <emphasis>virtuoso</emphasis> --&gt; <emphasis>database</emphasis>.
  </listitem>
<listitem> Check the size of the <emphasis>virtuoso.trx</emphasis> file, found in the <emphasis>database</emphasis> folder alongside the virtuoso.db and virtuoso.ini files. <itemizedlist mark="bullet" spacing="compact"><listitem> If zero bytes, proceed to step 6. </listitem>
<listitem> If larger than zero bytes, start the instance from the command line with the extra argument, &quot;<ulink url="http://docs.openlinksw.com/virtuoso/dbadm.html#COMMANDLINE">+checkpoint-only</ulink>&quot;, and recheck .trx file size -- expecting zero bytes. </listitem>
<listitem> If larger .trx files persist, <ulink url="http://support.openlinksw.com/support/online-support.vsp">contact Technical Support</ulink>. </listitem>
</itemizedlist></listitem>
<listitem> Make a backup of your existing Virtuoso Database and Configuration files (defaults are <emphasis>virtuoso.db</emphasis> and <emphasis>virtuoso.ini</emphasis>) prior to performing the steps that follow.
 You can simply Option-drag (to force a copy) your <emphasis>virtuoso.db</emphasis> and <emphasis>virtuoso.ini</emphasis> files to your Desktop, Documents folder, or other preferred location.
 <emphasis><emphasis>Note:</emphasis> Virtuoso&#39;s <ulink url="http://docs.openlinksw.com/virtuoso/backup.html#onlinebackups">online backup feature</ulink>, if enabled, should have already generated a backup-set.</emphasis></listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2"> 1 - Download and Install Virtuoso Binary </bridgehead>
<orderedlist spacing="compact"><listitem> Download the <ulink url="http://opldownload.s3.amazonaws.com/uda%2Fvirtuoso%2F7.2%2Funiversal-apple-macosx10.7-32%2Fmwvpz2zz.dmg">Virtuoso 7.2 installer archive (mwvpz2zz.dmg)</ulink> from the <ulink url="http://virtuoso.openlinksw.com/download/">download site</ulink>.
 <emphasis><emphasis>Note:</emphasis> Virtuoso 7.x requires OS X Lion (10.7) or later.</emphasis> </listitem>
<listitem> Open the <emphasis>mwvpz2zz.dmg</emphasis> file, and drag the <emphasis>Virtuoso 7.2.app</emphasis> into your <emphasis>Applications</emphasis> folder or other preferred location.
<ulink url="VirtuosoInstallMac/macosx_run_installer.jpg"><figure><graphic fileref="VirtuosoInstallMac/macosx_run_installer.jpg" /></figure></ulink> </listitem>
<listitem> Once the copy is complete, you can <emphasis>Eject</emphasis> the <emphasis>Virtuoso 7.2</emphasis> disk, and discard or retain the <emphasis>mwvpz2zz.dmg</emphasis> file as you prefer.</listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2"> 2 - Obtain a License File </bridgehead>
<orderedlist spacing="compact"><listitem> If you haven&#39;t already obtained a suitable Virtuoso 7.x license file, return to the  <ulink url="http://virtuoso.openlinksw.com/download/">download site</ulink>, and click the link for <emphasis>Free Eval License</emphasis> (15 day duration, requires only your email address) or <emphasis>Free Pilot License</emphasis> (30 day duration, requires some additional personal and business information).
<ulink url="VirtuosoInstallMac/macosx_obtain_license.jpg"><figure><graphic fileref="VirtuosoInstallMac/macosx_obtain_license.jpg" /></figure></ulink> </listitem>
<listitem> Fill out the relevant form, and download the license file when presented.
 <emphasis><emphasis>Note</emphasis> -- the file must be named <emphasis>virtuoso.lic</emphasis> for use.
 Some browsers may rename the file during download; you can simply rename the file on your Mac.</emphasis></listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2"> 3 - Start and Locate the Virtuoso Monitor </bridgehead>
<orderedlist spacing="compact"><listitem> Double-click the <emphasis>Virtuoso 7.2.app</emphasis> to trigger installation and startup of helper tools -- the <emphasis>Virtuoso Monitor</emphasis> and <emphasis>OpenLink License Manager</emphasis>. </listitem>
<listitem> Locate the <emphasis>Virtuoso Monitor</emphasis> in your menu bar -- it&#39;s the <emphasis>V</emphasis> icon toward the right.
<ulink url="VirtuosoInstallMac/macosx_locate_service.jpg"><figure><graphic fileref="VirtuosoInstallMac/macosx_locate_service.jpg" /></figure></ulink> </listitem>
<listitem> You may also choose to automatically <emphasis>Start Virtuoso Monitor at Login</emphasis>, or you may prefer to manually start it when needed (by double-clicking <emphasis>Virtuoso 7.2.app</emphasis>, as you just did).</listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2"> 4 - Apply your License File </bridgehead>
<orderedlist spacing="compact"><listitem> In the Finder&#39;s <emphasis>Go</emphasis> menu, select <emphasis>Go to Folder...</emphasis>, and input <programlisting>/Library/Application Support/OpenLink/Licenses
</programlisting></listitem>
<listitem> Drag the license file (virtuoso.lic) you downloaded above into this folder. <itemizedlist mark="bullet" spacing="compact"><listitem> You may receive a prompt, <emphasis>Modifying &quot;Licenses&quot; requires an administrator name and password.</emphasis>  If so, click the <emphasis>Authenticate</emphasis> button, and input a Mac OS X administrator&#39;s username and password.</listitem>
</itemizedlist></listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2"> 5 - Start and Administer your Virtuoso Instance </bridgehead>
<orderedlist spacing="compact"><listitem> Open the <emphasis>Virtuoso Monitor</emphasis> menu, and select <emphasis>Start Default Instance</emphasis>.
<ulink url="VirtuosoInstallMac/macosx_start_service.jpg"><figure><graphic fileref="VirtuosoInstallMac/macosx_start_service.jpg" /></figure></ulink> </listitem>
<listitem> Open the <emphasis>Virtuoso Conductor</emphasis>, Virtuoso&#39;s HTTP-based administration tool, by selecting <emphasis>Open Virtuoso Conductor</emphasis> from the Virtuoso Monitor menu, or by loading this URL in your Web Browser: <emphasis><ulink url="http://localhost:8890/conductor">http://localhost:8890/conductor</ulink></emphasis>. <ulink url="VirtuosoInstallMac/macosx_virt_admin.jpg"><figure><graphic fileref="VirtuosoInstallMac/macosx_virt_admin.jpg" /></figure></ulink> </listitem>
<listitem> Use the Conductor to configure your Virtuoso instance for future use.
 For example, it is <emphasis><emphasis>strongly</emphasis></emphasis> advised that you change the default passwords for the <emphasis>dba</emphasis> and <emphasis>dav</emphasis> super-user accounts (drill down to <emphasis>System Admin</emphasis> --&gt; <emphasis>User Accounts</emphasis>).</listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2"> 6 - Optional - Restore your old Data and Configuration Files </bridgehead>
<para>If you preserved existing data and configuration files at the start of this process, now is the time to bring them back into play.</para><itemizedlist mark="bullet" spacing="compact"><listitem> If you used Virtuoso&#39;s online backup feature, <ulink url="http://docs.openlinksw.com/virtuoso/backup.html#onlinebackups">the documentation</ulink> will walk you through the restoration process. </listitem>
<listitem> If you simply copied the INI and DB files elsewhere, and if they were Virtuoso 7.x files, you can just stop the current Virtuoso instance, and replace the newly created INI and DB with the old ones.
 For best results, we do advise that you compare the content of the old INI with the new, and add any new settings from the new to the old, adjust as may be appropriate to your deployment. </listitem>
<listitem> If you simply copied the INI and DB files elsewhere, and if they were Virtuoso 6.x or older files, there are <ulink url="UpgradingToVOS610">some extra steps that must be taken</ulink>.</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2"> See Also </bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem> <ulink url="VirtuosoInstallWin32">Installing the Virtuoso Universal Server on Windows</ulink></listitem>
</itemizedlist></section></docbook>