環境:centos6.5
$ sudo yum install r
install.packages('shiny')
install.packages('rmarkdown')
檢視是否安裝成功:進入ip:3838$ wget
.org/centos5.9/x86_64/shiny-server-1.4
.2.786-rh5-x86_64.rpm
$ sudo yum install --nogpgcheck shiny-server-1.4
.2.786-rh5-x86_64.rpm
start shiny-server
stop shiny-server
status shiny-server
reload shiny-server
cat /etc/shiny-server/shiny-server.conf
首頁:/srv/shiny-server/index.html詳細配置引數見:shiny-server conf settings
修改/etc/shiny-server/shiny-server.conf中的引數增加延時
$ vi /etc/shiny-server/shiny-server.conf
建立資料夾軟連線
刪除
rm -rf /home/xuwy/flow_model注意不可按照以下方式刪除(會直接刪除對應原檔案的子目錄下所有檔案)
rm -rf /home/xuwy/flow_model/
與index.html相同路徑的直接使用
子目錄下的使用方法src="mac_heatmap_gg.gif"
alt="mac view"
style="width:1104px;height:528px;">
xx.rdata會間隔時間變化,但是shiny-server不會實時更新,只能採取間隔時間重啟shiny-server服務src="/images/mac_heatmap_gg.gif"
alt="mac view"
style="width:1104px;height:528px;">
restart shiny-server
備註
將shiny project 或者 rmarkdown嵌入到html
id="shiny">
class="caption">
when shiny is properly configured on
div>
class="caption">
with shiny andrmarkdown
installed, you should see a shiny doc above.
div>
div>
centos redis 安裝啟動與配
yum install epel release 安裝擴充套件源 yum install redis 安裝redisvim etc redis.conf 找到下面這一行 bind 127.0.0.1 注釋掉service redis start 啟動服務在配置檔案中有個引數 requirepass ...
supervisor和Nginx安裝與配置
gugoo雲之summary sudo apt get purge remove nginx sudo apt get autoremove dpkg get selections grep nginx 將羅列出與nginx相關的軟體,如nginx common一併刪除 sudo apt get p...
RHEL CentOS中vsftp安裝與配置
一般我們在安裝完系統後都會自動安裝了vsftp服務了,但是有時候還是得需要自己動手的,比如這兩天就在給我朋友配置了一下,順手把過程記錄下來,以便需要的時候查閱或者給需要的朋友提供方便 1.安裝 使用 chkconfig list來檢視是否裝有vsftpd服務 使用yum命令直接安裝 yum y in...