IFolder - Installation sur OpenSuse 11.3 : Différence entre versions
De wikiGite
(→Configuation du serveur iFolder) |
(→Configuration d'Apache) |
||
Ligne 54 : | Ligne 54 : | ||
Open terminal and check that your hostname is correct (it’s in the prompt) and check for updates. | Open terminal and check that your hostname is correct (it’s in the prompt) and check for updates. | ||
− | # zypper ref | + | # zypper ref |
− | # zypper up | + | # zypper up |
In the terminal, generate an ssl cert (5 year) using the FQDN of the iFolder Server. | In the terminal, generate an ssl cert (5 year) using the FQDN of the iFolder Server. | ||
− | # gensslcert -Y 1825 -n FQDN -e EMAIL@EXAMPLE.COM | + | # 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. | Open Yast > HTTP Server module that was added (yast2-http-server). Using the defaults is fine here. Click Finish. | ||
Ligne 66 : | Ligne 66 : | ||
In the terminal, enable the apache2 modules that are needed. | In the terminal, enable the apache2 modules that are needed. | ||
− | # a2enmod ssl | + | # a2enmod ssl |
− | # a2enmod mono | + | # a2enmod mono |
− | # a2enmod rewrite | + | # a2enmod rewrite |
In the terminal, ensure apache2 starts at boot then start it. | In the terminal, ensure apache2 starts at boot then start it. | ||
− | # chkconfig apache2 on | + | # chkconfig apache2 on |
− | # rcapache2 start | + | # rcapache2 start |
In the terminal, set up the apache2 vhost-ssl.conf. | In the terminal, set up the apache2 vhost-ssl.conf. | ||
− | # cp /etc/apache2/vhosts.d/vhost-ssl.template /etc/apache2/vhosts.d/vhost-ssl.conf | + | # 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. | 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 | + | 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! | 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 localhost HOSTNAME |
− | + | 127.0.0.1 FQDN HOSTNAME | |
− | 127.0.0.1 FQDN HOSTNAME | ||
Edit the /etc/sysconfig/apache2 file and ensure APACHE_SERVER_FLAGS=”SSL” is present in the file. | Edit the /etc/sysconfig/apache2 file and ensure APACHE_SERVER_FLAGS=”SSL” is present in the file. |
Version du 13 mai 2011 à 10:01
Sommaire
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.
# zypper ref
# zypper up
In the terminal, generate an ssl cert (5 year) using the FQDN of the iFolder Server.
# 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.
# a2enmod ssl
# a2enmod mono
# a2enmod rewrite
In the terminal, ensure apache2 starts at boot then start it.
# chkconfig apache2 on
# rcapache2 start
In the terminal, set up the apache2 vhost-ssl.conf.
# 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.