{"id":48,"date":"2008-05-02T09:10:42","date_gmt":"2008-05-02T14:10:42","guid":{"rendered":"http:\/\/yourlinuxguy.com\/?p=48"},"modified":"2010-09-22T14:13:43","modified_gmt":"2010-09-22T19:13:43","slug":"how-do-i-set-up-ifolder36-on-opensuse103","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=48","title":{"rendered":"How do I set up iFolder3.6 on Opensuse10.3?"},"content":{"rendered":"<p>Here is my version of a &#8220;cheat-sheet&#8221; for installing iFolder3.6 on Opensuse10.3. This cheat-sheet kinda&#8217; leaves you out on your own once you get to the part about running the configuration script (see below), but I don&#8217;t want to over-do it here and try to help you with every option you could possibly choose. Other than that, I pretty much cover all the needed setups and caveats&#8230; I hope&#8230; Good luck!<\/p>\n<p>First, install Opensuse10.3, mostly with the defaults. I noticed that when installing Opensuse10.3, if you chose to do a Gnome-based system, then you&#8217;ll already have the <code><span style=\"font-size: x-small;\">mono-core<\/span><\/code> and some other needed <code><span style=\"font-size: x-small;\">mono<\/span><\/code> modules, so I&#8217;m recommending you do that here for simplicity. Also, you might want to be mindful of partitioning (beyond your usual method or the defaults), and perhaps allow for a special iFolder data store. No need to set up ownership or permissions for the special store, as the configuration script will handle that later.<\/p>\n<p>Host naming is pretty critical with iFolder. You need to plan for what name the iFolder server will be known by, both inside and outside of your internal network. Make sure the server and clients are able to resolve this\/these name(s)!<\/p>\n<p>Now, install some other pre-req&#8217;s for ifolder:<br \/>\n<code><span style=\"font-size: x-small;\">yast -i apache2<\/span><\/code><br \/>\n(&#8230;you may want to set <code><span style=\"font-size: x-small;\">chkconfig apache2 on<\/span><\/code>)<br \/>\n<code><span style=\"font-size: x-small;\">yast -i mod_mono<\/span><\/code><\/p>\n<p>&#8230;and any other packages necessary (like <code><span style=\"font-size: x-small;\">mono-core<\/span><\/code>, if needed) to satisfy the requirements for the following packages, especially if you did a restricted\/limited install&#8230;<\/p>\n<p>Now get and install <span style=\"text-decoration: line-through;\">the main ifolder packages<\/span> (sorry, original link deprecated and retired), (thanks, <a title=\".\/martijn\" href=\"http:\/\/xbsd.nl\/2007\/10\/ifolder-36-opensuse-build-services.html\">martijn<\/a>!) in order:<br \/>\n<code><span style=\"font-size: x-small;\">rpm -Uvh log4net-1.2.9-70.1.noarch.rpm<br \/>\nrpm -Uvh libflaim-4.9.1046-17.1.i586.rpm<br \/>\nrpm -Uvh libflaim-devel-4.9.1046-17.1.i586.rpm<br \/>\nrpm -Uvh simias-svn-1.6.7303.1dl9pf-7.2.i586.rpm<br \/>\nrpm -Uvh ifolder3-server-svn-3.6.7318.1dl9pf-2.1.i586.rpm<\/span><\/code><\/p>\n<p>Run <code><span style=\"font-size: x-small;\">\/usr\/bin\/simias-server-setup<\/span><\/code> (as instructed by the <code><span style=\"font-size: x-small;\">ifolder3-server<\/span><\/code> rpm install), and follow the prompts. This setup script will allow you to set the storage point, the admin password, the authentication source (ldap, local, etc), etc.<\/p>\n<p>If you are setting this up for the first time, I encourage you to choose local authentication (instead of ldap) and learn how the system works. The only caveat there is that if you intend to setup more than one iFolder server in a master\/slave configuration, you must use LDAP for authentication; so be prepared if that applies to you.<\/p>\n<p>One important thing to be aware of while running the script is that you must enter valid hostnames when prompted for internal and external addresses\/names. If you don&#8217;t have appropriate DNS names for the system (like if it&#8217;s a lab server or something), make sure you use valid IP addresses. You&#8217;ll know that you did it wrong if you cannot reach it later&#8230;  \ud83d\ude09<\/p>\n<p>***After using the <code><span style=\"font-size: x-small;\">simias-server-setup<\/span><\/code> configuration script, if you had chosen the &#8220;Configure Apache&#8221; option, you may need to fix a few things (I did) like this:<br \/>\n<code><span style=\"font-size: x-small;\">vi \/etc\/apache2\/conf.d\/simias.conf<\/span><\/code><br \/>\n(change the first line to accurately point to:<br \/>\n<code><span style=\"font-size: x-small;\">\/etc\/apache2\/conf.d\/mod_mono.conf<\/span><\/code>)<\/p>\n<p><code><span style=\"font-size: x-small;\">cd \/etc\/simias\/apache\/default\/<br \/>\nmv simias_server.conf simias_server.conf.dontuse<\/span><\/code><\/p>\n<p><span style=\"font-size: x-small;\">cd \/etc\/simias\/apache\/<br \/>\ncp ifolder_apache.conf \/etc\/apache2\/conf.d\/<\/span><\/p>\n<p>Now, make sure to modify the firewall configuration file:<br \/>\n<code><span style=\"font-size: x-small;\">vi \/etc\/sysconfig\/SuSEfirewall2<\/span><\/code><br \/>\n&#8230;to allow for http port(s) 80 and 443, and restart the firewall with <code><span style=\"font-size: x-small;\">rcSuSEfirewall restart<\/span><\/code>. Or use the Yast2 firewall module instead, if you want to do it graphically. Either way, you *do* want people to be able to reach your new service, right?<\/p>\n<p>Finally, restart or start apache:<br \/>\n<code><span style=\"font-size: x-small;\">rcapache2 restart<\/span><\/code><\/p>\n<p>Now the server is done! You can administer it at the following URL:<br \/>\n<code><span style=\"font-size: x-small;\">http:\/\/servername\/admin<\/span><\/code><br \/>\n&#8230;or access it as a user (after you configure one) at:<br \/>\n<code><span style=\"font-size: x-small;\">http:\/\/servername\/ifolder<\/span><\/code><\/p>\n<p>Maybe in a later post I&#8217;ll go over getting and installing the client, or maybe I&#8217;ll cover LDAP configuration and usage, or backups and DR&#8230; let me know if any of that interests you&#8230;<\/p>\n<p>Enjoy!<br \/>\n\ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is my version of a &#8220;cheat-sheet&#8221; for installing iFolder3.6 on Opensuse10.3. This cheat-sheet kinda&#8217; leaves you out on your own once you get to the part about running the configuration script (see below), but I don&#8217;t want to over-do&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=48\">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,35,16],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-advanced","category-ifolder3","category-opensuse103"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-M","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/48","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=48"}],"version-history":[{"count":3,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":647,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions\/647"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}