Subscribe to
Posts
Comments

I am a physical chemist working at the Oxford Centre for Clinical Magnetic Resonance Research and Merton College at the University of Oxford. Please follow one of the links above to find out more about me. The bar on the right of this page has links to other websites. Recent additions to my website are shown below.

Backup software

I use a piece of software called Bacula to make backups of the data on our home PC’s and on various websites.

Version 2.0 of Bacula has just been released!

I have built a set of RPMs for fedora core 4. They were built using this spec file in the following procedure.

Installing v2.0

Configure

CFLAGS=”-g -Wall” ./configure \
–prefix=/usr \
–sbindir=/usr/sbin \
–sysconfdir=/etc/bacula \
–with-scriptdir=/etc/bacula \
–enable-smartalloc \
–enable-gnome \
–with-mysql \
–with-working-dir=/var/bacula \
–with-pid-dir=/var/run \
–with-subsys-dir=/var/lock/subsys \
–enable-conio

Then copy bacula.spec to ~/bacula_v2

Then cp bacula-2.0.0.tar.gz ~/rpmbuild/SOURCES/

wget ‘http://switch.dl.sourceforge.net/sourceforge/bacula/depkgs-04Jan07.tar.gz’

Edit bacula.spec to refer to this depkgs version at the top.

[chris@lilac bacula_v2]$ cd bacula-2.0.0
[chris@lilac bacula-2.0.0]$ ls
ABOUT-NLS ChangeLog config.out COPYING kernstodo Makefile.in platforms README scripts technotes-1.39
AUTHORS CheckList config.status examples LICENSE manpages po README.AIX src updatedb
autoconf config.log configure INSTALL Makefile patches projects ReleaseNotes SUPPORT VERIFYING
[chris@lilac bacula-2.0.0]$ mkdir /tmp/tt
[chris@lilac bacula-2.0.0]$ cp ReleaseNotes /tmp/tt/Release_Notes-2.0.0-1.txt
[chris@lilac bacula-2.0.0]$ cd /tmp/tt
[chris@lilac tt]$ tar -czvf Release_Notes-2.0.0-1.tar.gz Release_Notes-2.0.0-1.txt
Release_Notes-2.0.0-1.txt
[chris@lilac tt]$ cp Release_Notes-2.0.0-1.tar.gz ~/rpmbuild/SOURCES/

cp bacula-docs-2.0.0.tar.gz ~/rpmbuild/SOURCES/

cd ~/rpmbuild/SOURCES/
[chris@lilac SOURCES]$ wget ‘http://kent.dl.sourceforge.net/sourceforge/bacula/bacula-rescue-2.0.0.tar.gz’

Edit bacula.spec to refer to this version.

Then rpmbuild -ba –define ‘build_fc4 1′ –define ‘build_mysql 1′ –define ‘build_mysql4 1′ bacula.spec

[root@lilac ~]# /etc/bacula/bacula stop
Stopping the Bacula File daemon
Stopping the Bacula Storage daemon
Stopping the Bacula Director daemon

Reset a forgotten admin password

A family member recently asked me how they could get access to an old PC running Windows XP Pro, whose administrator password they no longer knew. I found this tool invaluable. It reset the password in a matter of minutes and with no problems.

Links

I am enjoying a relaxing time with my family over Christmas. I wish you too a merry Christmas and a happy new year.

Editrights

Editrights is a small command line utility for Windows NT / 2000 / XP and Vista that allows one to alter the assignment of user rights. It is used as part of the Cygwin system to allow automated installation of the OpenSSH server sshd.

Download editrights

« Prev