diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2016-08-10 14:33:04 -0700 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2016-08-10 20:17:56 -0700 |
| commit | 8d7d02f42c3947f756c18cb4d37d9d97fbd0d27d (patch) | |
| tree | a6cecddaaea7e87d901a6c28bebe3a531438f24b /posts/2008-06-20-mirror-cpan.org | |
| parent | Merge branch 'convert-to-org' (diff) | |
| download | lumberjaph-8d7d02f42c3947f756c18cb4d37d9d97fbd0d27d.tar.gz | |
convert back to md
Diffstat (limited to '')
| -rw-r--r-- | posts/2008-06-20-mirror-cpan.org | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/posts/2008-06-20-mirror-cpan.org b/posts/2008-06-20-mirror-cpan.org deleted file mode 100644 index 3659d41..0000000 --- a/posts/2008-06-20-mirror-cpan.org +++ /dev/null @@ -1,31 +0,0 @@ -For the last 10 months, I've been living with no internet connection at -home (not on purpose, but this is another story), so I've tried to be as -much as possible independent from the web. I've started to use git for -being able to work off-line, I use Vim as a wiki on my computer, my blog -engine for writing post off-line, ... - -As as perl developer, I use a lot the CPAN. So, I've start to mirror the -CPAN on my computer. Here is how: - -First, you will need the minicpan: =cpan CPAN::Mini=. - -Then, edit a *.minicpanrc* file and add the following: - -#+BEGIN_SRC sh - local: /path/to/my/mirror/cpan - remote: ftp://ftp.demon.co.uk/pub/CPAN/ -#+END_SRC - -And to finish, add this in your crontab: - -#+BEGIN_SRC sh - 5 14 * * * /usr/local/bin/minicpan > /dev/null 2>&1 -#+END_SRC - -Everyday, at 14h05, your cpan will be updated. - -Now use the CPAN cli: =sudo cpan= and execute the following command -=cpan[1]> o conf urllist unshift file:///path/to/my/mirror/cpan= - -And voilĂ , I've got my own minicpan on my computer, so I can install -everything when I need it, being off-line or not. |
