server_und_serverdienste:backuppc_auf_centos_mit_ldap
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Nächste Überarbeitung | Vorherige Überarbeitung | ||
| server_und_serverdienste:backuppc_auf_centos_mit_ldap [2017/04/25 07:26] – angelegt boospy | server_und_serverdienste:backuppc_auf_centos_mit_ldap [2025/05/18 08:18] (aktuell) – loma | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Backuppc auf Centos mit LDAP ====== | ====== Backuppc auf Centos mit LDAP ====== | ||
| + | Du möchtest dich gerne für unsere Hilfe erkenntlich zeigen 8-o. Gerne. Wir bedanken uns bei dir für deine Spende! 🙏 \\ | ||
| + | [[https:// | ||
| + | \\ | ||
| + | Zum frei verfügbaren [[: | ||
| + | \\ | ||
| + | GITLAB: [[https:// | ||
| + | \\ | ||
| + | \\ | ||
| __**Verwendetes System: CentOS 7**__ | __**Verwendetes System: CentOS 7**__ | ||
| ===== Installation ===== | ===== Installation ===== | ||
| < | < | ||
| - | yum install perl-LDAP.noarch perl-Apache-Session-LDAP.noarch httpd mod_perl backuppc elinks | + | yum install perl-LDAP.noarch perl-Apache-Session-LDAP.noarch httpd mod_perl backuppc elinks |
| + | usermod -s /bin/zsh backuppc | ||
| </ | </ | ||
| + | |||
| + | ===== Konfiguration ===== | ||
| + | |||
| + | Ändern der Config: | ||
| + | < | ||
| + | nano / | ||
| + | </ | ||
| + | <file perl config.pl> | ||
| + | |||
| + | # von | ||
| + | |||
| + | $Conf{CgiAdminUserGroup} = ''; | ||
| + | | ||
| + | |||
| + | # auf | ||
| + | |||
| + | $Conf{CgiAdminUserGroup} = ''; | ||
| + | | ||
| + | |||
| + | # von | ||
| + | |||
| + | $Conf{PingPath} = ''; | ||
| + | |||
| + | # zu | ||
| + | |||
| + | $Conf{PingPath} = '/ | ||
| + | </ | ||
| + | |||
| + | Apacheconfig für Backuppc editieren: | ||
| + | < | ||
| + | nano / | ||
| + | </ | ||
| + | <file bash BackupPC.conf> | ||
| + | < | ||
| + | # BackupPC requires valid authentication in order for the web interface to | ||
| + | # function properly. One can view the web interface without authentication | ||
| + | # though all functionality is disabled. | ||
| + | # | ||
| + | # htpasswd -c / | ||
| + | # | ||
| + | AuthType Basic | ||
| + | | ||
| + | | ||
| + | < | ||
| + | < | ||
| + | | ||
| + | < | ||
| + | | ||
| + | # --> In order to access only this specific IP | ||
| + | # Require ip 192.168.16 | ||
| + | | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | | ||
| + | Order allow,deny | ||
| + | #Deny from all | ||
| + | Allow from all | ||
| + | </ | ||
| + | </ | ||
| + | Alias / | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | < | ||
| + | chown -R backuppc: | ||
| + | </ | ||
| + | ==== Benutzer anlegen ==== | ||
| + | < | ||
| + | htpasswd -c / | ||
| + | setcap cap_net_raw+ep /bin/ping | ||
| + | systemctl restart backuppc.service | ||
| + | systemctl restart httpd.service | ||
| + | </ | ||
| + | |||
| + | ===== Migration von Ubuntu auf Centos7 ===== | ||
| + | |||
| + | Folgende Dinge müssen beim Migrieren geändert/ | ||
| + | |||
| + | * Konfigfiles der einzelnen Hosts liegen nicht unter ''/ | ||
| + | * Configfiles müssen die Gruppe " | ||
| + | * Das Hauptverzeichnis von Backuppc ist in CentOS7 ''/ | ||
| + | * SSH-Keys natürlich nicht vergessen zu kopieren. | ||
| + | |||
server_und_serverdienste/backuppc_auf_centos_mit_ldap.1493105206.txt.gz · Zuletzt geändert: von boospy
