Here is my version of a “cheat-sheet” for installing iFolder3.6 on SLES10sp2 (It is based on — and is almost the same as — my earlier cheat-sheet based on iFolder3.6 on Opensuse10.3, with minor differences). This cheat-sheet kinda’ leaves you out on your own once you get to the part about running the configuration script (see below), but I don’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… I hope… Good luck!
First, install SLES10sp2, mostly with the defaults. I noticed that when installing SLES10sp2, since it is a Gnome-based system, then you’ll already have the mono-core
and some other needed mono modules. 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.
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)!
Now, install some other pre-req’s for ifolder:
yast -i apache2
(…you may want to set chkconfig apache2 on
)
yast -i mod_mono
(…which auto-installs xsp
…)
…and any other packages necessary (mono-core
should already be on a gnome-based server) to satisfy the requirements for the following packages, especially if you did a restricted/limited install…
Now get and install the main ifolder packages (under the SLE_10 section), (thanks, martijn!) in order:
(…log4net should already be there, but be sure…)
rpm -Uvh libflaim-???????.i586.rpm
rpm -Uvh libflaim-devel-?????.i586.rpm
rpm -Uvh simias-svn-?????.i586.rpm
rpm -Uvh ifolder3-server-svn-3.6.???????.i586.rpm
Run /usr/bin/simias-server-setup
(as instructed by the ifolder3-server 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.
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.
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’t have appropriate DNS names for the system (like if it’s a lab server or something), make sure you use valid IP addresses. You’ll know that you did it wrong if you cannot reach it later… 😉
***After using the simias-server-setup
configuration script, if you had chosen the “Configure Apache” option, you may need to fix a few things (I did) like this:
cd /etc/simias/apache/default/
mv simias_server.conf simias_server.conf.dontuse
cd /etc/simias/apache/
cp ifolder_apache.conf /etc/apache2/conf.d/
Now, make sure to modify the firewall configuration file:
vi /etc/sysconfig/SuSEfirewall2
…to allow for http port(s) 80 and 443, and restart the firewall with rcSuSEfirewall restart. 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?
Finally, restart or start apache:
rcapache2 restart
Now the server is done! You can administer it at the following URL:
http://servername/admin
…or access it as a user (after you configure one) at:
http://servername/ifolder
Enjoy!
🙂