Install Posit Connect
Installation Documentation
Please complete the required reading below before moving on:
Steps for a functional Posit Connect Installation
For this training, we will install Posit Connect on a single server in a virtual machine running Ubuntu 24.04. These steps will give you an overview of what is required to get a functional Connect installation on your own infrastructure. We don’t cover all the functionalities that are available in Connect in this training. Refer to the Admin Guide to configure other features your team is interested in.
Install Posit Connect: We will start by installing Posit Connect. Posit makes available installers for supported Linux distributions.
Install R: To be able to render the content data scientists publish on Connect, you will need to install a combination of R, Python, and Quarto. We will start with R to be able to get Connect started.
Activate your license: After your purchase is complete, you will receive a license file from us. You will use this file to activate your product. In this training, you will use the license file we provide you to learn how license activation works.
Install additional System Dependencies, Python, and Quarto: To have a data science environment your developers can use with Connect, you will install additional system dependencies required by many R packages, as well as Python and Quarto. This comprehensive data science environment will be similar to the one you will want to set up on your instance.
Configure SSL: To secure the communication with your server, you will need to configure Posit Connect to use your SSL certificates. We will go through the process of checking that the certificate and its key have the appropriate permissions and edit the configuration file to use them.
Configure Authentication: Posit Connect can integrate with many types of enterprise authentication systems. Here, we will go through the steps required to use OpenID Connect (OIDC).
Configure your repositories: To create the virtual environments needed by content published on Connect, you will need to configure the repositories needed by R and Python applications.
Configure Email: In production systems, you will want to configure Connect to use your email system to be able to deliver notifications to user during account creation, as well as to deliver scheduled reports. We won’t cover this during this training.
Deploy Content to Connect: To check that everything is running smoothly, you will deploy content to your newly set up Connect installation.
We will cover steps 1-3 in lab 1, step 4 in lab 2, step 5 in lab 3, step 6 in lab 4, and steps 7 and 9 in lab 5.
Note that the environments we provide for these exercises are set up in a way that ensures that, if you are stuck, you can move on to the next step. We encourage you to complete the challenges in the order they are presented, to reproduce the steps we recommend taking to install Connect.