HowTo:Set up Simple Server
From iFolder
Authors: Henry McBride <henry.mcbride@gmail.com>
| Table of contents |
Prerequisites
Install Guide
NOTE this will likely change slightly with the new release of ifolder. Changes coming shortly
Note: for non developers, who are installing Simple Server, Before issuing the first command below, goto YAST and in the search field write 'subversion' tick 'subversion' to the right and install 'svn' on your box. Also install 'log4net' from the download page, and these packages from Yast e2fsprogs and e2fsprogs-devel. enevold
1) Download the simias source. (The password is: Anonymous)
svn checkout https://forgesvn1.novell.com/svn/simias/trunk
2) cd into the trunk/simias directory
3) Run the autogen script (like this): ./autogen.sh --prefix=/opt/simias
4) Run 'make install' in the simias directory
5) cd to the other/SimpleServer directory
6) Run 'make install-simpleserver' in the SimpleServer Directory
7) Delete the ~/.local/share/simias directory if it exists from a privious simias installation.
for me, deleting this directory seemed to cause a load of problems. I tried again, leaving this there, and it worked SimonCrute
8) Edit the /opt/simias/etc/SimpleServer.xml file with your user information
9) Run /opt/simias/bin/simpleserver
10) Attach an iFolder client to the Simple server (ip:8086). It will show when starting the simple server
Additional help on specific platforms
Ubuntu Breezy
When trying to compile simias, gcc may complain with the error
/usr/bin/ld: cannot find -lstdc++
If this is the case - then please execute the following command
sudo apt-get install libstdc++5-3.3-dev
Debian Sarge
When trying to compile simias, gcc may complain with the error
/usr/bin/ld: cannot find -lstdc++
If you have installed all the listed prerequisites above (specifically libstdc++5) then execute the following command to fix the problem.
sudo ln -s /usr/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so
Debian SID with Mono 1.1.7
Juan C. Olivares <juancri@juancri.com>
1) I have problems with libxml2. To fix this, I run
export CFLAGS="-I/usr/include/libxml2 $CFLAGS" before autogen
2) There is an error compilling Simias.dll. I added Mono.Posix.dll to the list of libraries (Variable SIMIAS_LIBS1 on src/Simias.dll/Makefile)
Gentoo
1) ebuilds are now available at http://bugs.gentoo.org/show_bug.cgi?id=64399
2) There is a simpleserver USE flag for the simias package which pretty much takes care of everything, just add users to the xml file, and start the service.
Removed sections
Old simple server config
Henry K McBride <henry@hkmllc.com>
This step should go betwees steps 7 and 8 of the above guide for older versions of simias. Edit the /opt/simias/etc/simias-client-bootstrap-config to look like the following
<configuration>
<section name="Domain">
<setting name="SimpleServerName" value="Simias SimpleServer" />
</section>
<section name="ServiceManager">
<setting name="WebServicePath" value="/opt/simias/web" />
<setting name="Services">
<Service name="Simias Change Log Service" assembly="Simias" enabled="True"
type="Thread" class="Simias.Storage.ChangeLog" />
<Service name="Simias Simple Server" assembly="Simias.SimpleServer.dll"
enabled="True" type="Thread" class="Simias.SimpleServer.Service" />
</setting>
</section>
<section name="StoreProvider">
<setting name="Assembly" value="Simias.dll" />
<setting name="Type" value="Simias.Storage.Provider.Flaim.FlaimProvider" />
</section>
</configuration>
Note: If you leave other services in the file it will cause issues with simple server
