Diskussion:Server/Lightweight Directory Access Protocol: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
(Neuer Abschnitt →‎just a "quick" test)
 
Zeile 86: Zeile 86:
have issues starting depending on the modules you are using.
have issues starting depending on the modules you are using.
</pre>
</pre>
----
: pkg install mod_php5
: pkg install mod_php5
<pre>
<pre>

Version vom 18. Dezember 2014, 20:37 Uhr

just a "quick" test

pkg

pkg install openldap-server
Message for openldap-client-2.4.40_1:
 ************************************************************

The OpenLDAP client package has been successfully installed.

Edit
  /usr/local/etc/openldap/ldap.conf
to change the system-wide client defaults.

Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at
  http://www.OpenLDAP.org/faq/index.cgi?file=3
for more information.
                                                                               
************************************************************
Message for openldap-server-2.4.40_2:
 ************************************************************

The OpenLDAP server package has been successfully installed.

In order to run the LDAP server, you need to edit
  /usr/local/etc/openldap/slapd.conf
to suit your needs and add the following lines to /etc/rc.conf:
  slapd_enable="YES"
  slapd_flags='-h "ldapi://%252fvar%252frun%252fopenldap%252fldapi/ ldap://0.0.0.0/"'
  slapd_sockets="/var/run/openldap/ldapi"

Then start the server with
  /usr/local/etc/rc.d/slapd start
or reboot.

Try `man slapd' and the online manual at
  http://www.OpenLDAP.org/doc/
for more information.
  
slapd runs under a non-privileged user id (by default `ldap'),
see /usr/local/etc/rc.d/slapd for more information.

************************************************************

pkg install phpldapadmin
Message for phpldapadmin-1.2.3_7,1:                                            
 phpldapadmin-1.2.3_7,1 has been installed into:                               
                                                                               
    /usr/local/www/phpldapadmin                                                
                                                                               
Please edit config.php to suit your needs.                                     
                                                                               
To make phpLDAPadmin available through your web site, I suggest that           
you add something like the following to httpd.conf:                            
                                                                               
    Alias /phpldapadmin/ "/usr/local/www/phpldapadmin/htdocs/"                 

    <Directory "/usr/local/www/phpldapadmin/htdocs">
        Options none
        AllowOverride none

        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1 .example.com
    </Directory>

pkg install apache24
/usr/local/share/examples/apache24/httpd.conf -> /usr/local/etc/apache24/httpd.conf
Message for apache24-2.4.10_2:
 To run apache www server from startup, add apache24_enable="yes"
in your /etc/rc.conf. Extra options can be found in startup script.

Your hostname must be resolvable using at least 1 mechanism in
/etc/nsswitch.conf typically DNS or /etc/hosts or apache might
have issues starting depending on the modules you are using.

pkg install mod_php5
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = "de.UTF-8",
        LANG = "de.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[activating module `php5' in /usr/local/etc/apache24/httpd.conf]
Message for mod_php5-5.4.35,1:
 ***************************************************************

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

<FilesMatch "\.php$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>

***************************************************************

pkg install pecl-intl