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

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
Zeile 184: Zeile 184:
[[website:stura/ref/verwaltung/admin/sitzungen/2016/1.-arbeitstreffen-ldap]]
[[website:stura/ref/verwaltung/admin/sitzungen/2016/1.-arbeitstreffen-ldap]]


== Installation Zentyal bei Ubuntu ==
== Zentyal ==


Installation von Zentyal 5.0 in einem Ubuntu 16.04 Server
=== Installation Zentyal bei Ubuntu ===
: Installation von Zentyal 5.0 in einem [[Ubuntu]] 16.04 Server


: <code>sudo nano /etc/apt/sources.list</code>
: <code>sudo nano /etc/apt/sources.list</code>
Zeile 252: Zeile 253:
:::: <code>apt list --installed | grep zentyal</code>
:::: <code>apt list --installed | grep zentyal</code>
::::: Demnach wird wohl das Pakete ''zentyal-samba'' (mit dem Paket ''zentyal-dns'', dem Paket ''zentyal-firewall'', dem Paket ''zentyal-network'', und dem Paket ''zentyal-ntp'') installiert.
::::: Demnach wird wohl das Pakete ''zentyal-samba'' (mit dem Paket ''zentyal-dns'', dem Paket ''zentyal-firewall'', dem Paket ''zentyal-network'', und dem Paket ''zentyal-ntp'') installiert.
== NethServer ==
=== Installation NethServer bei CentOS ===
: Installation von NethServer 7 in einem [[CentOS]] 7.3
== Fedora ==
: Fedora mit FreeIPA und [[Server/Cockpit]]

Version vom 6. Juni 2017, 02:01 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

WUI and foo

weitere Anhaltspunkte

potentielle Dokumentationen

neben Server/Lightweight Directory Access Protocol#nennenswerte Dokumentation

Notizzettel

Struktur

website:stura/ref/verwaltung/admin/sitzungen/2016/1.-arbeitstreffen-ldap

Zentyal

Installation Zentyal bei Ubuntu

Installation von Zentyal 5.0 in einem Ubuntu 16.04 Server
sudo nano /etc/apt/sources.list
wget -q http://keys.zentyal.org/zentyal-5.0-archive.asc -O- | sudo apt-key add -
OK
sudo apt update

sudo apt install -y zentyal

                                                             ┌─────────────────────────────────────────┤ Configuring mysql-server-5.7 ├─────────────────────────────────────────┐                                                             
                                                             │ While not mandatory, it is highly recommended that you set a password for the MySQL administrative "root" user.  │                                                             
                                                             │                                                                                                                  │                                                             
                                                             │ If this field is left blank, the password will not be changed.                                                   │                                                             
                                                             │                                                                                                                  │                                                             
                                                             │ New password for the MySQL "root" user:                                                                          │                                                             
                                                             │                                                                                                                  │                                                             
                                                             │ ________________________________________________________________________________________________________________ │                                                             
                                                             │                                                                                                                  │                                                             
                                                             │                                                      <Ok>                                                        │                                                             
                                                             │                                                                                                                  │                                                             
                                                             └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘                                                             

                                                 ┌──────────────────────────────────────────────────────┤ Configuring zentyal-core ├───────────────────────────────────────────────────────┐                                                  
                                                 │ Please enter the port which will be used by the Zentyal HTTPS server. Use an available port that is not being used by another service.  │                                                  
                                                 │                                                                                                                                         │                                                  
                                                 │ Zentyal HTTPS port:                                                                                                                     │                                                  
                                                 │                                                                                                                                         │                                                  
                                                 │ 8443___________________________________________________________________________________________________________________________________ │                                                  
                                                 │                                                                                                                                         │                                                  
                                                 │                                                                 <Ok>                                                                    │                                                  
                                                 │                                                                                                                                         │                                                  
                                                 └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘                                                  

sudo apt update && sudo apt upgrade -y && sudo apt autoremove && sudo reboot

per WUI

//Software/Welcome
abgebrochen!
nachschauen!
apt list --installed | grep zentyal
Demnach sie die Pakete zentyal (nur mit dem Paket zentyal-core und dem Paket zentyal-software) installiert.
//Software/Updates
verblieben Aktualisierungen vorgenommen!
//Software/EBox
Domain Controller and File Sharing installiert
nachschauen!
apt list --installed | grep zentyal
Demnach wird wohl das Pakete zentyal-samba (mit dem Paket zentyal-dns, dem Paket zentyal-firewall, dem Paket zentyal-network, und dem Paket zentyal-ntp) installiert.

NethServer

Installation NethServer bei CentOS

Installation von NethServer 7 in einem CentOS 7.3

Fedora

Fedora mit FreeIPA und Server/Cockpit