{"id":358,"date":"2009-12-02T01:32:54","date_gmt":"2009-12-02T06:32:54","guid":{"rendered":"http:\/\/yourlinuxguy.com\/?p=358"},"modified":"2010-01-09T22:26:35","modified_gmt":"2010-01-10T03:26:35","slug":"how-do-i-set-up-ifolder3-8-on-opensuse11-1","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=358","title":{"rendered":"How do I set up iFolder 3.8 on Opensuse 11.1?"},"content":{"rendered":"<p><span style=\"color: #2f4f4f;\">(This article was updated for technical accuracy, and tested, 20100109.\u00a0 I&#8217;ve been chasing packages, across URLs, across the &#8216;Net&#8230; Ugh&#8230; )<\/span><\/p>\n<p>My previous iFolder-related cheat-sheets here on this blog have been reasonably popular\u00a0 (see the <a title=\"http:\/\/yourlinuxguy.com\/?cat=35\" href=\"http:\/\/yourlinuxguy.com\/?cat=35\" target=\"_blank\">ifolder3 category<\/a> for reference).\u00a0 I get quite a few comments and requests for various configuration alterations and such, but I cannot handle them all.\u00a0 In fact, since I wrote most of my previous articles on iFolder 3.6,\u00a0 I have had a small handful of readers asking me for iFolder 3.7 articles on various server platforms, but I just ran out of time in getting it together for posting the articles before iFolder 3.8 came out.\u00a0 Sorry.<\/p>\n<p>So here we are.\u00a0 And now I didn&#8217;t want to delay.\u00a0 Since iFolder 3.8 came out in the last week of November (about a week ago at this writing), I&#8217;m eager to get to it without much ado.\u00a0 So let&#8217;s jump right in&#8230;.<\/p>\n<h3>Preparation<\/h3>\n<p>For this quick-setup cheat-sheet, we&#8217;re going to install and configure iFolder 3.8.0 (32-bit) with a local user database (meaning no ldap, sorry) on an OpenSuse 11.1 server (32-bit) running Apache2 with SSL.\u00a0 Just to repeat, all the examples in this article are on a 32-bit install; it shouldn&#8217;t be that hard for you to guess at the 64-bit URLs and such if you need to.<\/p>\n<p>So let&#8217;s start with a clean, patched Opensuse 11.1 box (at the time of this writing, iFolder 3.8 server is only supported on Opensuse 11.1).\u00a0 Name resolution is paramount with iFolder, so make sure to edit and validate the hosts file, and be sure that the server&#8217;s short <em>and<\/em> long name (the one you intend to use to reach the iFolder service) are both there with the permanent static address.\u00a0 Here&#8217;s a fictitious example of a line in my <code>\/etc\/hosts<\/code>:<br \/>\n<code>290.32.2.14 test.yourLinuxGuy.com test<\/code><\/p>\n<h3>Section 1: Install and configure worker-mode apache2 with SSL<\/h3>\n<p>If this is a fresh install, make sure you install the worker-mode Apache2 (the docs recommend worker instead of pre-fork).\u00a0 If you already had Apache2 pre-fork, you may or may not want to remove it before continuing, it&#8217;s up to you.\u00a0 To install, do this:<br \/>\n<code>zypper in apache2-worker<\/code> (agree to the packages it requires)<\/p>\n<p>By default, openssl should already be on the machine;\u00a0 so let&#8217;s move right on to getting SSL configured.\u00a0 For a full explanation, you can either follow my earlier Apache2\/SSL post at: <a title=\"http:\/\/yourlinuxguy.com\/?p=55\" href=\"http:\/\/yourlinuxguy.com\/?p=55\" target=\"_blank\">http:\/\/yourlinuxguy.com\/?p=55<\/a>, or see the iFolder project SSL support doc &#8220;<a title=\"http:\/\/community.ifolder.com\/ssf\/s\/readFile\/folderEntry\/2764\/ff80808222bdb7d30122c6f96cfd2664\/1248878750000\/last\/ifolder_ssl.odt\" href=\"http:\/\/community.ifolder.com\/ssf\/s\/readFile\/folderEntry\/2764\/ff80808222bdb7d30122c6f96cfd2664\/1248878750000\/last\/ifolder_ssl.odt\" target=\"_blank\">ifolder_ssl.odt<\/a>&#8220;, available from the community site.<\/p>\n<p>Here, for the sake of brevity, I&#8217;ll spare you all that; and give you just the cut-and-dried example commands you need to get SSL up and running, without any real explanation (of course, change my certificate example values to suit you).\u00a0 If you follow these, you&#8217;ll have a working Apache2 with SSL before we move on to the iFolder part:<\/p>\n<pre><span style=\"font-size: xx-small;\"><code>\/usr\/bin\/gensslcert -c US -s MI -l \"Southfield\" -o \"Your Linux Guy Test\" -e jpavlov@yourLinuxGuy.com -d -n test.yourLinuxGuy.com<\/code>\r\n<code>vi \/etc\/sysconfig\/apache2<\/code> (Add SSL to the APACHE_SERVER_FLAGS section)\r\n<code>cd \/etc\/apache2\/vhosts.d\/<\/code>\r\n<code>cp vhost-ssl.template vhost-ssl.conf<\/code>\r\n<code>vi vhost-ssl.conf<\/code> (un-comment and change \u201c<code>ServerName<\/code>\u201d to match name in <code>\/etc\/hosts<\/code>, and optionally \u201c<code>ServerAdmin<\/code>\u201d to your email address)\r\n<code>rcapache2 stop\r\nrcapache2 start<\/code>\r\n<code>vi \/etc\/sysconfig\/SuSEfirewall2<\/code> (to open ports 80 and 443, set FW_SERVICES_EXT_TCP=\"80 443\")\r\n<code>rcSuSEfirewall2 restart<\/code><\/span><\/pre>\n<h3>Section 2: Get and install other support software<\/h3>\n<p><span style=\"color: #2f4f4f;\">(This section was re-vamped after the 2.4 mono stuff got moved all around in the places on which I was relying.\u00a0 In the previous version, I had you configuring a repository for Mono, but now we&#8217;re just going to install it all manually.<\/span>)<\/p>\n<p>The iFolder software needs a supporting cast, since Mono 2.4.x and Simias really do much of the behind-the-scenes work.\u00a0 So, let&#8217;s get all that installed.\u00a0 Here is one insanely long rpm command that will get all you need in one shot (except for log4net, which is below that) as long as the packages are still out there at the site.\u00a0 Please let me know if they aren&#8217;t&#8230;<\/p>\n<pre>rpm -Uvh http:\/\/ftp.novell.com\/pub\/mono\/archive\/2.4.3\/download\/openSUSE_11.1\/i586\/apache2-mod_mono-2.4.3-22.61.i586.rpm http:\/\/ftp.novell.com\/pub\/mono\/archive\/2.4.3\/download\/openSUSE_11.1\/i586\/mono-core-2.4.3-26.7.i586.rpm http:\/\/ftp.novell.com\/pub\/mono\/archive\/2.4.3\/download\/openSUSE_11.1\/i586\/mono-data-2.4.3-26.7.i586.rpm http:\/\/ftp.novell.com\/pub\/mono\/archive\/2.4.3\/download\/openSUSE_11.1\/i586\/mono-data-sqlite-2.4.3-26.7.i586.rpm http:\/\/ftp.novell.com\/pub\/mono\/archive\/2.4.3\/download\/openSUSE_11.1\/i586\/mono-web-2.4.3-26.7.i586.rpm http:\/\/ftp.novell.com\/pub\/mono\/archive\/2.4.3\/download\/openSUSE_11.1\/i586\/mono-winforms-2.4.3-26.7.i586.rpm http:\/\/ftp.novell.com\/pub\/mono\/archive\/2.4.3\/download\/openSUSE_11.1\/noarch\/xsp-2.4.3-22.27.noarch.rpm\r\nzypper in log4net<\/pre>\n<h3>Section 3: Get and install iFolder 3.8 server<\/h3>\n<p>Now it&#8217;s time to get the iFolder software installed, which is what we&#8217;re here for in the first place (please note that I fixed these URLs too, on 20100109):<\/p>\n<pre><span style=\"font-size: xx-small;\"><code>mkdir \/tmp\/ifolder3.8\r\ncd \/tmp\/ifolder3.8\r\nwget <\/code><\/span>http:\/\/downloads.sourceforge.net\/project\/ifolder\/iFolder%20Server%20Plugins\/3.8.0\/11.1\/novell-ifolder-enterprise-plugins-3.8.0.9328.1-3.1.i586.rpm?use_mirror=voxel\r\n<span style=\"font-size: xx-small;\"><code>wget <\/code><\/span>http:\/\/downloads.sourceforge.net\/project\/ifolder\/iFolder%20Server\/3.8.0\/11.1\/ifolder3-enterprise-3.8.0.9328.1-3.1.i586.rpm?use_mirror=voxel\r\n<span style=\"font-size: xx-small;\"><code>rpm -Uvh ifolder3-enterprise-3.8.0.9328.1-3.1.i586.rpm\r\nrpm -Uvh novell-ifolder-enterprise-plugins-3.8.0.9328.1-3.1.i586.rpm<\/code><\/span><\/pre>\n<h3>Section 4: Configure iFolder 3.8<\/h3>\n<p>At this point, everything is installed, but nothing really works.\u00a0 You&#8217;re almost there, but you need to configure everything.\u00a0 So, I&#8217;ve just posted the remaining configuration commands below, but linked the output in linked files to try to keep the clutter down in this post (too late!).<\/p>\n<p><code>\/usr\/bin\/simias-server-setup<\/code><br \/>\n(click here to see example <a href=\"http:\/\/yourlinuxguy.com\/wp-content\/uploads\/2009\/12\/simias-server-setup_output.wri\">simias-server-setup_output<\/a>)<\/p>\n<p><code>ifolder-admin-setup<\/code><br \/>\n(click here to see example <a href=\"http:\/\/yourlinuxguy.com\/wp-content\/uploads\/2009\/12\/ifolder-admin-setup_output.wri\">ifolder-admin-setup_output<\/a>)<\/p>\n<p><code>ifolder-web-setup<\/code><br \/>\n(click here to see example <a href=\"http:\/\/yourlinuxguy.com\/wp-content\/uploads\/2009\/12\/ifolder-web-setup_output.wri\">ifolder-web-setup_output<\/a>)<\/p>\n<p>Now, all that&#8217;s left is to restart Apache2 to actuate the changes:<br \/>\n<code>rcapache2 restart<\/code><\/p>\n<h3>Conclusion<\/h3>\n<p>Now you are done.\u00a0 Go to the admin site at:<br \/>\nhttps:\/\/&lt;servername&gt;\/admin<br \/>\n&#8230;and the general ifolder web site at:<br \/>\nhttps:\/\/&lt;servername&gt;\/ifolder<\/p>\n<p>I&#8217;ll leave it to you download the client and configure it.\u00a0 I hear it&#8217;s cosmetically pretty, but I haven&#8217;t seen it yet.  Why haven&#8217;t I seen it yet?  Because of this bonus tidbit:\u00a0 The iFolder 3.7.2 client seems to work with iFolder 3.8 server (at least it does so far!), so I haven&#8217;t fully migrated yet.  I&#8217;m sure there&#8217;ll be more on that later.\u00a0 However, the documentation seems to suggest that the opposite will not be the case.<\/p>\n<p>Whew!\u00a0 That was alot.\u00a0 I hope it helps.\u00a0 As always, drop me a line if you find anything wrong in here, or have something to contribute yourself.<\/p>\n<p>8)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>(This article was updated for technical accuracy, and tested, 20100109.\u00a0 I&#8217;ve been chasing packages, across URLs, across the &#8216;Net&#8230; Ugh&#8230; ) My previous iFolder-related cheat-sheets here on this blog have been reasonably popular\u00a0 (see the ifolder3 category for reference).\u00a0 I&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=358\">Read more<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12,44,35,58],"tags":[],"class_list":["post-358","post","type-post","status-publish","format-standard","hentry","category-advanced","category-apache","category-ifolder3","category-opensuse111"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-5M","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=358"}],"version-history":[{"count":18,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/358\/revisions"}],"predecessor-version":[{"id":370,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/358\/revisions\/370"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}