maj instructions pour RH9
This commit is contained in:
29
Readme.md
29
Readme.md
@@ -1,4 +1,4 @@
|
||||
# Installation de apache + php 7.2 + phpldapadmin
|
||||
# Installation de apache + php + phpldapadmin
|
||||
|
||||
Installation de phpldapadmin sur la machine ldxN.formation.opendoor.fr
|
||||
|
||||
@@ -8,18 +8,27 @@ L'accès aux branches cn=config et cn=monitor est possible avec le compte _olcro
|
||||
|
||||
|
||||
```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
|
||||
dnf install mod_ssl phpldapadmin -y
|
||||
#ligne 11 du fichier /etc/httpd/conf.d/phpldapadmin.conf: remplacer require local par require all granted
|
||||
systemctl enable --now httpd
|
||||
```
|
||||
|
||||
ligne 329 du fichier config/config.php:
|
||||
dans /etc/phpldapadmin/config.php :
|
||||
|
||||
ligne 327 rajouter:
|
||||
|
||||
```php
|
||||
$servers->setValue('server','host','localhost');
|
||||
```
|
||||
|
||||
ligne 335 rajouter:
|
||||
```php
|
||||
$servers->setValue('server','base',array('cn=config','cn=monitor','dc=example,dc=fr'));
|
||||
```
|
||||
|
||||
vous pouvez aller sur http://ldxN.formation.opendoor.fr/pla/
|
||||
ligne 453 remplacer uid par dn:
|
||||
```php
|
||||
$servers->setValue('login','attr','dn');
|
||||
```
|
||||
|
||||
aller sur http://ldxX.formation.opendoor.fr/phpldapadmin
|
||||
|
||||
Reference in New Issue
Block a user