Outils personnels

Ajaxplorer - Installation : Différence entre versions

De wikiGite

(→‎Installation des Pré-Requis)
(→‎Sur les serveurs NFS)
Ligne 22 : Ligne 22 :
  
 
  /etc/apache2/conf.d/ajaxplorer.conf
 
  /etc/apache2/conf.d/ajaxplorer.conf
 +
 
<VirtualHost 10.0.0.43:443>
 
<VirtualHost 10.0.0.43:443>
−
 
+
 
−
ServerName fileshare.kogite.fr
+
ServerName fileshare.kogite.fr
−
DocumentRoot /opt/ajaxplorer
+
DocumentRoot /opt/ajaxplorer
−
 
+
−
#<IfModule mod_alias.c>
+
#<IfModule mod_alias.c>
−
#        Alias /ajaxplorer /opt/ajaxplorer
+
#        Alias /ajaxplorer /opt/ajaxplorer
−
#</IfModule>
+
#</IfModule>
−
 
+
−
        # add ssl protocol
+
        # add ssl protocol
−
        SSLEngine On
+
        SSLEngine On
−
        SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
+
        SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
−
        SSLCertificateFile /etc/ssl/certs/ajaxplorer.crt
+
        SSLCertificateFile /etc/ssl/certs/ajaxplorer.crt
−
        SSLCertificateKeyFile /etc/ssl/private/ajaxplorer.key
+
        SSLCertificateKeyFile /etc/ssl/private/ajaxplorer.key
−
 
+
−
<Directory /opt/ajaxplorer>
+
<Directory /opt/ajaxplorer>
−
        AllowOverride All
+
        AllowOverride All
−
        Options Indexes
+
        Options Indexes
−
        Allow from all
+
        Allow from all
−
        <IfModule mod_access.c>
+
        <IfModule mod_access.c>
−
                Order allow, deny
+
                Order allow, deny
−
                Allow from all
+
                Allow from all
−
        </IfModule>
+
        </IfModule>
−
 
+
−
<IfModule mod_php5.c>
+
<IfModule mod_php5.c>
−
        php_admin_value default_charset "UTF-8"
+
        php_admin_value default_charset "UTF-8"
−
        php_admin_value memory_limit    64M
+
        php_admin_value memory_limit    64M
−
        php_admin_value post_max_size  17M
+
        php_admin_value post_max_size  17M
−
        php_admin_value upload_max_filesize    16M
+
        php_admin_value upload_max_filesize    16M
−
        php_admin_value max_execution_time      120
+
        php_admin_value max_execution_time      120
−
</IfModule>
+
</IfModule>
−
 
+
−
<IfModule mod_ssl.c>
+
<IfModule mod_ssl.c>
−
        SSLRequireSSL
+
        SSLRequireSSL
−
        SSLRequire %{SSL_CIPHER_USEKEYSIZE} >= 128
+
        SSLRequire %{SSL_CIPHER_USEKEYSIZE} >= 128
−
</IfModule>
+
</IfModule>
−
 
+
−
</Directory>
+
</Directory>
−
</VirtualHost>
+
</VirtualHost>

Version du 8 juillet 2011 à 11:57

Présentation

Ajaxplorer est un explorateur de fichier simple à installer pour gérer des fichiers à distance sur un serveur web. Son interface évoluée le rend très accessible et offre différentes utilisations possibles : gestion de fichiers, partage de fichiers, galerie photo, etc.

Source : http://www.ajaxplorer.info/wordpress/documentation-3/chapter-introduction/

Installation des Pré-Requis

Sur le serveur :

  • php5, apache2, php5-mcrypt php5-gd
apt-get install php5 apache2 php5-mcrypt php5-gd

Sur les clients NFS :

Installation du serveur Ajaxplorer

http://downloads.sourceforge.net/project/ajaxplorer/ajaxplorer/3.2.4/ajaxplorer-core-3.2.4.zip

Sur les serveurs NFS

Pour le HTTPS Voir procédure :

/etc/apache2/conf.d/ajaxplorer.conf

<VirtualHost 10.0.0.43:443>

ServerName fileshare.kogite.fr
DocumentRoot /opt/ajaxplorer

#<IfModule mod_alias.c>
#        Alias /ajaxplorer /opt/ajaxplorer
#</IfModule>

        # add ssl protocol
        SSLEngine On
        SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
        SSLCertificateFile /etc/ssl/certs/ajaxplorer.crt
        SSLCertificateKeyFile /etc/ssl/private/ajaxplorer.key

<Directory /opt/ajaxplorer>
        AllowOverride All
        Options Indexes
        Allow from all
        <IfModule mod_access.c>
                Order allow, deny
                Allow from all
        </IfModule>

<IfModule mod_php5.c>
        php_admin_value default_charset "UTF-8"
        php_admin_value memory_limit    64M
        php_admin_value post_max_size   17M
        php_admin_value upload_max_filesize     16M
        php_admin_value max_execution_time      120
</IfModule>

<IfModule mod_ssl.c>
        SSLRequireSSL
        SSLRequire %{SSL_CIPHER_USEKEYSIZE} >= 128
</IfModule>

</Directory>
</VirtualHost>