instructions
This commit is contained in:
25
Readme.md
Normal file
25
Readme.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Installation de apache + php 7.2 + phpldapadmin
|
||||
|
||||
Installation de phpldapadmin sur la machine ldxN.formation.opendoor.fr
|
||||
|
||||
La racine de l'arbre est dc=example,dc=fr
|
||||
|
||||
L'accès aux branches cn=config et cn=monitor est possible avec le compte _olcrootDN_
|
||||
|
||||
|
||||
```bash
|
||||
sudo dnf install httpd php-fpm php-ldap php-xml unzip -y
|
||||
sudo systemctl enable --now httpd php-fpm
|
||||
curl -o /tmp/pla.zip -L https://github.com/leenooks/phpLDAPadmin/archive/refs/tags/1.2.6.3.zip
|
||||
cd /var/www/html
|
||||
sudo unzip /tmp/pla.zip
|
||||
sudo cp /var/www/html/phpLDAPadmin-1.2.6.3/config/config.php{.example,}
|
||||
sudo ln -s /var/www/html/phpLDAPadmin-1.2.6.3 /var/www/html/pla
|
||||
```
|
||||
|
||||
ligne 329 du fichier config/config.php:
|
||||
```php
|
||||
$servers->setValue('server','base',array('cn=config','cn=monitor','dc=example,dc=fr'));
|
||||
```
|
||||
|
||||
vous pouvez aller sur http://ldxN.formation.opendoor.fr/pla/
|
||||
Reference in New Issue
Block a user