Difference between revisions of "System Administration"

From Bioinformatics Software
Jump to navigationJump to search
(New page: == Generic Ubuntu == == Mac OS X (kiwi) == == Pepito ==)
 
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
[[Category:howto]]
 +
 
== Generic Ubuntu ==
 
== 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:
 +
* backup /etc/apt/sources.list
 +
* replace http://ca.ubuntu.[...] by another server name such as http://mirror.csclub.uwaterloo.ca/ .
 +
* Save the file
 +
* type sudo apt-get update
 +
 +
A list of mirror is available here: https://launchpad.net/ubuntu/+archivemirrors
  
 
== 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 02:21, 12 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