Posted on 12 Nov 2020

介绍

CentOS 8, Node: 10.21.0, Python: 3.6.8, Gcc:8.3.1

安装

  1. gitbook
    $ npm install gitbook-cli -g
    
  2. calibre
    $ sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
    
  3. 设置
    export QTWEBENGINE_DISABLE_SANDBOX=1
    

    gitbook ERROR:zygote_host_impl_linux.cc(89)] Running as root without –no-sandbox is not supported. See https://crbug.com/638180.