Hi all,

I've not been able to find what what broken on my system, so I've
decided to re-install from scratch, which was really easy.

For those who are interested, these are the steps I've followed on my
Mandriva 2006 system:

1 - Download, extract and patch the sources as described in the doc.

2 - Run configure.pl in batch mode:

# configure.pl --batch \
  --cgi-dir /var/www/backuppc \
  --data-dir /var/lib/backuppc \
  --hostname mandriva \
  --html-dir /var/www/backuppc \
  --html-dir-url /backuppc \
  --install-dir /usr/share/backuppc

3 - Install the startup script

# cp ./init.d/linux-backuppc /etc/init.d/backuppc

# chkconfig --add backuppc
# chkconfig --level 345 backuppc on
# chkconfig --list backuppc

# chmod 744 /etc/init.d/backuppc

4 - Configure Apache

Create the following file:

/etc/httpd/conf/webapps.d/backuppc.conf

It reads:

<Directory /var/www/backuppc>
    Options ExecCGI
    DirectoryIndex index.cgi
    Allow from all
    AuthUserFile /etc/httpd/conf/webapps.d/backuppc.users
    AuthType basic
    AuthName "BackupPC"
    require valid-user
</Directory>


Then create the password file and add at least one user ('admin' for example):

# htpasswd -c /etc/httpd/conf/webapps.d/backuppc.users admin

5 - Adjust file permissions to make the WebGUI work

# cd /var/www/html/
# chown -R root:root backuppc/
# chmod 755 backuppc/

# cd /var/www/html/backuppc/
# chown backuppc:backuppc ./BackupPC_Admin
# chmod 4755 ./BackupPC_Admin

# mv ./BackupPC_Admin index.cgi

6 - Check the main config.pl file, restart 'backuppc' and 'httpd'
daemons and enjoy!

Of course, I may have missed something; just let me know ;-)

-- Vincent

PS : thank you Craig for your attention to my specific problem.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to