Hi Fellows Backuppers!
Finally, my backuppc in CentOS 6.2 is working! I just want to comment what
I did in case someone had, have or will have the same problem.
After installing CentOS minimal 6.2 and disable SeLinux and the IpTables
(just in case). So what I did was:
wget
http://download.fedora.redhat.com/pub/epel/beta/6/i386/perl-File-RsyncP-0.68-6.el6.i686.rpm
yum -y localinstall perl-File-RsyncP-0.68-6.el6.i686.rpm
yum install perl-Net-FTP-AutoReconnect.noarch
yum install perl-Net-FTP-RetrHandle.noarch
wget
http://download.fedora.redhat.com/pub/epel/beta/6/i386/BackupPC-3.1.0-13.el6.noarch.rpm
yum -y localinstall BackupPC-3.1.0-13.el6.noarch.rpm
yum install sudo.i686
After that, I follow the indications in CentOS.org about backuppc
http://wiki.centos.org/HowTos/BackupPC but with the differences that
instead of:
htpasswd -c /var/lib/backuppc/passwd/htpasswd your_user
you have to do :
htpasswd -c /etc/BackupPC/apache.users yourusername
You can find this at /etc/httpd/conf.d/BackupPC.conf
Then just follow what is writen in CentOS How To link.
Thanks for your help boys
Regards
On Tue, Feb 7, 2012 at 5:26 PM, Les Mikesell <[email protected]> wrote:
> On Tue, Feb 7, 2012 at 2:12 PM, Richard Shaw <[email protected]> wrote:
> >>
> >> I have to admit, the first change I make on BackupPC systems is to set
> >> SELinux to Permissive. Too many issues without doing that.
> >>
> >> It's on my list to overcome that, but not a real high priority, sadly.
> >
> > I'm not sure what the differences are between Fedora and RHEL as far
> > as SELinux, but I know I didn't have to do anything in order to get
> > the BackuPC web interface working.
> >
> > I have apache.users in /etc/BackupPC.
>
>
> I think it depends on the security context of the process when you
> create the apache.users file. For example, if you run ssh-copy-id
> from a pre 6.x system to update your authorized_keys file on a 6.x
> system, the file is created with the wrong context and sshd will not
> be able to read it. This may be something similar.
>
> --
> Les Mikesell
> [email protected]
>
>
>
> >
> > In /etc/httpd/conf.d/BackupPC.conf I have:
> > <Directory /usr/share/BackupPC/sbin/>
> > # BackupPC requires valid authentication in order for the web interface
> to
> > # function properly. One can view the web interface without
> authentication
> > # though all functionality is disabled.
> > #
> > # htpasswd -c /etc/BackupPC/apache.users yourusername
> > #
> >
> > order deny,allow
> > deny from all
> > allow from 192.168.0.0/255.255.255.0
> > allow from 127.0.0.1
> > allow from ::1
> > AuthType Basic
> > AuthUserFile /etc/BackupPC/apache.users
> > AuthName "BackupPC"
> >
> > require valid-user
> >
> > </Directory>
> >
> > Alias /BackupPC/images /usr/share/BackupPC/html/
> > ScriptAlias /BackupPC
> /usr/share/BackupPC/sbin/BackupPC_Admin
> > ScriptAlias /backuppc
> /usr/share/BackupPC/sbin/BackupPC_Admin
> > ---
> >
> > Maybe this helps?
> >
> > Richard
> >
> >
> ------------------------------------------------------------------------------
> > Keep Your Developer Skills Current with LearnDevNow!
> > The most comprehensive online learning library for Microsoft developers
> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > Metro Style Apps, more. Free future releases when you subscribe now!
> > http://p.sf.net/sfu/learndevnow-d2d
> > _______________________________________________
> > BackupPC-users mailing list
> > [email protected]
> > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> > Wiki: http://backuppc.wiki.sourceforge.net
> > Project: http://backuppc.sourceforge.net/
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/