Please pay attention to the following comments:
* http://nopitfalls.blogspot.com/2011/08/getting-ifolder-simias-to-run.html
* According to Marcos Kreinacke an up-to-date Ubuntu 11.04 is required if you want to run iFolder.
You can follow the instructions on http://www.ubuntu.com/download/ubuntu/upgrade to
perform the necessary upgrade.
------------
Download and install Ubuntu Server 11.04: http://www.ubuntu.com/download/server/download
Use sudo for every command below.
------------
Get a solid full qualified name for the server.
------------
apt-get install apache2 mono-complete liblog4net-cil-dev liblog4net1.2-cil mono-xsp mono-xsp1 mono-xsp2 libapache2-mod-mono
sudo ln -s /usr/bin/mod-mono-server2 /usr/bin/mod-mono-server
Download of RPMs
alien RPMs with --fixperms --scripts
dpkg -i both RPMs
Fix /usr/lib/simias/web/bin/ifdata, should be started by /bin/bash.
a2dismod mod_mono
a2enmod mod_mono_auto
a2enmod ssl
a2enmod rewrite
a2ensite default-ssl
Install your own SSL certificates if you want. Otherwise keep the snakeoil/default-ones. Test https://myfullqualifiedname/.
------------
Run /usr/bin/simias-server-setup
Use defaults but apply the following settings:
Apply the full qualified domain name to the presented URLs
Use a sensible username and password for the default administrator
Disable LDAP
Create Apache Config
Apache User: www-data
Apache Group: www-data
Fix simias.conf in /etc/apache2/conf.d/ by removing (commenting) the first line (referencing mod-mono, .. its enabled anyway).
Edit /etc/apache2/conf.d/simias.conf. Add ";MONO_PATH=/usr/lib/cli/log4net-1.2" to the MonoSetEnv-Statement.
If /root/.config/mono exists, perform the following operation:
mkdir /var/www/.config
mv /root/.config/mono /var/www/.config/mono
chown -R www-data.www-data /var/www/.config
/etc/init.d/apache restart
------------
Run /usr/bin/ifolder-web-setup
Apache User: www-data
Apache Group: www-data
Run /usr/bin/ifolder-admin-setup
Apache User: www-data
Apache Group: www-data
Fix ifolder_admin.conf and ifolder_web.conf in /etc/apache2/conf.d/ by removing (commenting) the first line (referencing mod-mono, .. its enabled anyway).
Edit /etc/apache2/conf.d/ifolder_web.conf. Add
MonoSetEnv ifolder "MONO_PATH=/usr/lib/cli/log4net-1.2"
after the AddMonoApplications statement. And remove/comment the "LoadModule rewrite_module" line.
Edit /etc/apache2/conf.d/ifolder_admin.conf. Add
MonoSetEnv admin "MONO_PATH=/usr/lib/cli/log4net-1.2"
after the AddMonoApplications statement. And remove/comment the "LoadModule rewrite_module" line.
If /root/.config/mono exists again (just to be sure), perform the following operation:
rm -r /var/www/.config/mono
mkdir /var/www/.config
mv /root/.config/mono /var/www/.config/mono
chown -R www-data.www-data /var/www/.config
/etc/init.d/apache restart
------------
Login to http://myfullqualifiedname/admin/ with the default administrator (as defined above).
Create a new user.
Login to http://myfullqualifiedname/ifolder/ with the new user and checkout the webinterface.
------------
Download and install the iFolder Windows or Linux Client.
Use the full qualified server name as server name (just the name not the URL). Use username and password of your created user.
Happy syncing.
------------
Do some security clean up... like: moving the document root of the server to a different empty directory, adjusting directory permission and stuff.