Difference between revisions of "System Administration"

From Bioinformatics Software
Jump to navigationJump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
[[Category:howto]]
 +
 
== Generic Ubuntu ==
 
== Generic Ubuntu ==
 
=== Package repositories ===
 
=== Package repositories ===
Line 10: Line 12:
  
 
== Mac OS X (kiwi) ==
 
== Mac OS X (kiwi) ==
 +
=== Installing new Perl modules from CPAN ===
 +
To install a Perl module from [http://search.cpan.org CPAN], you first need to launch the CPAN shell on kiwi:
 +
  sudo -s
 +
  perl -MCPAN -eshell
 +
At the ''cpan>'' prompt, type 'install MODULE_NAME', where MODULE_NAME is the name of the module as listed on CPAN, for example: ''Example::Module'' or ''DBD::mysql''
 +
  install Example::Module
 +
The CPAN shell should then automatically compile/test/install the given module.
  
 
== Pepito ==
 
== Pepito ==

Latest revision as of 23:21, 11 June 2008


Generic Ubuntu

Package repositories

The default mirror for machine installed around Nova Scotia is sometime doing wierd things. Switching to another server seems to do the trick. I recommend U Waterloo's repository at http://mirror.csclub.uwaterloo.ca/. To change this:

A list of mirror is available here: https://launchpad.net/ubuntu/+archivemirrors

Mac OS X (kiwi)

Installing new Perl modules from CPAN

To install a Perl module from CPAN, you first need to launch the CPAN shell on kiwi:

  sudo -s
  perl -MCPAN -eshell

At the cpan> prompt, type 'install MODULE_NAME', where MODULE_NAME is the name of the module as listed on CPAN, for example: Example::Module or DBD::mysql

  install Example::Module

The CPAN shell should then automatically compile/test/install the given module.

Pepito