<?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=149.31.56.80</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=149.31.56.80"/>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/Special:Contributions/149.31.56.80"/>
		<updated>2026-06-23T06:58:27Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=3025</id>
		<title>Umlaut Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=3025"/>
				<updated>2009-07-08T18:11:19Z</updated>
		
		<summary type="html">&lt;p&gt;149.31.56.80: /* 5. Configure SFX API to be used */&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; (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>149.31.56.80</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=3024</id>
		<title>Umlaut Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=3024"/>
				<updated>2009-07-08T18:10:41Z</updated>
		
		<summary type="html">&lt;p&gt;149.31.56.80: /* 5. Configure SFX API to be used */&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; (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''' option and  '''Include availability info in structured XML format''' is 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>149.31.56.80</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=3023</id>
		<title>Umlaut Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=3023"/>
				<updated>2009-07-08T18:05:08Z</updated>
		
		<summary type="html">&lt;p&gt;149.31.56.80: /* 5. Configure SFX API to be used */&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; (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 unlaut 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''' option and  '''Include availability info in structured XML format''' is 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>149.31.56.80</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=3022</id>
		<title>Umlaut Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=3022"/>
				<updated>2009-07-08T17:58:12Z</updated>
		
		<summary type="html">&lt;p&gt;149.31.56.80: &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; (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;
this is a test&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>149.31.56.80</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=2796</id>
		<title>Umlaut Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=2796"/>
				<updated>2009-05-19T01:12:39Z</updated>
		
		<summary type="html">&lt;p&gt;149.31.56.80: /* 5. Install Umlaut's gem dependencies */&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; (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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn checkout http://umlaut.rubyforge.org/svn/trunk/  ./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/U2 ./Umlaut&lt;br /&gt;
&amp;lt;/pre&amp;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;
== 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>149.31.56.80</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=2794</id>
		<title>Umlaut Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=2794"/>
				<updated>2009-05-18T23:53:31Z</updated>
		
		<summary type="html">&lt;p&gt;149.31.56.80: /* redhat */&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; (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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn checkout http://umlaut.rubyforge.org/svn/trunk/  ./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/U2 ./Umlaut&lt;br /&gt;
&amp;lt;/pre&amp;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;
=== 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;
== 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>149.31.56.80</name></author>	</entry>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=2793</id>
		<title>Umlaut Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=Umlaut_Installation&amp;diff=2793"/>
				<updated>2009-05-18T23:52:46Z</updated>
		
		<summary type="html">&lt;p&gt;149.31.56.80: /* redhat */&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; (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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn checkout http://umlaut.rubyforge.org/svn/trunk/  ./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/U2 ./Umlaut&lt;br /&gt;
&amp;lt;/pre&amp;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;
=== 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 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;
on RedHat and CentOS machines, you will also need to have the mysql-devel package installed.&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;
== 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>149.31.56.80</name></author>	</entry>

	</feed>