Wuhai’s Weblog

September 10, 2008

miniCPAN

Filed under: perl — wuhai @ 5:37 pm

how to update Perl package via miniCPAN, with an extranet_server without internet access:

In intranet_server, do:

put miniCPAN folder under ‘/var/www/html’

ssh -R 9988:intranet_server:80 user@extranet_server

In extranet_server, do:

cpan

Please enter your CPAN site: [] http://localhost:9988/miniCPAN/
Enter another URL or RETURN to quit: []
New set of picks:

http://localhost:9988/miniCPAN/

cpan> o conf commit
cpan> reload index

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.