freebsd_nginx_backuppc
This is an old revision of the document!
Table of Contents
freebsd + nginx + backuppc
My current installation is inside JAIL, inside freenas.
Not going to discuss on setting up jail etc., this topic mainly focused on quick installation once your JAIL is setup.
Installation
Installing packages required.
pkg install nginx pkg install rrdtool pkg install fcgiwrap
I've built backuppc4, because i needed to choose more options than default.
But you can install using command
cd /usr/ports/sysutils/backuppc4/ make config # Select options you want to install make -j4 make install
Configuration
Backuppc
Enable backuppc daemon
sysrc backuppc_enable=YES
FCGI
Running Nginx going to use fcgiwrap package instead of CGI. Enable wrapper in rc.conf.
- /etc/rc.conf
fcgiwrap_enable="YES" fcgiwrap_profiles="main" fcgiwrap_socket_owner="www" fcgiwrap_main_socket="unix:/var/run/fcgiwrap/fcgiwrap.socket" fcgiwrap_main_user="backuppc"
freebsd_nginx_backuppc.1499789744.txt.gz · Last modified: 2020/08/10 02:30 (external edit)