Настройка Bacula была описана в статье Настройка резервного копирования с помощью Bacula В этой статье написано о установке и настройке WEB-интерфейса для мониторинга (НЕ УПРАВЛЕНИЯ) Bacula под названием Bacula-Web 1.Установка необходимых пакетов Ubuntu
1 |
# apt-get install nginx apache2-utils php5-fpm php5-mysql php5-gd |
Centos
1 |
# yum install nginx php php-gd php-gettext php-mysql php-pdo |
2.Настройка PHP-FPM Ubuntu
1 |
# nano /etc/php5/fpm/php.ini |
1 2 |
cgi.fix_pathinfo=0 date.timezone = Europe/Kiev |
1 |
# egrep -v '(#|;|^$)' /etc/php5/fpm/pool.d/default.conf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
[nginx] user = nginx group = nginx listen = /var/run/php5-fpm.sock listen.owner = nginx listen.group = nginx listen.mode = 0660 pm = dynamic pm.max_children = 5 pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 3 pm.status_path = /status ping.path = /ping ping.response = pong access.log = /var/log/$pool.access.log slowlog = /var/log/$pool.log.slow request_slowlog_timeout = 3 chdir = / catch_workers_output = yes php_flag[display_errors] = off php_admin_value[error_log] = /var/log/fpm-php.nginx.log php_admin_flag[log_errors] = on php_admin_value[memory_limit] = 64M |
1 |
# php5-fpm –t |
1 |
# /etc/init.d/php5-fpm restart |
Centos
1 |
# nano /etc/php.ini |
1 2 |
cgi.fix_pathinfo=0 date.timezone = Europe/Kiev |
1 |
# egrep -v '(#|;|^$)' /etc/php-fpm.d/www.conf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
[www] listen = /var/run/php5-fpm.sock listen.allowed_clients = 127.0.0.1 listen.owner = nginx listen.group = nginx listen.mode = 0660 user = nginx group = nginx pm = dynamic pm.max_children = 20 pm.start_servers = 1 pm.min_spare_servers = 1 pm.max_spare_servers = 10 pm.max_requests = 500 pm.status_path = /status ping.path = /ping ping.response = pong request_slowlog_timeout = 3s slowlog = /var/log/php-fpm/www-slow.log catch_workers_output = yes php_admin_value[error_log] = /var/log/php-fpm/www-error.log php_admin_flag[log_errors] = on php_admin_value[memory_limit] = 64M php_value[session.save_handler] = files php_value[session.save_path] = /var/lib/php/session |
1 |
# php-fpm –t |
1 |
# /etc/init.d/php-fpm restart |
[…]