From: Vincent F. <v.f...@gm...> - 2006-05-25 20:33:17
|
2006/5/25, Mattia Martinello <li...@ma...>: > is there a .rpm version of BackupPC for SuSE Linux 10? > I don't found it, but it would be very good :-) > I don't know if there is an RPM version for SuSE, but I think you'd better do a manual install. I've tried to build my own RPM package for Mandriva but I simply gave up... These are the steps I've followed on my Mandriva 2006 system: 1 - Download, extract and patch the sources as described in the (very good)= 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 'admin' user: # htpasswd -c /etc/httpd/conf/webapps.d/backuppc.users admin (NOTA : I don't really know where this file is supposed to be, but if I put it under /var/lib/backuppc/conf then Apache just can't read it...) 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 |