summaryrefslogtreecommitdiff
path: root/posts/2008-06-20-mirror-cpan.md
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-08-04 11:45:44 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-08-04 11:45:44 -0700
commit585b48b6a605cb71ef99dd767880e1b7ee5bf24e (patch)
treec65377350d12bd1e62e0bdd58458c1044541c27b /posts/2008-06-20-mirror-cpan.md
parentUse Bullet list for the index. (diff)
parentMass convert all posts from markdown to org. (diff)
downloadlumberjaph-585b48b6a605cb71ef99dd767880e1b7ee5bf24e.tar.gz
Merge branch 'convert-to-org'
Diffstat (limited to 'posts/2008-06-20-mirror-cpan.md')
-rw-r--r--posts/2008-06-20-mirror-cpan.md24
1 files changed, 0 insertions, 24 deletions
diff --git a/posts/2008-06-20-mirror-cpan.md b/posts/2008-06-20-mirror-cpan.md
deleted file mode 100644
index fd0218c..0000000
--- a/posts/2008-06-20-mirror-cpan.md
+++ /dev/null
@@ -1,24 +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:
-
-```sh
-local: /path/to/my/mirror/cpan
-remote: ftp://ftp.demon.co.uk/pub/CPAN/
-```
-
-And to finish, add this in your crontab:
-
-```sh
-5 14 * * * /usr/local/bin/minicpan > /dev/null 2>&1
-```
-
-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.