Rstudio Connect: Admin Guide Version 1.5.12-7
Total Page:16
File Type:pdf, Size:1020Kb
RStudio Connect: Admin Guide Version 1.5.12-7 Abstract This guide will help an administrator install and configure RStudio Connect on a managed server. You will learn how to install the product on different operating systems, configure authentication, and monitor system resources. Contents 1 Introduction 4 1.1 System Requirements . .4 2 Getting Started 5 2.1 Installation . .5 2.2 Initial Configuration . .7 3 License Management 9 3.1 Capabilities . .9 3.2 Notification of Expiration . .9 3.3 Product Activation . .9 3.4 Connectivity Requirements . 10 3.5 Evaluations . 11 3.6 Licensing Errors . 12 3.7 Floating Licensing . 12 4 Files & Directories 15 4.1 Program Files . 15 4.2 Configuration . 15 4.3 Server Log . 15 4.4 Access Logs . 16 4.5 Application Logs . 16 4.6 Variable Data . 16 4.7 Backups . 18 4.8 Server Migrations . 18 5 Server Management 19 5.1 Stopping and Starting . 19 5.2 System Messages . 21 5.3 Health-Check . 21 5.4 Upgrading . 21 5.5 Purging RStudio Connect . 22 6 High Availability and Load Balancing 22 6.1 HA Checklist . 22 6.2 HA Limitations . 23 6.3 Updating HA Nodes . 24 6.4 Downgrading . 24 6.5 HA Details . 24 1 7 Running with a Proxy 25 7.1 Nginx Configuration . 26 7.2 Apache Configuration . 27 8 Security & Auditing 28 8.1 API Security . 28 8.2 Browser Security . 28 8.3 Audit Logs . 30 8.4 Audit Logs Command-Line Interface . 31 9 Database 31 9.1 SQLite . 31 9.2 PostgreSQL . 32 9.3 Changing Database Provider . 33 10 Authentication 33 10.1 Changing Authentication Provider . 34 10.2 Session Management . 34 10.3 Username requirements . 34 10.4 User Attribute Editability . 35 10.5 Password . 36 10.6 LDAP and Active Directory . 36 10.7 OAuth2 (Google) . 42 10.8PAM.................................................. 43 10.9 Proxied Authentication . 45 11 User Management 47 11.1 Self Registration . 47 11.2 User Roles . 47 11.3 User Permissions . 48 11.4 Administrator Capabilities . 49 11.5 Locked Accounts . 49 11.6 Username Requirements . 49 11.7 User Renaming . 49 11.8 Command-Line Interface . 50 12 Process Management 50 12.1 Sandboxing . 50 12.2 Temporary Directory . 51 12.3 Shiny Applications & Plumber APIs . 52 12.4 User Account for R Processes . 52 12.5 Current user execution . 52 12.6 PAM sessions . 53 12.7 Path Rewriting . 54 12.8 Program Supervisors . 55 12.9 Using the config Package . 56 13 Content Management 57 13.1 Sharing Settings . 57 13.2 Vanity Paths . 57 13.3 Tags . 58 13.4 Bundle Management . 58 13.5 API Keys . 58 14 R 59 2 14.1 Installing R . 59 14.2 Upgrading R . 60 14.3 R Versions . 60 14.4 R Version Matching . 61 15 Package Management 62 15.1 Package Installation . 62 15.2 Private Repositories . 63 15.3 Private Packages . 64 16 Historical Metrics 65 16.1 Historical Metrics Settings . 65 16.2 Historical Metrics Process Management.