个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/BuildingSimpleServer}} {{Languages|UbuntuHelp:BuildingSimpleServer}} == Compatibility == * '''Breezy''': Yes If you want to use iFolder with a ...)
 
第2行: 第2行:
 
{{Languages|UbuntuHelp:BuildingSimpleServer}}
 
{{Languages|UbuntuHelp:BuildingSimpleServer}}
 
== Compatibility ==
 
== Compatibility ==
 
 
* '''Breezy''': Yes  
 
* '''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.
 
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.
 
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 [[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.
 
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.
第14行: 第10行:
 
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
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Step 3b: Grab Simias from CVS ===
 
=== Step 3b: Grab Simias from CVS ===
 
Enter the following commands in a Terminal. Use 'anonymous' if asked for a password.  
 
Enter the following commands in a Terminal. Use 'anonymous' if asked for a password.  
第24行: 第19行:
 
cvs -z3 -d:ext:anonymous@forgecvs1.novell.com:/cvsroot/ifolder co simias
 
cvs -z3 -d:ext:anonymous@forgecvs1.novell.com:/cvsroot/ifolder co simias
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Step 4: Building and installing SimpleServer ===
 
=== Step 4: Building and installing SimpleServer ===
 
It is a good idea to remove any previous Simias files as they may cause problems.
 
It is a good idea to remove any previous Simias files as they may cause problems.
第32行: 第26行:
 
rm -rf ~/.local/share/SimpleServer
 
rm -rf ~/.local/share/SimpleServer
 
</nowiki></pre>
 
</nowiki></pre>
 
 
For building and installing do the following:
 
For building and installing do the following:
 
<pre><nowiki>
 
<pre><nowiki>
第40行: 第33行:
 
sudo make install-simpleserver
 
sudo make install-simpleserver
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Step 5: Configure SimpleServer ===
 
=== Step 5: Configure SimpleServer ===
 
 
Edit the SimpleServer.xml file for your user information.
 
Edit the SimpleServer.xml file for your user information.
 
<pre><nowiki>
 
<pre><nowiki>
第48行: 第39行:
 
</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
第54行: 第44行:
 
/usr/local/simias/bin/simpleserver
 
/usr/local/simias/bin/simpleserver
 
</nowiki></pre>.
 
</nowiki></pre>.
 
 
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).
 
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).
 
 
----
 
----
 
[[category:CategoryDocumentation]]
 
[[category:CategoryDocumentation]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 16:23的版本

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:anonymous@forgecvs1.novell.com:/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).