个人工具

UbuntuHelp:BuildingSimpleServer

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(Tag/Unsupported)>> <<Include(Tag/ContentCleanup)>> <<Include(Tag/Deletion)>> Is this software still developed/supported?

Compatibility

  • Breezy: Yes

If you want to use iFolder with a server, you either have to buy Novell Open Enterprise Server or use SimpleServer. SimpleServer does not have as many features as iFolder Enterprise Server has, but works well with a small workgroup (up to 25 users is good). It is recommened you build SimpleServer from CVS for the latest features. It is not recommended you run your SimpleServer on the same machine. If you want to do this, see iFolderP2PSharing.

Step 1: Getting the Dependencies

SimpleServer is a command line application so we will use command line tools to install it. You need universe open to build SimpleServer. You can find information on how to add universe using Synaptic on UniversePackages. You need to open up a Terminal. Go to the Applications menu, then Accessories and click on Terminal. Enter the commands in the grey box.

sudo apt-get install libtool automake1.9 build-essential mono-devel intltool cvs libxml2-dev libstdc++5 pkg-config

Step 3b: Grab Simias from CVS

Enter the following commands in a Terminal. Use 'anonymous' if asked for a password. The following steps assume you use ~/simpleserver as working dir. Adapt mkdir/cd commands to your needs.

mkdir ~/simpleserver
cd ~/simpleserver
export CVS_RSH=ssh
cvs -z3 -d:ext:[email protected]:/cvsroot/ifolder co simias

Step 4: Building and installing SimpleServer

It is a good idea to remove any previous Simias files as they may cause problems.

rm -rf ~/.local/share/simias
rm -rf ~/.local/share/ifolder
rm -rf ~/.local/share/SimpleServer

For building and installing do the following:

cd ~/simpleserver/simias
./autogen.sh --prefix=/usr/local/simias && make && sudo make install
cd other/SimpleServer
sudo make install-simpleserver

Step 5: Configure SimpleServer

Edit the SimpleServer.xml file for your user information.

nano  /usr/local/simias/etc/SimpleServer.xml # use your favorite editor here

It should be pretty obviously but the annotated image will explain more.

Step 6: Run SimpleServer

You can now start SimpleServer by running

/usr/local/simias/bin/simpleserver
.

When configuring your iFolder client, enter the DNS-name or IP address of your server and add the port 8086 (e.g. 192.168.8.10:8086 or server:8086).