个人工具

“UbuntuHelp:BuildingSimpleServer”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第6行: 第6行:
 
It is not recommended you run your SimpleServer on the same machine. If you want to do this, see iFolderP2PSharing.
 
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 ===
 
=== 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.
+
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 [[UbuntuHelp: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.
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install libtool automake1.9 build-essential mono-devel intltool cvs libxml2-dev libstdc++5 pkg-config
 
sudo apt-get install libtool automake1.9 build-essential mono-devel intltool cvs libxml2-dev libstdc++5 pkg-config
第38行: 第38行:
 
nano  /usr/local/simias/etc/SimpleServer.xml # use your favorite editor here
 
nano  /usr/local/simias/etc/SimpleServer.xml # use your favorite editor here
 
</nowiki></pre>
 
</nowiki></pre>
It should be pretty obviously but [[http://www.evolutionconsultancy.com/~spayne/shots/SimpleServer-030905.png|the annotated image]] will explain more.
+
It should be pretty obviously but [http://www.evolutionconsultancy.com/~spayne/shots/SimpleServer-030905.png the annotated image] will explain more.
 
=== Step 6: Run SimpleServer ===
 
=== Step 6: Run SimpleServer ===
 
You can now start SimpleServer by running
 
You can now start SimpleServer by running

2008年10月19日 (日) 14:30的版本

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 UbuntuHelp: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).