Calibre on Docker make your NAS a local personal E-book Library

借助Docker上运行的Calibre将你的NAS变成个人在线电子图书馆

You may have a lot of e-books, I mean a lot, far more than dozens, even hundreds or thousands. Then you might already have heard or been using Calibre , an awesome one-stop shop for reading , managing , converting and indexing your e-books.

假如你有很多电子书,注意,是很多,多到不止几十本,而是成百上千甚至上万本,那么估计你会听说过或者使用过Calibre,一个很棒的一站式电子书工具,可以阅读、转换、检索,还可以提供在线服务。

It will be more awesome if you got an NAS, such as Synology, FreeNAS or some other platforms. Then you can run Docker on it , with which you can run a Xware container as a Thunder remote downloader, and you can also try to run Calibre server on Docker as your local personal E-book Library.

假如你有一台NAS,例如群晖或者是FreeNas等等,并且你在上面安装了Docker,那么估计你会尝试过用Xware进行迅雷离线下载,然后你也可以试试通过Docker安装和使用Calibre来搭建个人电子图书馆。这样内网的所有设备都可以访问和下载你拥有的所有电子书了。

You can find an image of Calibre on Docker Hub. I choose this one, which is very easy to config.

目前有很多Calibre镜像可供选择,在Docker Hub上面都能搜索到,我这次选择的是这个,特点是配置起来比较简单,而且可以完美运行在群晖甚至黑群晖上。

I am using a Synology DS3615xs, with a 2Ghz CPU, 4Gb Ram, and DSM version 5.2-5644.

我选作样例的是一台群晖DS3615xs,双核2Ghz处理器,4Gb内存,DSM版本为5.2-5644。

The image I choose works well on both Synology and XPEnology. You need to install Docker first, then search "Calilbre", and download an image that you like. I choose bcleonard/calibre , version 2016.5.31.1, the only one works well on my machine. The others all failed in my platform, that may be caused by the kernel version of my DSM.

对于群晖或者黑群晖用户,需要先在套件中心中安装Docker,然后在docker中搜索Calibre,然后找一个看着顺眼的来安装。这里注意,我选择的是bcleonard/calibre,安装的是2016.5.31.1版本,选择这个镜像是因为其他镜像都下载失败了,只有这个成功了,怀疑是其他的镜像对系统内核的要求过高。

Then just follow the guidance in the pictures below. I use Chinese in those pictures because that is my mother tongue and I love it.

本文就面向群晖用户,下面的截图就是下载完成之后的操作步骤:

本次通过向导来启动。

名字随便了,记得一定要把8080这个端口映射到某个固定端口,这样方便访问。

创建一个桌面快捷方式这样以后访问操作也方便。

一定要点击高级设置,在这里挂载本地已有的Calibre书库目录到/data/library给容器来使用。

另外一个/data/addbooks目录是做啥用的还没弄明白。

总体设置就是这样的,弄好了之后就可以运行了。

之后就可以访问我们映射的那个端口了。

If you rock, you can use Docker under cli and the introduction here will be helpfu.

通过Docker命令来使用就更加简单了,可以参考镜像作者的说明

Using Calibre on Docker is more than turning NAS an online library, it can also be used on computer related class. Students can handle their pdf of doc files to a NAS, then teachers can use Calibre to manage, index, read and score. That will save some time.

这样用NAS做书库,可以实现任意一台内网计算机上用Calibre对远程书库进行维护管理,任意一台内网设备对该书库进行访问,避免了每台机器都要内置一份书库而带来的存储空间浪费。另外用Calibre管理PDF和Word文档,还可以用作机房管理统计作业,教师可以要求学生把文稿发送到NAS的指定位置,然后教师可以通过Calibre来对这些文件进行统计和阅读,还可以利用Calibre的评分和标签功能来进行打分管理等等。应用情景还是挺丰富的。

Category: NAS
Category
Tagcloud
Telescope Life FuckChunWan Server Geology RTL-SDR Hack RaspberryPi Python Pyenv macOS GeoPython Communicate IDE Lesson Story Mount&Blade Visualization ChromeBook GIS VTK Camera VirtualBox Translation Junck Disease Raspbian QEMU Science MayaVi NAS Kivy University Software Poem Scholar FckZhiHu Game Learning Xcode Hadoop DIY Hardware Video Linux Book Photo Shit Memory Microscope Hackintosh Chat Programming Radio Virtualization Hate Photography PHD Mac CUDA GlumPy Translate PyOpenCL Moon QGIS Lens Discuss HBase FuckZhihu Download Library OpenCL Data Conda QT VisPy