{"id":474,"date":"2012-05-16T15:08:31","date_gmt":"2012-05-16T20:08:31","guid":{"rendered":"http:\/\/dilettantes.code4lib.org\/blog\/?p=474"},"modified":"2012-05-16T15:08:31","modified_gmt":"2012-05-16T20:08:31","slug":"installing-yaz-yazpp-and-metaproxy-on-rhel-6-2","status":"publish","type":"post","link":"https:\/\/rossfsinger.me\/blog\/2012\/05\/installing-yaz-yazpp-and-metaproxy-on-rhel-6-2\/","title":{"rendered":"Installing yaz, yazpp and metaproxy on RHEL 6.2"},"content":{"rendered":"<p>Here the steps I just took to install metaproxy (which requires yaz and yaz++) on Red Hat Enterprise Linux 6.2.\u00c2\u00a0 The reason for this exercise is because Indexdata&#8217;s RPMs don&#8217;t work for 6.2 (the versions of boost-devel and icu-devel they require seem to only be available in 5.5).\u00c2\u00a0 Since I expect Indexdata to eventually release 6.2 compatible RPMs, I installed all of this into \/opt\/local (so it&#8217;s easy to remove &#8212; of course, if you&#8217;re already using \/opt\/local, you might want to try somewhere else).\u00c2\u00a0 Also, this assumes you&#8217;ll put a metaproxy.xml in \/opt\/local\/etc\/metaproxy\/, so keep that in mind.<\/p>\n<ol>\n<li>yum install boost boost-devel icu icu-devel libxml2 libxml2-devel gnutls gnutls-devel libxslt libxslt-devel gcc-c++ libtool<\/li>\n<li>Install yaz:\n<ol>\n<li>wget <a href=\"http:\/\/ftp.indexdata.dk\/pub\/yaz\/yaz-4.2.33.tar.gz\" rel=\"nofollow\">http:\/\/ftp.indexdata.dk\/pub\/yaz\/yaz-4.2.33.tar.gz<\/a><\/li>\n<li>tar -zxvf yaz-4.2.33.tar.gz<\/li>\n<li>cd yaz-4.2.33<\/li>\n<li>.\/configure &#8211;prefix=\/opt\/local<\/li>\n<li>make<\/li>\n<li>make install<\/li>\n<\/ol>\n<\/li>\n<li>Install yaz++\n<ol>\n<li>wget <a href=\"http:\/\/ftp.indexdata.dk\/pub\/yazpp\/yazpp-1.3.0.tar.gz\" rel=\"nofollow\">http:\/\/ftp.indexdata.dk\/pub\/yazpp\/yazpp-1.3.0.tar.gz<\/a><\/li>\n<li>tar -zxvf yazpp-1.3.0.tar.gz<\/li>\n<li>cd yazpp-1.3.0<\/li>\n<li>.\/configure &#8211;prefix=\/opt\/local\/ &#8211;with-yaz=\/opt\/local\/bin<\/li>\n<li>make<\/li>\n<li>make install<\/li>\n<\/ol>\n<\/li>\n<li>Install metaproxy\n<ol>\n<li>wget <a href=\"http:\/\/ftp.indexdata.dk\/pub\/metaproxy\/metaproxy-1.3.36.tar.gz\" rel=\"nofollow\">http:\/\/ftp.indexdata.dk\/pub\/metaproxy\/metaproxy-1.3.36.tar.gz<\/a><\/li>\n<li>tar -zxvf metaproxy-1.3.36.tar.gz<\/li>\n<li>cd metaproxy-1.3.36<\/li>\n<li>.\/configure &#8211;prefix=\/opt\/local &#8211;with-yazpp=\/opt\/local\/bin\/<\/li>\n<li>make<\/li>\n<li>make install<\/li>\n<\/ol>\n<\/li>\n<li>cd \/opt\/local<\/li>\n<li>mkdir etc; mkdir etc\/metaproxy; mkdir etc\/sysconfig<\/li>\n<li>Copy <a title=\"metaproxy init script\" href=\"https:\/\/gist.github.com\/c79aaf9967e44857b9f0\" target=\"_blank\">this gist<\/a> as \/etc\/rc.d\/init.d\/metaproxy<\/li>\n<li>chmod 744 \/etc\/rc.d\/init.d\/metaproxy<\/li>\n<li>Copy <a title=\"metaproxy sysconfig\" href=\"https:\/\/gist.github.com\/91edc479343dd8848f78\" target=\"_blank\">this gist<\/a> as \/opt\/local\/etc\/sysconfig\/metaproxy<\/li>\n<li>chkconfig &#8211;add \/etc\/rc.d\/init.d\/metaproxy<\/li>\n<li>\/etc\/init.d\/metaproxy start<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Here the steps I just took to install metaproxy (which requires yaz and yaz++) on Red Hat Enterprise Linux 6.2.\u00c2\u00a0 The reason for this exercise is because Indexdata&#8217;s RPMs don&#8217;t work for 6.2 (the versions of boost-devel and icu-devel they require seem to only be available in 5.5).\u00c2\u00a0 Since I expect Indexdata to eventually release [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,79],"tags":[],"class_list":["post-474","post","type-post","status-publish","format-standard","hentry","category-sru","category-systems-administration"],"_links":{"self":[{"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/posts\/474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/comments?post=474"}],"version-history":[{"count":5,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/posts\/474\/revisions"}],"predecessor-version":[{"id":479,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/posts\/474\/revisions\/479"}],"wp:attachment":[{"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/media?parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/categories?post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rossfsinger.me\/blog\/wp-json\/wp\/v2\/tags?post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}