User Tools

Site Tools


freebsd_nginx_backuppc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

freebsd_nginx_backuppc [2017/07/11 15:58]
k2patel [FCGI]
freebsd_nginx_backuppc [2020/08/10 02:35]
Line 1: Line 1:
-====== 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.\\ 
- 
-<code bash> 
-pkg install nginx 
-pkg install rrdtool 
-pkg install fcgiwrap 
-</​code>​ 
- 
-I've built backuppc4, because i needed to choose more options than default. 
-<code bash> 
-cd /​usr/​ports/​sysutils/​backuppc4/​ 
-make config # Select options you want to install 
-make -j4 
-make install 
-</​code>​ 
- 
-==== Configuration ==== 
-===== Backuppc ===== 
-Enable backuppc daemon 
-<code bash> 
-sysrc backuppc_enable=YES 
-</​code>​ 
- 
-===== FCGI ===== 
-Running Nginx going to use fcgiwrap package instead of CGI. 
-Enable wrapper in rc.conf. 
-<code bash /​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"​ 
-</​code>​ 
freebsd_nginx_backuppc.txt ยท Last modified: 2020/08/10 02:35 (external edit)