PyBlosxom |
/Education:
Free Online Courses at MIT
While reading about Open Source Courseware[1], I stumbled across the fact that there is a lot of free courses offered online. Including some 1900 courses at MIT[2]!! And quite a list of computer science related courses[3].
[1] http://www.linux.com/news/software/applications/17742-a-class-on-open-source-courseware
[2] http://ocw.mit.edu/OcwWeb/web/courses/visits/index.htm
[3] http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/
posted at: 04:34 | path: /Education | permanent link to this entry
/Hosting/NearlyFreeSpeech:
BackupPC and nearlyfreespeech.net
Just in case anyone else has the bright idea of trying to use their existing BackupPC backup server to backup websites on nearlyfreespeech.net, let me save you some time: it will not work.
nearlyfreespeech.net assigns different IP addresses to different web services. So you can ping your web host, for example, at xxxx.nfshost.com, but the SSH server you connect to in order to gain SSH access to your hosting directory is on a different IP at ssh.phx.nearlyfreespeech.net. If you try to ping ssh.phx.nearlyfreespeech.net you will get no response.
For better or worse, BackupPC insists on a backup client being pingable before it will attempt a backup.
If anyone has a bright idea, I am all ears....
In the meantime, rdiff-backup[1] works nicely.
[1] http://blog.langex.net/index.cgi/Admin/backups/rdiff-backup/
posted at: 05:30 | path: /Hosting/NearlyFreeSpeech | permanent link to this entry
/Admin/backups/backuppc:
Backuppc Server
I have chosen backuppc[1] as my backup server software. It is powerful, flexible, has a web-based GUI, and yes, it does take a little bit of study to get it working. And documentation seems to be missing our favorite section: the "Quick Start". I will try to provide enough of a tutorial for a "Quick Start" here. Note that a more verbose tutorial exists here www.debianhelp.co.uk/backuppc.htm.
First, when you install backuppc, make sure that you also install libfile-rsyncp-perl. On my Debian box, this lib is "suggested" so it does not get installed automatically. You probably need to note your GUI login id (backuppc?) and password generated during the install. And another item that may also be Debian-specific is that it installs by default already setup to backup your localhost /etc directory.
Once installed, if you are sitting at the machine to which backuppc has been installed, point your web browser to localhost/backuppc/ then enter the userid and password noted above at the prompt. Choose "localhost" from the host drop down menu, then click the "Start Full Backup". A couple minutes later your /etc should be backed up. Then click the "Browse Backups" link on the upper left. That should give a general idea of useage.
You can modify your backuppc password by running the following command: "htpasswd /etc/backuppc/htpasswd backuppc"
To setup backup for another machine, you need to go to /etc/backuppc/. The main config file is config.pl, which I am trying really hard not to change so as to preserve default behavior through future upgrades. That may not work for you if you have a lot of machines to backup and want to do a lot of customization.
To add another backup machine, first create a name.pl file, where "name" is the name of the machine in your /etc/hosts file. Sample content to use rsyncd to backup /etc/ and /home on the remote machine might be the following:
$Conf{XferMethod} = 'rsyncd';Note that you might want to add something like
$Conf{RsyncdUserName} = 'userid';
$Conf{RsyncdPasswd} = 'password';
$Conf{RsyncShareName} = ['etc', 'home'];
$Conf{BackupFilesExclude} = ['/sys', '/proc', '/dev', '/cdrom', '/media', '/floppy', '/mnt', '/var/lib/backuppc', '/lost+found'];
to the above config if you are backing up the root partition of an entire Linux system, for instance.
Then edit /etc/backuppc/hosts to contain the following two lines:
localhost 0 backuppcwhere "nameOfMachineToBeBackedUp" is the same as "name" from name.pl.
nameOfMachineToBeBackedUp 0 backuppc
[1] http://backuppc.sourceforge.net/
posted at: 04:48 | path: /Admin/backups/backuppc | permanent link to this entry
/TechWriting:
Advice for Chinese Writers of English Documents
In the course of editing, I have found some common mistakes which should be given some attention by writers:
posted at: 04:16 | path: /TechWriting | permanent link to this entry