锦方的个人网页 · 如果有一天你突然想起了我


部署calibre-web

目录

安装calibre

sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"

sudo apt-get install xvfb imagemagick

mkdir ~/calibre-library

calibre-server  ~/calibre-library
可以通过设置脚本来开机启动

遇到的错误 1、语言,Google搜索一下可以解决这个问题,记得重启。

WARNING: Failed to set default libc locale, using en_US.UTF-8

perl: warning: Falling back to the standard locale ("C").

2、还有这个可以忽略的问题

____________________ WARNING ____________________
Setting up desktop integration failed with error:
__________________________________________________


	Traceback (most recent call last):
	  File "site-packages/calibre/linux.py", line 861, in setup_desktop_integration
	  File "subprocess.py", line 541, in check_call
	CalledProcessError: Command 'xdg-desktop-menu install --noupdate ./calibre-gui.desktop' returned non-zero exit status 3

Creating un-installer: /usr/bin/calibre-uninstall


There were 1 warnings

* Setting up desktop integration failed with error:

Run "calibre" to start calibre 

安装calibre-web

git clone https://github.com/janeczku/calibre-web/
cd calibre-web
pip install --target vendor -r requirements.txt
python cps.py

参考: https://manual.calibre-ebook.com/server.html#creating-a-service-for-the-calibre-server-on-a-modern-linux-system https://grantwinney.com/calibre-is-awesome-calibre-server-is-not/ https://www.digitalocean.com/community/tutorials/how-to-create-a-calibre-ebook-server-on-ubuntu-14-04

系列:install

该系列自动来自分类: install

  1. 部署calibre-web (当前)
  2. 重装mac os
  3. mac os上直接使用NTFS
  4. 再也不买不能解bl的手机了
  5. Firefox设置
  6. Debian安装nextcloud
  7. OpenBSD在VirtualBox和安装xfce
  8. 使用PGP
  9. 改变MAC地址
  10. 在小内存设备上安装bitcoin core钱包
  11. 把hexo移到了mac上
  12. 在debian8的服务器使用v2ray的TLS
  13. debian安装FFmpeg来合并youtube音频
  14. 使用youtube-dl下载Youtube视频
  15. debian安装steem钱包失败
  16. debian在U盘上安装tails
  17. linux生成随机密码
  18. debian安装Resilio Sync
  19. linux install OpenPLC
  20. debian桌面端安装DraftSight
  21. debian桌面端安装virtualbox和安卓模拟器
  22. china uses dropbox
  23. Nginx installs SSL certificates
  24. debian install shadowsocks
  25. Visual studio code set the python environment
  26. 在vps上安装 shadowsocks
  27. install hexo

下一篇推荐

系列继续阅读

重装mac os