如何在Debian上从源代码构建闪亮的服务器?

时间:2016-05-04 18:41:55

标签: r github debian shiny shiny-server

我正试图在公司的Debian机器上启动一个闪亮的服务器。基于wiki:https://github.com/rstudio/shiny-server/wiki/Building-Shiny-Server-from-Source,我选择"从源代码构建服务器"因为Debian不是受支持的发行版。

我一步一步地遵循指示。但是,当我尝试运行时出错:

$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DPYTHON="$PYTHON" ../

-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done

CMake Error at external/pandoc/CMakeLists.txt:14 (file):
   file DOWNLOAD HASH mismatch

    for file: [/home/mli/shiny_server/shiny-server/tmp/external/pandoc/pandoc-1.12.3.zip]
        expected hash: [1541304bf51d86e361b7d930f899ac1c]
        actual hash: [d41d8cd98f00b204e9800998ecf8427e]
        status: [7;"Couldn't connect to server"]

错误的详细信息列为:

mkdir: cannot create directory ‘/home/mli/shiny_server/shiny-server/tmp/external/pandoc/pandoc-1.12.3.zip’: File exists
       End-of-central-directory signature not found.  Either this file is not
       a zipfile, or it constitutes one disk of a multi-part archive.  In the
       latter case the central directory and zipfile comment will be found on
       the last disk(s) of this archive.

我一直在寻找解决方案几天但是没有什么对我有用。如果有人能帮助我,那将是非常好的..

作为替代方案,我还下载了" shiny-server-1.3.0.403-amd64.deb"并安装了" $ sudo gdebi"。它成功安装了一个小错误消息:

Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 

Shiny Server
Shiny Server is a server program from RStudio, Inc. that makes Shiny applications available over the web. Shiny is a web application framework for the  R statistical computation language.
Do you want to install the software package? [y/N]:y
Selecting previously unselected package shiny-server.
(Reading database ... 49759 files and directories currently installed.)
Preparing to unpack shiny-server-1.3.0.403-amd64.deb ...
Unpacking shiny-server (1.3.0.403) ...
Setting up shiny-server (1.3.0.403) ...
User shiny already exists
grep: /etc/init/shiny-server.conf: No such file or directory
Adding LANG to /etc/init.d/shiny-server, setting to en_US.UTF-8

但是,我无法通过以下方式启动服务器:

$ sudo start shiny-server

我跑完"开始&#34>后没有发生任何事情。命令。另外,我的Debian版本如下:

Distributor ID: Debian
Description:    Debian GNU/Linux 8.4 (jessie)
Release:    8.4
Codename:   jessie

0 个答案:

没有答案