特殊:Badtitle/NS100:IFolderEnterpriseServer
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/iFolderEnterpriseServer }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/af | • {{#if: UbuntuHelp:iFolderEnterpriseServer|Afrikaans| [[::IFolderEnterpriseServer/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/ar | • {{#if: UbuntuHelp:iFolderEnterpriseServer|العربية| [[::IFolderEnterpriseServer/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/az | • {{#if: UbuntuHelp:iFolderEnterpriseServer|azərbaycanca| [[::IFolderEnterpriseServer/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/bcc | • {{#if: UbuntuHelp:iFolderEnterpriseServer|جهلسری بلوچی| [[::IFolderEnterpriseServer/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/bg | • {{#if: UbuntuHelp:iFolderEnterpriseServer|български| [[::IFolderEnterpriseServer/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/br | • {{#if: UbuntuHelp:iFolderEnterpriseServer|brezhoneg| [[::IFolderEnterpriseServer/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/ca | • {{#if: UbuntuHelp:iFolderEnterpriseServer|català| [[::IFolderEnterpriseServer/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/cs | • {{#if: UbuntuHelp:iFolderEnterpriseServer|čeština| [[::IFolderEnterpriseServer/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/de | • {{#if: UbuntuHelp:iFolderEnterpriseServer|Deutsch| [[::IFolderEnterpriseServer/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/el | • {{#if: UbuntuHelp:iFolderEnterpriseServer|Ελληνικά| [[::IFolderEnterpriseServer/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/es | • {{#if: UbuntuHelp:iFolderEnterpriseServer|español| [[::IFolderEnterpriseServer/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/fa | • {{#if: UbuntuHelp:iFolderEnterpriseServer|فارسی| [[::IFolderEnterpriseServer/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/fi | • {{#if: UbuntuHelp:iFolderEnterpriseServer|suomi| [[::IFolderEnterpriseServer/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/fr | • {{#if: UbuntuHelp:iFolderEnterpriseServer|français| [[::IFolderEnterpriseServer/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/gu | • {{#if: UbuntuHelp:iFolderEnterpriseServer|ગુજરાતી| [[::IFolderEnterpriseServer/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/he | • {{#if: UbuntuHelp:iFolderEnterpriseServer|עברית| [[::IFolderEnterpriseServer/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/hu | • {{#if: UbuntuHelp:iFolderEnterpriseServer|magyar| [[::IFolderEnterpriseServer/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/id | • {{#if: UbuntuHelp:iFolderEnterpriseServer|Bahasa Indonesia| [[::IFolderEnterpriseServer/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/it | • {{#if: UbuntuHelp:iFolderEnterpriseServer|italiano| [[::IFolderEnterpriseServer/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/ja | • {{#if: UbuntuHelp:iFolderEnterpriseServer|日本語| [[::IFolderEnterpriseServer/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/ko | • {{#if: UbuntuHelp:iFolderEnterpriseServer|한국어| [[::IFolderEnterpriseServer/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/ksh | • {{#if: UbuntuHelp:iFolderEnterpriseServer|Ripoarisch| [[::IFolderEnterpriseServer/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/mr | • {{#if: UbuntuHelp:iFolderEnterpriseServer|मराठी| [[::IFolderEnterpriseServer/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/ms | • {{#if: UbuntuHelp:iFolderEnterpriseServer|Bahasa Melayu| [[::IFolderEnterpriseServer/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/nl | • {{#if: UbuntuHelp:iFolderEnterpriseServer|Nederlands| [[::IFolderEnterpriseServer/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/no | • {{#if: UbuntuHelp:iFolderEnterpriseServer|norsk| [[::IFolderEnterpriseServer/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/oc | • {{#if: UbuntuHelp:iFolderEnterpriseServer|occitan| [[::IFolderEnterpriseServer/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/pl | • {{#if: UbuntuHelp:iFolderEnterpriseServer|polski| [[::IFolderEnterpriseServer/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/pt | • {{#if: UbuntuHelp:iFolderEnterpriseServer|português| [[::IFolderEnterpriseServer/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/ro | • {{#if: UbuntuHelp:iFolderEnterpriseServer|română| [[::IFolderEnterpriseServer/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/ru | • {{#if: UbuntuHelp:iFolderEnterpriseServer|русский| [[::IFolderEnterpriseServer/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/si | • {{#if: UbuntuHelp:iFolderEnterpriseServer|සිංහල| [[::IFolderEnterpriseServer/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/sq | • {{#if: UbuntuHelp:iFolderEnterpriseServer|shqip| [[::IFolderEnterpriseServer/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/sr | • {{#if: UbuntuHelp:iFolderEnterpriseServer|српски / srpski| [[::IFolderEnterpriseServer/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/sv | • {{#if: UbuntuHelp:iFolderEnterpriseServer|svenska| [[::IFolderEnterpriseServer/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/th | • {{#if: UbuntuHelp:iFolderEnterpriseServer|ไทย| [[::IFolderEnterpriseServer/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/tr | • {{#if: UbuntuHelp:iFolderEnterpriseServer|Türkçe| [[::IFolderEnterpriseServer/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/vi | • {{#if: UbuntuHelp:iFolderEnterpriseServer|Tiếng Việt| [[::IFolderEnterpriseServer/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/yue | • {{#if: UbuntuHelp:iFolderEnterpriseServer|粵語| [[::IFolderEnterpriseServer/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/zh | • {{#if: UbuntuHelp:iFolderEnterpriseServer|中文| [[::IFolderEnterpriseServer/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/zh-hans | • {{#if: UbuntuHelp:iFolderEnterpriseServer|中文(简体)| [[::IFolderEnterpriseServer/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:iFolderEnterpriseServer | UbuntuHelp:iFolderEnterpriseServer | {{#if: | :}}IFolderEnterpriseServer}}/zh-hant | • {{#if: UbuntuHelp:iFolderEnterpriseServer|中文(繁體)| [[::IFolderEnterpriseServer/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:iFolderEnterpriseServer|:IFolderEnterpriseServer|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :IFolderEnterpriseServer/zh | | {{#ifexist: IFolderEnterpriseServer/zh | | {{#ifeq: {{#titleparts:IFolderEnterpriseServer|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:IFolderEnterpriseServer|1|-1|}} | zh | | }}
The ifolderServer are mainly compose of Simias module running as a server under apache. Apache must support ASP.Net pages, it's means that mod_mono pluging are need. Note : This HowTo are based on the existing HOWTO present on the iFolder official web page. Because the wiki are read only I place this version here and update the procedure to work with the current sources version. (December 4, 2007)
Dapper Drake (6.10)
This section present how to compile, install and configure Simias module. Finally, it's explain how to configure apache to work with Simias.
Getting sources
Until some one release a tar.gz for a specific version of iFolder, you have to get the source from the SVN server. To proceed ensure you have subversion package install by executing sudo apt-get install subversion
. The following command will create a new directory named simias where every file will be download. I recommend you to execute this command in your home folder.
svn co https://forgesvn1.novell.com/svn/simias/trunk/simias simias
Install Dependencies
Before going any further, you must ensure that you have enable universe repository. Any way, if it's not the case apt-get
will show you some errors. Execute this command to install every dependencies.
sudo apt-get install liblog4net-cil uuid uuid-dev libxml2 libxml2-dev automake1.9 libncurses5-dev libcommoncpp2-1.3c2a libstdc++5 libtool pkg-config build-essential mono-mcs libflaim4 libflaim-dev libmono-dev
Fix libflaim
I don't know why, but the current version of Simias look for the file libfl.a
and libfl.so
. This file correspond to the libflaim.a and libflaim.so respectively. Maybe, under openSUSE the flaim library create this file and Ubuntu thought it's was a better idea to rename this file ! Why not !
To fix this, you have to create a symbolic link with this command.
sudo ln -s /usr/lib/libflaim.a /usr/lib/libfl.a sudo ln -s /usr/lib/libflaim.so /usr/lib/libfl.so
Also, you must edit the file /usr/lib/pkgconfig/libflaim.pc
to change name
to look like Name
(notice the capital letter). According to this bug it's will never be fixed for Dapper Drake. Otherwise, you will get an error while compiling.
name: libflaim become Name: libflaim
Compile
You have to configure simias with the autogen.sh
script. You can set the installation directory by changing prefix
value. I chose to install it in /usr/local
. The simiasdatadir
argument define the location where user data will be store. the sysconfdir
argument define the location of configuration file of Simias (not all files).
cd simias/ ./autogen.sh --prefix=/usr/local --with-simiasdatadir=/var/lib/simias --sysconfdir=/etc --with-runasserver
If the script exit without any error and display something like Now type 'make' to compile Simias
, you can continue and execute this next command that will compile Simias.
make
Install
Finally, you must install it by executing this command. A good alternative is to install it by using the checkinstall
tool that will create a .deb
file. This way it's more easy to remove it. If your not sure, just execute the following command.
sudo make install
If all of this command exit without any error, it's mean that Simias are install correctly. You can continue by configuring Simias.
Setup Apache2
You have to get a proper installation of Apache 2. If it's not already done, install Apache 2 by executing the following command.
sudo apt-get install apache2
Also, you need to install other package to support asp.net. Just execute this command to do so. Everything will be configure for you.
sudo apt-get install libapache2-mod-mono mono-apache-server mono-apache-server2
Then, restart apache and check if it's running well by browsing it.
sudo /etc/init.d/apache2 restart
Finally create the file /etc/apache2/uid.conf
with this content. This file are use by Simias configuration tool to know the user and group used by Apache.
User www-data Group www-data
Setup environment
Before executing the Simias configuration tool, it's better to execute this set of command that define some permission setting to directory.
sudo mkdir -p /var/www/.config/.mono/ sudo chown -R www-data:www-data /var/www/.config/ sudo mkdir -p /var/lib/simias sudo chown -R www-data:www-data /var/lib/simias sudo chmod -R 770 /var/lib/simias sudo mkdir /var/log/ifolder3 sudo chown -R www-data:www-data /var/log/ifolder3
IMPORTANT stop apache service.
sudo /etc/init.d/apache2 stop
Configuring the server
It's now the time to configure the server. This tool will create a configuration file for Apache and place it in /etc/apache2/conf.d/simias.conf.
sudo simias-server-setup [...]
At this time, there still some bug in this configuration tool. For this reason, you have to edit the file it's create and change the location of mod_mono.conf file.
Include /etc/apache2/mod_mono.conf Become Include /etc/apache2/mods-enabled/mod_mono.conf
It's now time to start apache server.
sudo /etc/init.d/apache start
You can check if it's working by browsing to http://exemple.com/simias10. A dialog box should appear asking you to enter your login information. You must give the one you enter in the configuration of Simias. You should see an HTTP error 404. When browsing to http://exemple.com/simias10/DomainService.asmx you should see a page with some information.
Setup iFolder Admin WebAccess
Setting up iFolder WebAccess
Troubleshooting
- While restarting apache, ... must restart mono server
Needs Packaging
There is a demand for a package in the launchpad
Other ressources
Some documentation on the iFolder Wiki for configuring iFolder Enterprise Server on Dapper. You can find it here.