のDebian VM上で光沢のあるサーバーをインストールします。だから、最初、私はVM上でapt-getをとR-バージョン3.1.1をインストールします。私はオフラインでのDebian VM上で光沢のあるアプリをホストしようとしていた
$ sudo apt-get update
$ sudo apt-get install r-base
$ sudo apt-get install r-base-dev
その後、私はからVMに「光沢のある」パッケージの(すべての依存関係を含む)すべてのtar.gz形式のファイルをscpコマンド私のローカルとR CMDで正常にそれらをインストール... "。その後、次のコマンドを実行して "gdebi"をインストールし、光沢のあるサーバー用に "shiny-server-1.3.0.403-amd64.deb"をインストールするために使用しました。
$ sudo apt-get install gdebi-core
$ sudo gdebi shiny-server-1.3.0.403-amd64.deb
これは、依存関係の欠落を示す第1の時点でエラーが返されました:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done
This package is uninstallable
Dependency is not satisfiable: libssl0.9.8
その後、私は「など/がち/ sources.listの」ファイルに次の行を追加して別のポストに続きます
:それは働いていたと私は、 "光沢のあるサーバ-1.3.0.403-amd64.deb" を設置思わdeb http://security.ubuntu.com/ubuntu lucid-security main
$ sudo apt-get install libssl0.9.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libssl0.9.8
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
Need to get 988 kB of archives.
After this operation, 2,408 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libssl0.9.8
Install these packages without verification? [y/N] y
Get:1 http://security.ubuntu.com/ubuntu/ lucid-security/main libssl0.9.8 amd64 0.9.8k-7ubuntu8.27 [988 kB]
Fetched 988 kB in 1s (902 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libssl0.9.8.
(Reading database ... 46468 files and directories currently installed.)
Preparing to unpack .../libssl0.9.8_0.9.8k-7ubuntu8.27_amd64.deb ...
Unpacking libssl0.9.8 (0.9.8k-7ubuntu8.27) ...
Setting up libssl0.9.8 (0.9.8k-7ubuntu8.27) ...
Processing triggers for libc-bin (2.19-18+deb8u3) ...
:その後、 "apt-getを" と行方不明の依存関係をインストール
$ sudo stop shiny-server
sudo: stop: command not found
私は、サーバーの権利をインストールするかどうかを疑問に思って:私がしようとしたとき
$ sudo gdebi shiny-server-1.3.0.403-amd64.deb
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 ... 46487 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) ...
Creating user shiny
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
しかし、端末から光沢のあるサーバーを「スタート/ストップ」、CLIはコマンドを認識できないのですか?どのように光沢のあるサーバーを「開始/停止」できますか?
あなたがプロセス内のいくつかの手順を見逃しているように見えます。 Debianを実行しているので、ここの指示に従う必要があります:。私はまだ働いて光沢のあるサーバーを自分で設定していないが、この文書はすぐにそれをやってのつもりで私のファイルに座っている:) –
rosscova
は申し訳ありませんが、私はあなたがクリックする必要があるかもしれません、そのリンクが正常に動作し得るように見えることはできません右の「Shiny Serverをソースからビルドする」を参照してください。 – rosscova
@rosscovaすべての指示を送っていただきありがとうございます!しかし、私はhttps://www.rstudio.com/products/shiny/download-server/の指示に従っていましたが、これは最新のものですか?上記の手順でEC2でサーバーを稼動させました。しかし、 "R CMD ..."を使って光沢のあるパッケージをオフラインでインストールするため、Shinyを "sudo su - -c" R -e \\ "install.packages( 「ピカピカ」、レポは=「のhttp://cran.rstudio.com/」)\\「」ないあなたがフォローしている –