CAMD Server Control (CSC)
INSTALL
Code:- Requirements: - Apache - php5 - Required Linux Packages: - mailutils - sudo - cal (optional) - calendar (optional) apt-get install mailutils sudo cal calendar - htaccess: - default user and password: admin - add the full .htpasswd-path to the .htaccess file (first line, e.g. "AuthUserFile /var/www/csc/.htpasswd") - lib/configs/main.cfg.php - adjust the settings to your environment. - lib/bin/*.sh - Set permissions to 755 for all files in bin: chmod 755 /YOUR/PATH/TO/CSC/lib/bin/*.sh - Set permissions to Apache user: visudo (or vi /etc/sudoers); add the following line: www-data ALL=NOPASSWD: /YOUR/PATH/TO/exec.sh - Watchdog Create/use your own Watchdog and add the following lines to it, so you are able to deactivate it: # WATCHDOG DISABLED? if [ -e /tmp/.camd_watchdog_disabled ]; then exit 0 fi
by schorsch100




Reply With Quote