Thursday, June 25, 2009

Install Perl module from CPAN

Using CPAN Alternatively, you can use CPAN to install the modules:

From the root prompt on your server, invoke the CPAN shell:

# perl -MCPAN -e shell

Once the Perl interpreter has loaded (and been configured), you can install modules with: install MODULENAME.

The first thing you should do is upgrade your CPAN:

cpan> install Bundle::CPAN

Once it is completed, type:

cpan> reload cpan

Now, enter the following command to retrieve all of the required modules:

cpan> install DateTime
cpan> install DBI
cpan> install DBD::mysql
cpan> install Class::Autouse

Monday, June 15, 2009

How to boot up to single mode from GRUB

At the selection menu, highlight the linux entry.
Type e
arrow down to the line which starts with kernel
Type e
go to the end of the line and space over one space
Type single and press the enter key
Type b to boot up in that mode

When you get to the prompt, you can change the root password with the passwd command.

When you are done, no need to reboot, just type init 5
Google+