summaryrefslogtreecommitdiff
path: root/_posts/2008-06-20-mirror-cpan.md
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-07-02 20:04:59 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-07-02 20:04:59 -0700
commit8f187c573954b6c8d1650ac33a164c52e032ac16 (patch)
treec605d0cf51d272393006e5486bfdc24984cf801f /_posts/2008-06-20-mirror-cpan.md
parentUpdate some posts to make the tests pass. (diff)
downloadlumberjaph-8f187c573954b6c8d1650ac33a164c52e032ac16.tar.gz
Stop using Jekyll.
Moving away from Jekyll to Hugo. This commit clean up the old files to prepare for the migration.
Diffstat (limited to '_posts/2008-06-20-mirror-cpan.md')
-rw-r--r--_posts/2008-06-20-mirror-cpan.md31
1 files changed, 0 insertions, 31 deletions
diff --git a/_posts/2008-06-20-mirror-cpan.md b/_posts/2008-06-20-mirror-cpan.md
deleted file mode 100644
index 37112b4..0000000
--- a/_posts/2008-06-20-mirror-cpan.md
+++ /dev/null
@@ -1,31 +0,0 @@
----
-layout: post
-title: Mirror cpan
-summary: In which I setup a mirror of CPAN using minicpan.
-type: codex
----
-
-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:
-
-{% highlight sh %}
-local: /path/to/my/mirror/cpan
-remote: ftp://ftp.demon.co.uk/pub/CPAN/
-{% endhighlight %}
-
-And to finish, add this in your crontab:
-
-{% highlight sh %}
-5 14 * * * /usr/local/bin/minicpan > /dev/null 2>&1
-{% endhighlight %}
-
-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.