Outils personnels

IFolder - Installation sur OpenSuse 11.3

De wikiGite

Révision datée du 13 mai 2011 à 10:00 par Nicolas (discussion | contributions) (Configuation du serveur iFolder)

Pré-Requis

During partitioning you may want to edit the default configuration and NOT create a separate home partition.

Turn off the firewall either during the setup or in Yast. Security and Users after the install.

After install, open terminal. As root (that’s what this ‘#’ means) ensure ssh starts at boot (only if you need ssh).

# chkconfig sshd on

Dans Yast

Network Settings > Global Options

Disable IPv6 if not used

Network Settings > Overview

Edit your interface so it has a static ip

Network Settings > Hostname/DNS

Edit to match your configuration


Remove the following

   beagle

Add the following

   kernel-source
   gcc
   gcc-c++
   apache2-prefork
   apache2-utils
   apache2-mod_mono
   mono-core
   mono-data
   mono-data-sqlite
   mono-web
   mono-winforms
   libapr-util1
   libapr1
   libflaim
   log4net
   xsp
   yast2-http-server
   nano (optional)

Close Yast REBOOT

Configuration d'Apache

Open terminal and check that your hostname is correct (it’s in the prompt) and check for updates.

  1. zypper ref
  1. zypper up

In the terminal, generate an ssl cert (5 year) using the FQDN of the iFolder Server.

  1. gensslcert -Y 1825 -n FQDN -e EMAIL@EXAMPLE.COM

Open Yast > HTTP Server module that was added (yast2-http-server). Using the defaults is fine here. Click Finish.

In the terminal, enable the apache2 modules that are needed.

  1. a2enmod ssl
  1. a2enmod mono
  1. a2enmod rewrite

In the terminal, ensure apache2 starts at boot then start it.

  1. chkconfig apache2 on
  1. rcapache2 start

In the terminal, set up the apache2 vhost-ssl.conf.

  1. cp /etc/apache2/vhosts.d/vhost-ssl.template /etc/apache2/vhosts.d/vhost-ssl.conf

Edit the /etc/apache2/vhosts.d/vhost-ssl.conf file and ensure the FQDN of the iFolder server is present as the ServerName in the file.

ServerName FQDN:443

Edit the /etc/hosts file and ensure the FQDN and the HOSTNAME of the iFolder server is present in the file. PUT BOTH!

127.0.0.1 localhost HOSTNAME

127.0.0.1 FQDN HOSTNAME

Edit the /etc/sysconfig/apache2 file and ensure APACHE_SERVER_FLAGS=”SSL” is present in the file.

Installation du serveur iFolder

Configuration du serveur iFolder