585 |
+cd /usr/share/cacti/cli |
+cd /usr/share/cacti/cli |
586 |
+ |
+ |
587 |
+#install, we put away, it seems that inside the event it just do not work |
+#install, we put away, it seems that inside the event it just do not work |
588 |
+/usr/bin/php74 install_cacti.php --accept-eula --install --path=php_binary:/usr/bin/php74 & |
+/usr/bin/php74 install_cacti.php --accept-eula --install & |
589 |
+pids=$! ; wait $pid; |
+pids=$! ; wait $pid; |
590 |
+ |
+ |
591 |
+ |
+ |
599 |
diff -Nur --no-dereference smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-ldap smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-ldap |
diff -Nur --no-dereference smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-ldap smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-ldap |
600 |
--- smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-ldap 2022-07-27 22:43:12.847000000 -0400 |
--- smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-ldap 2022-07-27 22:43:12.847000000 -0400 |
601 |
+++ smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-ldap 2022-07-27 23:58:46.807000000 -0400 |
+++ smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-ldap 2022-07-27 23:58:46.807000000 -0400 |
602 |
@@ -19,24 +19,25 @@ |
@@ -19,24 +19,26 @@ |
603 |
#ldap_group_require 'on' or '' |
#ldap_group_require 'on' or '' |
604 |
# then set our admin password |
# then set our admin password |
605 |
/usr/bin/mysql <<EOF |
/usr/bin/mysql <<EOF |
636 |
+REPLACE INTO ${db}.settings VALUES ('auth_method','3') ; |
+REPLACE INTO ${db}.settings VALUES ('auth_method','3') ; |
637 |
+REPLACE INTO ${db}.settings VALUES ('cn_full_name','cn') ; |
+REPLACE INTO ${db}.settings VALUES ('cn_full_name','cn') ; |
638 |
+REPLACE INTO ${db}.settings VALUES ('cn_email','mail') ; |
+REPLACE INTO ${db}.settings VALUES ('cn_email','mail') ; |
639 |
|
+REPLACE INTO ${db}.settings VALUES ('path_php_binary','/usr/bin/php74') ; |
640 |
|
|
641 |
+REPLACE INTO ${db}.settings VALUES ('user_template','3'); |
+REPLACE INTO ${db}.settings VALUES ('user_template','3'); |
642 |
|
|