<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.code4lib.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Navtis</id>
		<title>Code4Lib - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.code4lib.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Navtis"/>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/Special:Contributions/Navtis"/>
		<updated>2026-04-04T06:14:21Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Umlaut_Setup&amp;diff=4151</id>
		<title>Umlaut Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Umlaut_Setup&amp;diff=4151"/>
				<updated>2010-02-09T11:36:10Z</updated>
		
		<summary type="html">&lt;p&gt;Navtis: /* 7. Nightly maintenance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Umlaut]]&lt;br /&gt;
&lt;br /&gt;
= Umlaut First-Time Setup and Configuration =&lt;br /&gt;
&lt;br /&gt;
''In all these instructions '''$Umlaut''' in a path stands for the location you have installed Umlaut.&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 1. Create Local Config Directories ==&lt;br /&gt;
&lt;br /&gt;
To create directories for your local config, cd into your Umlaut directory, and run:&lt;br /&gt;
&lt;br /&gt;
./script/generate umlaut_local&lt;br /&gt;
&lt;br /&gt;
This will create several directories including the one we care about now:  $Umlaut/config/umlaut_config/&lt;br /&gt;
&lt;br /&gt;
Mysql by default has no password for the root user. If you have set a root password, you will need to add this to $Umlaut/config/database.yml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:'''Explanation''': In a normal Rails app, your local config goes in places like config/environment.rb and config/database.yml.  But Umlaut config/environment.rb has  Umlaut application fixed settings in it, mixing in your local settings would be confusing. Plus, that config directory is in the Umlaut overall SVN, you might want to SVN control your local config seperately.&lt;br /&gt;
&lt;br /&gt;
:Therefore we have an architecture to put all local config (and other local customization) in seperate local directories. The goal is that you should never have to edit any of the files that came with the Umlaut distribution to make local customizations, you should always be able to do this through local config. To learn more about this architecture, and how to put your local config in your own local svn, see [[Umlaut Local Configuration Architecture]].&lt;br /&gt;
&lt;br /&gt;
== 2. Configure your database connection information ==&lt;br /&gt;
&lt;br /&gt;
A typical Rails app uses three databases: a production db, a development db, and a test db. At a minimum you need a production db. A development db is probably also neccessary--Umlaut doesn't use tests right now (we are ashamed), so you don't really need a test db.&lt;br /&gt;
&lt;br /&gt;
In Umlaut (a little bit different than standard Rails), your local connection information for your dbs is stored in $Umlaut/config/umlaut_config/database.yml.   There should already be an example file there with some hints in it.&lt;br /&gt;
&lt;br /&gt;
We reccommend MySQL 5.x for use with Umlaut. ( SQLite3 won't work, unless you figure out a way to compile it with concurrency support). Create your databases in MySQL. We recommend making sure they are set to UTF8 char encoding. (eg, (CREATE DATABASE my_db_name DEFAULT CHARACTER SET utf8).   Don't create any tables in your databases yet, that will be done automatically. Do fill out your umlaut_config/database.yml file to point at the right place.&lt;br /&gt;
&lt;br /&gt;
For search functions (manually entered journal name or citation), Umlaut uses a direct db connection to your SFX instance. You should use the MySQL utility to create a new user in the SFX MySQL instance, which is granted only select permissions to the SFX databases.  Then, you can fill out your SFX direct to db connection information in config/umlaut_config/database.yml. &lt;br /&gt;
&lt;br /&gt;
If you can't do this, or don't want to do this now, talk to Jonathan, it may be possible to set up other functionality. Umlaut used to support a bulk export from SFX instead of a live db connection, but that functionality has atrophied. It can in theory be brought back if needed.&lt;br /&gt;
&lt;br /&gt;
== 3. Create your database tables ==&lt;br /&gt;
&lt;br /&gt;
Once your dbs are configured in database.yml, you can have Rails create all the neccesary tables for you by running (from the Umlaut directory):&lt;br /&gt;
&lt;br /&gt;
:rake db:schema:load&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That will create tables in your development database. To create them in your production database too:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:rake db:schema:load RAILS_ENV=production&lt;br /&gt;
&lt;br /&gt;
== 4.  Set up initial Umlaut data ==&lt;br /&gt;
&lt;br /&gt;
Now you've created your databases and tables, but there is some initial fixed data that need to be in those tables for Umlaut to work with. To add this to your database, cd into your $UMLAUT directory, and run:&lt;br /&gt;
&lt;br /&gt;
:rake umlaut:load_initial_data&lt;br /&gt;
&lt;br /&gt;
And again for production:&lt;br /&gt;
&lt;br /&gt;
:rake umlaut:load_initial_data RAILS_ENV=production&lt;br /&gt;
&lt;br /&gt;
== 5.  Set up your Institutions and Services ==&lt;br /&gt;
&lt;br /&gt;
What functions your Umlaut installation will have will depend on which services you configure. Services are configured in $Umlaut/config/umlaut_config/services.yml  .   An individual user connects with given services by association to Institutions. Each Institution has a collection of services, and an individual user is associated with one more institutions.&lt;br /&gt;
&lt;br /&gt;
To begin with, you could define just one default institution (that all users will be associated with) in institutions.yml, and give it a few services. To start out with, just configure an SFX service pointing to your SFX installation. Comment out the others. As you know a service is working, you can add in another.&lt;br /&gt;
&lt;br /&gt;
Note: The A-Z list and journal name lookup will only currently work if using the direct connection to the SFX database.&lt;br /&gt;
&lt;br /&gt;
== 6. Review additional local configuration ==&lt;br /&gt;
&lt;br /&gt;
There are several files in $Umlaut/config/umlaut_config/initializers/umlaut that contain additional local configuration parameters. A bunch of examples are provided for you, you'll have to un-comment the line and set a value if you want to locally configure a particular property. &lt;br /&gt;
&lt;br /&gt;
There are only a few that are really best set right away, all in umlaut_config/initializers/umlaut/umlaut_properties.rb&lt;br /&gt;
* You may want to set your local application name and a URL to an image for a 'link resolver button'. The button is mainly only used in Umlaut 'search' functionality (look up a manually typed in citation or journal name). &lt;br /&gt;
* You will definitely need to point AppConfig::Base.main_sfx_base_url to your SFX base URL. This is not used in general link resolver menu functions, but may be used in 'search' function to look up a manually typed in journal name or citation. It is also used on Umlaut's error page, to give the user an option of going to the native original SFX in an error condition. &lt;br /&gt;
* You may want to set AppConfig::Base.help_url , which is also used on error pages. &lt;br /&gt;
&lt;br /&gt;
There's really nothing else here you need to change to get Umlaut to work properly for you, but feel free to look around in the other files in initializers to see what sorts of things you can customize (an awful lot, sometimes by writing custom logic in ruby code to determine a particular Umlaut decision.)&lt;br /&gt;
&lt;br /&gt;
== 7. Nightly maintenance ==&lt;br /&gt;
&lt;br /&gt;
Some maintenance routines meant to be run nightly can be executed by cd'ing to your $Umlaut directory and running:&lt;br /&gt;
&lt;br /&gt;
:rake umlaut:nightly_maintenance RAILS_ENV=production&lt;br /&gt;
&lt;br /&gt;
To put that in a cron job, use this (with parens, where $Umlaut represents your umlaut install directory as usual):&lt;br /&gt;
&lt;br /&gt;
:( cd $Umlaut &amp;amp;&amp;amp; /usr/bin/rake umlaut:nightly_maintenance RAILS_ENV=production )&lt;br /&gt;
&lt;br /&gt;
Or leave  the RAILS_ENV=production off to perform maintainance on your dev database.&lt;br /&gt;
&lt;br /&gt;
If you don't put it in a cron job yet, you might want to run this manually from time to time, and probably once now to begin.&lt;br /&gt;
&lt;br /&gt;
== Next Steps? ==&lt;br /&gt;
&lt;br /&gt;
To try out Umlaut, cd into the $Umlaut directory and run &amp;quot;./script/server&amp;quot;  to launch the Rails app. (Be sure you've installed mongrel with 'sudo gem install mongrel', in which case Umlaut will be started with the mongrel environment. The default WEBrick environment will not work for Umlaut!). You'll then connect to Umlaut on &lt;br /&gt;
&lt;br /&gt;
 http://yourservername.tld:3000  &lt;br /&gt;
&lt;br /&gt;
The resolver base URL will be:  &lt;br /&gt;
&lt;br /&gt;
 http://yourservername.tld:3000/resolve?.&lt;br /&gt;
&lt;br /&gt;
The A-Z search interface will be: &lt;br /&gt;
&lt;br /&gt;
 http://yourservername.tld:3000/search&lt;br /&gt;
&lt;br /&gt;
 (should also work on straight http://yourservername.tld:3000/)&lt;br /&gt;
&lt;br /&gt;
This is a fine way to start it just for testing, but to deploy it for real see [[Umlaut Deployment]].&lt;br /&gt;
&lt;br /&gt;
You may also be interested in providing your own customized header, footer, or stylesheets. For this, and more localization, you'll find it helpful to see [[Umlaut Local Configuration Architecture]].&lt;/div&gt;</summary>
		<author><name>Navtis</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Umlaut_Setup&amp;diff=4109</id>
		<title>Umlaut Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Umlaut_Setup&amp;diff=4109"/>
				<updated>2010-02-08T16:45:52Z</updated>
		
		<summary type="html">&lt;p&gt;Navtis: /* 1. Create Local Config Directories */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Umlaut]]&lt;br /&gt;
&lt;br /&gt;
= Umlaut First-Time Setup and Configuration =&lt;br /&gt;
&lt;br /&gt;
''In all these instructions '''$Umlaut''' in a path stands for the location you have installed Umlaut.&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 1. Create Local Config Directories ==&lt;br /&gt;
&lt;br /&gt;
To create directories for your local config, cd into your Umlaut directory, and run:&lt;br /&gt;
&lt;br /&gt;
./script/generate umlaut_local&lt;br /&gt;
&lt;br /&gt;
This will create several directories including the one we care about now:  $Umlaut/config/umlaut_config/&lt;br /&gt;
&lt;br /&gt;
Mysql by default has no password for the root user. If you have set a root password, you will need to add this to $Umlaut/config/database.yml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:'''Explanation''': In a normal Rails app, your local config goes in places like config/environment.rb and config/database.yml.  But Umlaut config/environment.rb has  Umlaut application fixed settings in it, mixing in your local settings would be confusing. Plus, that config directory is in the Umlaut overall SVN, you might want to SVN control your local config seperately.&lt;br /&gt;
&lt;br /&gt;
:Therefore we have an architecture to put all local config (and other local customization) in seperate local directories. The goal is that you should never have to edit any of the files that came with the Umlaut distribution to make local customizations, you should always be able to do this through local config. To learn more about this architecture, and how to put your local config in your own local svn, see [[Umlaut Local Configuration Architecture]].&lt;br /&gt;
&lt;br /&gt;
== 2. Configure your database connection information ==&lt;br /&gt;
&lt;br /&gt;
A typical Rails app uses three databases: a production db, a development db, and a test db. At a minimum you need a production db. A development db is probably also neccessary--Umlaut doesn't use tests right now (we are ashamed), so you don't really need a test db.&lt;br /&gt;
&lt;br /&gt;
In Umlaut (a little bit different than standard Rails), your local connection information for your dbs is stored in $Umlaut/config/umlaut_config/database.yml.   There should already be an example file there with some hints in it.&lt;br /&gt;
&lt;br /&gt;
We reccommend MySQL 5.x for use with Umlaut. ( SQLite3 won't work, unless you figure out a way to compile it with concurrency support). Create your databases in MySQL. We recommend making sure they are set to UTF8 char encoding. (eg, (CREATE DATABASE my_db_name DEFAULT CHARACTER SET utf8).   Don't create any tables in your databases yet, that will be done automatically. Do fill out your umlaut_config/database.yml file to point at the right place.&lt;br /&gt;
&lt;br /&gt;
For search functions (manually entered journal name or citation), Umlaut uses a direct db connection to your SFX instance. You should use the MySQL utility to create a new user in the SFX MySQL instance, which is granted only select permissions to the SFX databases.  Then, you can fill out your SFX direct to db connection information in config/umlaut_config/database.yml. &lt;br /&gt;
&lt;br /&gt;
If you can't do this, or don't want to do this now, talk to Jonathan, it may be possible to set up other functionality. Umlaut used to support a bulk export from SFX instead of a live db connection, but that functionality has atrophied. It can in theory be brought back if needed.&lt;br /&gt;
&lt;br /&gt;
== 3. Create your database tables ==&lt;br /&gt;
&lt;br /&gt;
Once your dbs are configured in database.yml, you can have Rails create all the neccesary tables for you by running (from the Umlaut directory):&lt;br /&gt;
&lt;br /&gt;
:rake db:schema:load&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That will create tables in your development database. To create them in your production database too:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:rake db:schema:load RAILS_ENV=production&lt;br /&gt;
&lt;br /&gt;
== 4.  Set up initial Umlaut data ==&lt;br /&gt;
&lt;br /&gt;
Now you've created your databases and tables, but there is some initial fixed data that need to be in those tables for Umlaut to work with. To add this to your database, cd into your $UMLAUT directory, and run:&lt;br /&gt;
&lt;br /&gt;
:rake umlaut:load_initial_data&lt;br /&gt;
&lt;br /&gt;
And again for production:&lt;br /&gt;
&lt;br /&gt;
:rake umlaut:load_initial_data RAILS_ENV=production&lt;br /&gt;
&lt;br /&gt;
== 5.  Set up your Institutions and Services ==&lt;br /&gt;
&lt;br /&gt;
What functions your Umlaut installation will have will depend on which services you configure. Services are configured in $Umlaut/config/umlaut_config/services.yml  .   An individual user connects with given services by association to Institutions. Each Institution has a collection of services, and an individual user is associated with one more institutions.&lt;br /&gt;
&lt;br /&gt;
To begin with, you could define just one default institution (that all users will be associated with) in institutions.yml, and give it a few services. To start out with, just configure an SFX service pointing to your SFX installation. Comment out the others. As you know a service is working, you can add in another.&lt;br /&gt;
&lt;br /&gt;
Note: The A-Z list and journal name lookup will only currently work if using the direct connection to the SFX database.&lt;br /&gt;
&lt;br /&gt;
== 6. Review additional local configuration ==&lt;br /&gt;
&lt;br /&gt;
There are several files in $Umlaut/config/umlaut_config/initializers/umlaut that contain additional local configuration parameters. A bunch of examples are provided for you, you'll have to un-comment the line and set a value if you want to locally configure a particular property. &lt;br /&gt;
&lt;br /&gt;
There are only a few that are really best set right away, all in umlaut_config/initializers/umlaut/umlaut_properties.rb&lt;br /&gt;
* You may want to set your local application name and a URL to an image for a 'link resolver button'. The button is mainly only used in Umlaut 'search' functionality (look up a manually typed in citation or journal name). &lt;br /&gt;
* You will definitely need to point AppConfig::Base.main_sfx_base_url to your SFX base URL. This is not used in general link resolver menu functions, but may be used in 'search' function to look up a manually typed in journal name or citation. It is also used on Umlaut's error page, to give the user an option of going to the native original SFX in an error condition. &lt;br /&gt;
* You may want to set AppConfig::Base.help_url , which is also used on error pages. &lt;br /&gt;
&lt;br /&gt;
There's really nothing else here you need to change to get Umlaut to work properly for you, but feel free to look around in the other files in initializers to see what sorts of things you can customize (an awful lot, sometimes by writing custom logic in ruby code to determine a particular Umlaut decision.)&lt;br /&gt;
&lt;br /&gt;
== 7. Nightly maintenance ==&lt;br /&gt;
&lt;br /&gt;
Some maintenance routines meant to be run nightly can be executed by cd'ing to your $Umlaut directory and running:&lt;br /&gt;
&lt;br /&gt;
:rake umlaut:nightly_maintenance (RAILS_ENV=production)&lt;br /&gt;
&lt;br /&gt;
To put that in a cron job, use this (with parens, where $Umlaut represents your umlaut install directory as usual):&lt;br /&gt;
&lt;br /&gt;
:( cd $Umlaut &amp;amp;&amp;amp; /usr/bin/rake umlaut:nightly_maintenance RAILS_ENV=production )&lt;br /&gt;
&lt;br /&gt;
Or leave  the RAILS_ENV=production off to perform maintainance on your dev database.&lt;br /&gt;
&lt;br /&gt;
If you don't put it in a cron job yet, you might want to run this manually from time to time, and probably once now to begin.&lt;br /&gt;
&lt;br /&gt;
== Next Steps? ==&lt;br /&gt;
&lt;br /&gt;
To try out Umlaut, cd into the $Umlaut directory and run &amp;quot;./script/server&amp;quot;  to launch the Rails app. (Be sure you've installed mongrel with 'sudo gem install mongrel', in which case Umlaut will be started with the mongrel environment. The default WEBrick environment will not work for Umlaut!). You'll then connect to Umlaut on &lt;br /&gt;
&lt;br /&gt;
 http://yourservername.tld:3000  &lt;br /&gt;
&lt;br /&gt;
The resolver base URL will be:  &lt;br /&gt;
&lt;br /&gt;
 http://yourservername.tld:3000/resolve?.&lt;br /&gt;
&lt;br /&gt;
The A-Z search interface will be: &lt;br /&gt;
&lt;br /&gt;
 http://yourservername.tld:3000/search&lt;br /&gt;
&lt;br /&gt;
 (should also work on straight http://yourservername.tld:3000/)&lt;br /&gt;
&lt;br /&gt;
This is a fine way to start it just for testing, but to deploy it for real see [[Umlaut Deployment]].&lt;br /&gt;
&lt;br /&gt;
You may also be interested in providing your own customized header, footer, or stylesheets. For this, and more localization, you'll find it helpful to see [[Umlaut Local Configuration Architecture]].&lt;/div&gt;</summary>
		<author><name>Navtis</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=4107</id>
		<title>Umlaut Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=4107"/>
				<updated>2010-02-08T15:55:37Z</updated>
		
		<summary type="html">&lt;p&gt;Navtis: marc requirement&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Umlaut]]&lt;br /&gt;
&lt;br /&gt;
To install Umlaut&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 1. Make sure you have a modern Ruby ==&lt;br /&gt;
&lt;br /&gt;
Install a 1.8.x version of ruby, ruby 1.9 is still considered experimental. The Rails web page says &amp;quot;We recommend Ruby 1.8.7 for use with Rails. Ruby 1.8.6, 1.8.5, 1.8.4 and 1.8.2 are still usable too, but version 1.8.3 is not.&amp;quot;&lt;br /&gt;
The ''marc'' gem (referred to below) needs Ruby 1.8.6 or greater to install. (http://rubyonrails.org/download)   Try installing Ruby with your package manager of choice. If not, try installing from source, eg&lt;br /&gt;
&lt;br /&gt;
# [Download 1.8.4&amp;gt;http://rubyforge.org/frs/download.php/7858/ruby-1.8.7.tar.gz]&lt;br /&gt;
# tar -zxvf ruby-1.8.7.tar.gz&lt;br /&gt;
# cd ruby-1.8.7&lt;br /&gt;
# sudo ./configure&lt;br /&gt;
# sudo make&lt;br /&gt;
# sudo make install&lt;br /&gt;
&lt;br /&gt;
( jrochkind is currently running ruby 1.8.6 as of Dec 08 )&lt;br /&gt;
&lt;br /&gt;
== 2. Install RubyGems ==&lt;br /&gt;
&lt;br /&gt;
Again, your package manager may be able to supply this (for example &amp;quot;yum install rubygems), but if not, you could again install from source:&lt;br /&gt;
&lt;br /&gt;
# [Download here&amp;gt;http://rubyforge.org/frs/?group_id=126]&lt;br /&gt;
# tar -zxvf rubygems-x.x.x.tar.gz&lt;br /&gt;
# cd rubygems-x.x.x&lt;br /&gt;
# sudo ruby setup.rb&lt;br /&gt;
( actually don't do this, to be safe # sudo gem update) (I don't know what this means, jrochkind 14 May 09!)&lt;br /&gt;
&lt;br /&gt;
== 3. Install Rails ==&lt;br /&gt;
&lt;br /&gt;
Umlaut requires Rails 2.1.2, and is bound to it in the default environment.rb. It has not been verified for Rails 2.2.x yet. So install the 2.1.2 version of Rails (you can have multiple versions of Rails installed simulataneously, don't worry about this overwriting a more recent version of Rails you may want--it won't.)&lt;br /&gt;
&lt;br /&gt;
&amp;quot;sudo gem install rails -v 2.1.2&amp;quot;  (say yes to any dependencies)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': There are various guides available on the net to getting Ruby/Rubygems/Rails installed on various OSs. Consult if you have trouble.&lt;br /&gt;
&lt;br /&gt;
== 4. Install Umlaut ==&lt;br /&gt;
&lt;br /&gt;
Right now, the best (only) way to install Umlaut is from it's SVN store.&lt;br /&gt;
&lt;br /&gt;
For a read-only checkout of Umlaut 2.10.0 (If there is a more recent version, hopefully I'll remember to update it here, or ask me, or look around in the svn repo. 1 July 09):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn checkout http://umlaut.rubyforge.org/svn/tags/2.10.0  ./Umlaut&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or instead of &amp;quot;./Umlaut&amp;quot;, whatever local path you want to put the thing in.&lt;br /&gt;
&lt;br /&gt;
For a checkout with commit privs, you need a rubyforge account and to be added to the umlaut project, then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn checkout svn+ssh://(developername)@rubyforge.org/var/svn/umlaut/tags/2.10.0 ./Umlaut&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are a developer who wants the latest in-progress version of umlaut, check out /trunk instead of /tags/2.10.0. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Umlaut comes with a number of Ruby gems and Rails plugins &amp;quot;frozen&amp;quot; into it's distribution, in vendor/plugins.  You do not need to install these, they come with Umlaut. These include: json_pure ; sru; xisbn;  enumerations_mixin (plugin) ; app_config (plugin); isbn-tools (plugin) ; openurl ( svn external link in plugin; needs to be fixed to link to a specific tag ); htmlentities (http://htmlentities.rubyforge.org/)&lt;br /&gt;
&lt;br /&gt;
However, there are a few plugins that can not be conveniently packaged with Umlaut, you need to install them yourself...&lt;br /&gt;
&lt;br /&gt;
== 5. Install Umlaut's gem dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== mongrel === &lt;br /&gt;
&lt;br /&gt;
(Umlaut will not run with WEBrick due to threading issues. Recommend installing mongrel for testing and deployment. mongrel 1.1.4 or later is highly reccommended. )&lt;br /&gt;
&lt;br /&gt;
sudo gem install mongrel&lt;br /&gt;
&lt;br /&gt;
=== hpricot ===&lt;br /&gt;
&lt;br /&gt;
(hpricot is compiled C code, so you are best off installing it yourself. Right now hpricot 0.6 is tested and confirmed. )&lt;br /&gt;
&lt;br /&gt;
sudo gem install hpricot -v 0.6&lt;br /&gt;
&lt;br /&gt;
=== json ===&lt;br /&gt;
&lt;br /&gt;
A pure-ruby json library is bundled with Umlaut automatically, but you really ought to install the compiled C one on your server instead, for much better performance. Umlaut will automatically use it if present. Currently verified with version 1.1.3&lt;br /&gt;
&lt;br /&gt;
sudo gem install json -v 1.1.3&lt;br /&gt;
&lt;br /&gt;
=== marc ===&lt;br /&gt;
&lt;br /&gt;
A rubygem necessary for the generate script. 	Provides a ruby library for processing Machine Readable Cataloging (MARC) bibliographic data.&lt;br /&gt;
&lt;br /&gt;
sudo gem install marc&lt;br /&gt;
&lt;br /&gt;
=== mysql ===&lt;br /&gt;
&lt;br /&gt;
MySQL is the reccomended db, and the only db currently verified to work. Umlaut won't usually run with SQLite3 due to threading issues.&lt;br /&gt;
&lt;br /&gt;
Rails is supposed to be able to talk to mysql without the mysql gem installed (just less efficiently), but for some reason Umlaut seems to have trouble with this. Not sure, you can try it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo gem install msyql&lt;br /&gt;
&lt;br /&gt;
Except some additional configuration arguments may be neccesary to compile on your machine. &lt;br /&gt;
&lt;br /&gt;
===== redhat =====&lt;br /&gt;
&lt;br /&gt;
On RedHat and CentOS machines, you will need to have the mysql-devel packages installed.&lt;br /&gt;
&lt;br /&gt;
On a RedHat machine, this works:&lt;br /&gt;
&lt;br /&gt;
 sudo gem install mysql -- --with-mysql-config=/usr/lib/mysql/mysql_config&lt;br /&gt;
&lt;br /&gt;
===== ubuntu =====&lt;br /&gt;
&lt;br /&gt;
On Ubuntu you will also need to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libmysqlclient15-dev&lt;br /&gt;
&lt;br /&gt;
Then you can:&lt;br /&gt;
&lt;br /&gt;
 sudo gem install mysql&lt;br /&gt;
&lt;br /&gt;
Ubuntu also packages the mysql library, if you'd rather use that version you can try:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libmysql-ruby&lt;br /&gt;
&lt;br /&gt;
===== Solaris 10 (sparc) ===== &lt;br /&gt;
&lt;br /&gt;
This has been reported to work on Solaris 10 (sparc)&lt;br /&gt;
&lt;br /&gt;
 gem install mysql -- --with-mysql-include=/opt/pkgs/mysql/include/ &lt;br /&gt;
 \ --with-mysql-lib=/opt/pkgs/mysql/lib&lt;br /&gt;
&lt;br /&gt;
=== More optional gems ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Voyager sites that want to bypass z39.50 and access Oracle directly will need Oracle Instant Client or Full Client installed on the same machine as the Umlaut. (This native Voyager code is not currently verified as working.) [http://www.jiubao.org/ruby-oci8 Oracle OCI8] [http://www.oracle.com/technology/tech/oci/instantclient/index.html Oracle Instant Client]&lt;br /&gt;
&lt;br /&gt;
== 5. Configure SFX API to be used ==&lt;br /&gt;
&lt;br /&gt;
On the SFX server that umlaut will be using as a datasource, make sure that the sfx api is turned on in the web-based admin tool (http://sfx.xxx.xxx.edu/sfxadmin/instance-name). This option can be found under the '''SFX API''' in the Menu Configuration Tool.  Make sure that the '''Include availability info in text format''' and  '''Include availability info in structured XML format''' options are checked.  Once these options have been checked, the sfx web server instance needs to be restarted.&lt;br /&gt;
&lt;br /&gt;
== Now You Need to Setup Umlaut ==&lt;br /&gt;
&lt;br /&gt;
Good job, you've got all software installed, now you need to do some setup. See [[Umlaut Setup]].&lt;/div&gt;</summary>
		<author><name>Navtis</name></author>	</entry>

	</feed>