Skip to content

Files

Latest commit

 

History

History
27 lines (21 loc) · 956 Bytes

set_up_shiny-server_on_centos7.md

File metadata and controls

27 lines (21 loc) · 956 Bytes

CentOS镜像使用帮助

http://mirrors.163.com/.help/centos.html

Download Shiny Server for Red Hat/CentOS 6+

https://rstudio.com/products/shiny/download-server/redhat-centos/

Shiny Server Professional v1.5.15 Administrator's Guide

https://docs.rstudio.com/shiny-server/
sudo systemctl start shiny-server
sudo systemctl status shiny-server

Configuration

vi /etc/shiny-server/shiny-server.conf

Firewal 防火墙设置 (Centos 7)

https://blog.csdn.net/f820306455/article/details/84390444
firewall-cmd --state
firewall-cmd --list-port
firewall-cmd --add-port=8080/tcp --permanent #永久开放端口
firewall-cmd --reload

Host Cerebro on server

https://romanhaa.github.io/cerebroApp/articles/host_cerebro_on_shinyapps.html#prepare-app-r-file-1
Prepare app.R file

Control access to Cerebro with a login page

https://romanhaa.github.io/cerebroApp/articles/control_access_to_cerebro_with_a_login_page.html