資訊

Install iFolder 3 on Debian Squeeze

[ 原文出處 ]

[ iFolder 簡介 ]

Installing Simias (As root)

  • apt-get install bzr bzr-builddeb equivs
  • wget http://ftp.no.debian.org/pub/linux/ubuntu/pool/universe/libf/libflaim/libflaim4.1_4.9.966-0ubuntu3_i386.deb
  • wget http://ftp.no.debian.org/pub/linux/ubuntu/pool/universe/libf/libflaim/libflaim-dev_4.9.966-0ubuntu3_i386.deb
  • dpkg -i libflaim4.1_4.9.966-0ubuntu3_i386.deb
  • dpkg -i libflaim-dev_4.9.966-0ubuntu3_i386.deb
  • 執行上二個指令可能會出現套件相依錯誤,用下列指令強制安裝
  • apt-get -f install
  • cd /tmp
  • bzr branch http://bazaar.launchpad.net/~csights/+junk/simias/
  • cd simias
  • mk-build-deps
  • dpkg -i simias-build-deps_1.0_all.deb
  • 執行上一個指令可能會出現套件相依錯誤,用下列指令強制安裝
  • apt-get install automake libtool liblog4net-cil-dev autoconf mono-xsp2-base cli-common-dev uuid-dev libxml2-dev gsoap mono-devel
  • apt-get -f install
  • bzr-buildpackage
  • 忽略下列錯誤訊息 running debsign failed bzr: ERROR: The build failed.
  • cd ../build-area
  • dpkg -i libsimias*deb simias-client*deb

Installing Client (As root)

  • cd /tmp
  • bzr branch http://bazaar.launchpad.net/~csights/+junk/ifolder-client/
  • cd ifolder-client
  • mk-build-deps
  • dpkg -i ifolder3-build-deps_1.0_all.deb
  • 執行上一個指令可能會出現套件相依錯誤,用下列指令強制安裝
  • apt-get install libgtk2.0-cil-dev libgnome2.0-cil-dev libgconf2.0-cil-dev gtk-sharp2-gapi libgtk2.0-dev libglade2.0-cil-dev
  • apt-get -f install
  • bzr-buildpackage
  • cd ../build-area
  • dpkg -i ifolder3-client*deb

建立同步目錄 (As user tony)

  • mkdir /tmpsimias
  • chown tony:tony /tmpsimias/
  • su – tony
  • ln -s /tmpsimias ~/.local/share/simias
  • ifolder&

Installing Simias server (As root)

  • cd /tmp/build-area
  • dpkg -i simias-server*deb libsimias0*deb
  • 執行上一個指令可能會出現套件相依錯誤,用下列指令強制安裝
  • apt-get install build-essential automake autoconf mono-complete liblog4net1.2-cil uuid-dev libxml2-dev mono-apache-server mono-apache-server2 gsoap libapache2-mod-mono libncurses-dev libtool g++ gcc
  • apt-get -f install
  • 依據實際狀況設定iFolder Server (如設錯,dpkg-reconfigure simias-server可重新設定)

管理者帳號

管理者密碼

iFolder Server 網址

iFolder Server 名稱

管理介面:http://iFolder_Server/admin


設定Apache Server

  • make-ssl-cert generate-default-snakeoil
  • a2enmod ssl
  • a2enmod rewrite
  • 將下面內容加到 /etc/apache2/sites-available/default
    <VirtualHost _default_:443>
    SSLEngine on        SSLOptions +StrictRequire

    SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
    SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
    </VirtualHost>

  • a2enmod mod_mono
  • /etc/init.d/apache2 restart