Wednesday, October 12, 2005

POstfix

Did a quick postfix setup...could send mails but could not receive...the culprit was teh router which was blocking port 25.

Friday, August 05, 2005

DRUPAL /usr/share/doc/drupal/README.Debian.gz

/usr/share/doc/drupal/README.Debian.gz

Saaala

All perl modules in Hoary Hedgehog are managed by the apt-get/synaptic system?
Damn...and i was MCPANing them all the while...

Monday, July 25, 2005

SCP Funda

The syntax for SCP is almost identical to the regular cp command for copying files, but with an added syntax for specifying the server the filesystem resides on:

scp [user@host:] [user@host:]

For example, to copy xyz.cpp from the current directory to my home directory on bakwaas.homelinux.net, I would type this:

scp xyz.cpp mylogin@bakwaas.homelinux.net:/home/mylogin

Usage in Perl

unless ( @ARGV == 1){
die "usage:\.\\script_name ";

Important it is @ARGV and not $ARGV.

Friday, July 15, 2005

Movable Type

So the jokers at Movable Type didnot update their manual for apache2. Had trouble to get the cgi scripts to run...

Did the following for it to work...
Added the following file to apache2.conf...

"< Directory /var/www/apache2-default >"
Options +ExecCGI
"< /Directory> "

the other instruction was correct that is...


Outside of the Directory or Location block, add the line
AddHandler cgi-script .cgi
Restart the webserver.


An the woes continued ...on running mt-load.cgi, the damn thing showed access denied...so figured from google that the user lacked create permissions...did a grant ALL on database.* to databaseuser@localhost...and things worked!

Wednesday, June 22, 2005

Ubuntu:How to mount network folders on boot-up, and allow all users to read/write?

http://www.ubuntuguide.org/#mountunmountnetworkfolders

Wednesday, June 15, 2005

Rsync Vs Unison

http://www.cis.upenn.edu/~bcpierce/unison/

Monday, June 13, 2005

Deleting Linux Partitions and Windows doesn't boot!!

Okai, here is the situation..roomie's machine had a dual boot congiguration ( Windoze XP and Ubuntu)...the partition which had the linux installation was deleted ( from Administrator Tools in XP)...when rebooted, it would fail at grub! Couldn't boot into windows.
FIX:-
a) insert the original windows XP installation CD.
b) Press R to enter Recovery mode.
c) run chkdsk
d) run fixmbr
e) fixboot

reboot by typing exit on the command line.