Install fwbackups on CentOS 6
1. Install the following dependencies:
yum install automake autoconf gettext python cronie pygtk* libglade2-devel python-crypto python-paramiko notify-python make gcc intltool -y
2. Download the source from SourceForge:
cd /tmp
wget http://downloads.diffingo.com/fwbackups/fwbackups-1.43.4.tar.bz2
3. Extract the archive and compile it:
tar xvf fwbackups-1.43.4.tar.bz2
cd fwbackups-1.43.4
./configure --prefix=/usr/local
make
make install
4. Edit /usr/local/bin/fwbackups and add the following to line 22:
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/site-packages/
5. Start the application and start backing up stuff:
fwbackups
5 comments:
Hi,
I am running CentOS 7 and executed all of your commands above sucessfully. But when running fwbackups it gives me this error message:
An error occurred while importing gtk/gobject.
Please make sure you have a valid GTK+ Runtime Environment.
Would you know how to fix it?
thx
Stephane
For CentOS 7 you will now need to change line 22 to:
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages/
But then after that I'm getting the same error:
An error occurred while importing gtk/gobject.
Please make sure you have a valid GTK+ Runtime Environment.
Ah! As always, I figured it out just after I posted... if you've SSHed into the box you are running, you obviously won't have a GTK+ Runtime Environment. You're in a SSH Environment. Log into the computer that you've installed fwbackups in, and run it. Sorry for being an idiot.
Hi,
You need a valid display, if you are using a Linux Server without desktop interface you can use VNC or Mobaxterm to export DISPLAY, it works!
Sanlama
hi,
i have a error following
ImportError: No module named fwbackups.const
Post a Comment