{"id":916,"date":"2012-03-19T01:20:55","date_gmt":"2012-03-19T06:20:55","guid":{"rendered":"http:\/\/yourLinuxGuy.com\/?p=916"},"modified":"2013-03-24T17:34:39","modified_gmt":"2013-03-24T22:34:39","slug":"ifolder-3-8-on-opensuse-12-1-or-11-4","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=916","title":{"rendered":"iFolder 3.8 on Opensuse 12.1 (or 11.4), Part 1"},"content":{"rendered":"<p>It looks like some people are working very hard out there to try and preserve iFolder for future versions of Opensuse.\u00a0 To those people (the <a title=\"http:\/\/www.nofolder.com\/\" href=\"http:\/\/www.nofolder.com\/\" target=\"_blank\">NoFolder<\/a> crew, <a title=\"http:\/\/comments.gmane.org\/gmane.comp.file-systems.ifolder.devel\/1733\" href=\"http:\/\/comments.gmane.org\/gmane.comp.file-systems.ifolder.devel\/1733\" target=\"_blank\">Ravi Kumar<\/a>, etc.), I&#8217;m indebted; I simply would be at a loss without iFolder.\u00a0 Yes, I use DropBox, and a couple other things, but there&#8217;s just nothing like <a title=\"http:\/\/ifolder.com\/\" href=\"http:\/\/ifolder.com\/\" target=\"_blank\">iFolder<\/a> for complete control over the server and the sync&#8217;d content.<\/p>\n<p>But the sad fact is, it has suffered a bit of neglect as of late.\u00a0 Okay, a LOT of neglect.\u00a0 And you&#8217;re probably here because you have an Opensuse 12.1 (or 11.4) server, and you tried to install iFolder 3.8.x on it, and had some trouble.<\/p>\n<p>Notes: <em>I strongly recommend you see my old post about setting up iFolder 3.8 on Opensuse 11.1 for background and additional detail, as this post will be brief and to-the-point without much supporting detail.\u00a0 All the work in this doc was performed on the x86_64 version of Opensuse, and was tested on both 12.1 and 11.4.<\/em><\/p>\n<p>First, build up an Opensuse 12.1 box.\u00a0 I tend to build them with &#8220;Minimum X Window&#8221;, &#8220;IPv6 Disabled&#8221;, &#8220;SSH enabled&#8221;, and a dedicated partition for iFolder database and content (like \/ifolder); other then that, fairly typical.\u00a0 And I never install patches during installation.\u00a0 So updates are the first thing we do after completion:<\/p>\n<pre>zypper ref; zypper up<\/pre>\n<p>So first, decide on a single name that you will use for the server for the host configuration, certificate creation, Apache2 configuration, and iFolder service configuration; it is imperative that you use one name!\u00a0 For the following examples, I use &#8220;<code>ifolder.yourLinuxGuy.com<\/code>&#8220;.\u00a0 Let&#8217;s configure that critical name and static address:<\/p>\n<pre>yast lan<\/pre>\n<pre>vi \/etc\/hosts<\/pre>\n<p>Now, let&#8217;s install all the supporting software we need (of course <code>findutils<\/code> isn&#8217;t needed for iFolder, but I can&#8217;t live without it; but <code>mono-wcf<\/code> is the one most people seem to miss):<\/p>\n<pre>zypper in apache2-worker findutils-locate apache2-mod_mono log4net mono-core mono-data mono-data-sqlite mono-web mono-winforms mono-wcf xsp libflaim<\/pre>\n<p>Next we configure apache2 and related components, starting by generating a certificate (obviously, replace the values to suit):<\/p>\n<pre>\/usr\/bin\/gensslcert -c US -s MI -l \"City\" -o \"Your Linux Guy\" -e email@yourLinuxGuy.com -d -n ifolder.YourLinuxGuy.com<\/pre>\n<p>Add SSL to the APACHE_SERVER_FLAGS section:<\/p>\n<pre>vi \/etc\/sysconfig\/apache2<\/pre>\n<p>Un-comment and change \u201cServerName\u201d to match the name you put in \/etc\/hosts, and optionally set \u201cServerAdmin\u201d to your email address:<\/p>\n<pre>cd \/etc\/apache2\/vhosts.d\/; cp vhost-ssl.template vhost-ssl.conf; vi vhost-ssl.conf<\/pre>\n<p>Now to open ports 80 and 443, set <code>FW_SERVICES_EXT_TCP=\"80 443\"<\/code>:<\/p>\n<pre>vi \/etc\/sysconfig\/SuSEfirewall2<\/pre>\n<p>Next, we install the stars of the show, the iFolder packages:<\/p>\n<pre>rpm -Uvh http:\/\/download.opensuse.org\/repositories\/home:\/rkumar1:\/branches:\/network:\/ifolder:\/server_stable\/openSUSE_11.4\/x86_64\/ifolder3-enterprise-3.8.4.0.11091.1-6.2.x86_64.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/repositories\/home:\/rkumar1:\/branches:\/network:\/ifolder:\/server_stable\/openSUSE_11.4\/x86_64\/novell-ifolder-enterprise-plugins-3.8.4.10192.1-6.3.x86_64.rpm<\/pre>\n<p><span style=\"color: #ff0000;\">Update<\/span>: Reader Mike informs me that these links above are no longer in service. In the interim, here&#8217;s an alternate download location:<\/p>\n<pre>rpm -Uvh http:\/\/yourlinuxguy.com\/wp-content\/uploads\/2012\/03\/ifolder3-enterprise-3.8.4.0.11091.1-6.2.x86_64.rpm\r\nrpm -Uvh http:\/\/yourlinuxguy.com\/wp-content\/uploads\/2012\/03\/novell-ifolder-enterprise-plugins-3.8.4.10192.1-6.3.x86_64.rpm<\/pre>\n<p>And run all 3 configuration scripts (remember, see my <a title=\"http:\/\/yourlinuxguy.com\/?p=358\" href=\"http:\/\/yourlinuxguy.com\/?p=358\" target=\"_blank\">older post<\/a> for reference and detail, and please note I use an alternative simias datastore location of <code>\/ifolder<\/code>):<\/p>\n<pre>simias-server-setup\r\nifolder-admin-setup\r\nifolder-web-setup<\/pre>\n<p>A note about the next step: If you just stopped here, you&#8217;d be able to pull up the \/admin page, but not log in; you&#8217;d get a red message saying that your password doesn&#8217;t match or whatever.\u00a0 I see this error quite commonly out there&#8230;\u00a0 So let&#8217;s change the FlaimWrapper softlink pointer to an existing location:<\/p>\n<pre>rm \/usr\/lib64\/simias\/web\/bin\/FlaimWrapper.so\r\nln -s \/usr\/lib64\/libFlaimWrapper.so.0 \/usr\/lib64\/simias\/web\/bin\/FlaimWrapper.so<\/pre>\n<p>Let&#8217;s make sure Apache2 comes up at each boot:<\/p>\n<pre>chkconfig apache2 on<\/pre>\n<p>And lastly, restart stuff:<\/p>\n<pre>rcSuSEfirewall2 restart;rcapache2 stop; rcapache2 start<\/pre>\n<p>And that should do it!\u00a0 Log in at \/admin, configure some users, etc., etc., etc.\u00a0 I&#8217;m guessing you are here because you know already how to *use* iFolder, just got stuck installing and configuring it, so I&#8217;ll not go into any usage detail.<\/p>\n<p>By the way, the NoFolder.com page has some good troubleshooting tips, but if you follow these steps accurately, and you use the SAME hostname throughout the configuration, you should be fine.<\/p>\n<p>See, it&#8217;s not that bad.\u00a0 And it&#8217;s totally worth it.\u00a0 Enjoy!<br \/>\n\ud83d\ude09<\/p>\n<p><span style=\"color: #ff0000;\">Update, 20130324<\/span>: Please see <a title=\"http:\/\/yourlinuxguy.com\/?p=981\" href=\"http:\/\/yourlinuxguy.com\/?p=981\" target=\"_blank\">PART 2<\/a> of this post and story, after reading through the comments below to see how we arrived there&#8230;.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It looks like some people are working very hard out there to try and preserve iFolder for future versions of Opensuse.\u00a0 To those people (the NoFolder crew, Ravi Kumar, etc.), I&#8217;m indebted; I simply would be at a loss without&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=916\">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":[35,11,106,111],"tags":[120,118,119,150,116,121,122,117,123],"class_list":["post-916","post","type-post","status-publish","format-standard","hentry","category-ifolder3","category-intermediate","category-opensuse11-4","category-opensuse12-1","tag-11-4","tag-12-1","tag-12-2","tag-ifolder","tag-ifolder-3-8","tag-log4net","tag-mono","tag-opensuse","tag-xsp"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-eM","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/916","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=916"}],"version-history":[{"count":8,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/916\/revisions"}],"predecessor-version":[{"id":918,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/916\/revisions\/918"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}