zoukankan      html  css  js  c++  java
  • Centos 67下yum安装rstudio-servershiny-server

     rstudio-server安装

    #wget https://download2.rstudio.org/rstudio-server-rhel-1.1.463-x86_64.rpm
    #yum install rstudio-server-rhel-1.1.463-x86_64.rpm
    #rstudio-server start ---启动
    #rstudio-server verify-installation --查看安装状态   默认端口是8787
    

    shiny-server 安装

    #wget https://download3.rstudio.org/centos6.3/x86_64/shiny-server-1.5.9.923-x86_64.rpm
    #yum install shiny-server-1.5.9.923-x86_64.rpm
    

    编辑配置文件

    [root@t183 ~]# vim /etc/shiny-server/shiny-server.conf 
    
    # Instruct Shiny Server to run applications as the user "shiny"
    run_as shiny;
    
    # Define a server that listens on port 3838
    server {
      listen 3838 0.0.0.0;
      # Define a location at the base URL
      location / {
    
        # Host the directory of Shiny Apps stored in this directory
        site_dir /opt/shiny-server;
    
        # Log all Shiny output to files in this directory
        log_dir /var/log/shiny-server;
    
        # When a user visits the base URL rather than a particular application,
        # an index of the applications available in this directory will be shown.
        directory_index on;
      }
    }
    

    启动

    start shiny-server
    
  • 相关阅读:
    抽象类与接口的区别
    模板模式(Template Pattern)
    KVM虚拟化
    find文本处理(locate)实例学习记录
    AWK-文本处理测试实例记录
    Linux系统中如何查找大文件
    吞吐量和Iops、测试工具FIO使用
    linux了解
    了解docker
    语言资源国际化
  • 原文地址:https://www.cnblogs.com/xzlive/p/10283947.html
Copyright © 2011-2022 走看看