Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Missing module perl

by Corion (Pope)
on Aug 21, 2019 at 08:06 UTC ( #11104781=note: print w/replies, xml ) Need Help??


in reply to Missing module perl

The ideal way to set up a local CPAN mirror is through CPAN::Mini. You then take this mirror on an USB stick (or however) to your internal machine.

You can point cpanminus to your internal mirror using

cpanm --mirror-only --mirror file://home/ridwan/cpan-mirror/ Whatever: +:Module

For more information, see cpanm.

If you tell us the exact command you run and the exact error message you get, maybe we can give you advice more geared towards your actual situation.

Replies are listed 'Best First'.
Re^2: Missing module perl
by ridwan (Initiate) on Aug 21, 2019 at 08:12 UTC

    I've been set up local mirror(vbox) like this :

    (Directory : /root/minicpanrc)

    local: /minicpanmirror

    remote: http://mirror.0x.sq/CPAN/

    exact_mirror: 1

      And how exactly does this fail for you? It is hard to diagnose your situation if you don't tell us what it is.

        I'm sorry don't tell u detail problem. I try tell u more.

        Condition :

        I have a development machine(and this is virtualmachine and linux, i access it with putty and winscp) and in this machine i want to i install perl. problem is, in this machine doesn't have connection internet. and there's some module perl doesn't install

        I make a vbox, and wanna become a repo cpan for a development machine

        In vbox, I make file "minicpanrc" "minicpanmirror" and directory (/root/minicpanrc)

        local: /minicpanmirror
        remote: http://mirror.0x.sq/CPAN/
        exact_mirror: 1

        and i make a folder "minicpanmirror" and directory and (/var/www/html/minicpanmirror)

        in the folder that contains CPANMINI

        and in development machine, i set cpan urllist like this(in shell cpan):

        urllist :
        [0] http://MY IP ADDRRESS REPO/minicpanmirror

        and i set virtual host(httpd.conf) in dev machine like this :

        <VirtualHost localhost:80>
        DocumentRoot "/var/www/html/minicpanmirror"
        <Directory "/var/www/html/minicpanmirror">
        AllowOverride All
        Allow from IP ADDRESS DEVELOPMENT
        </Directory>
        </VirtualHost>

        but i try install depedency cpan in development machine is doesn't work
        Can u help me ? :"(

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11104781]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2019-09-18 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (222 votes). Check out past polls.

    Notices?