rstudio server proxy


As always, please refer to the wiki for the latest version of this tutorial: rstudio.

This tutorial is to set up rstudio on Debian. First, download and install the package:

cd ~
sudo apt install r-base
sudo apt install gdebi
wget https://download2.rstudio.org/server/debian9/x86_64/rstudio-server-1.2.1335-amd64.deb
sudo gdebi rstudio-server-1.2.1335-amd64.deb

Make sure you already have an existing LAMP stack running for your domain on at least one virtual host with TLS. If you do not yet have that, please see the apachesurvival tutorial first. If you can do that, then set up two virtual host configuration files for http/https as follows:

sudo nano /etc/apache2/sites-available/rstudioserver.conf

Use something like this http configuration that I tweaked from the gitlab-ce recipe project on Gitlab: rstudio.conf

sudo nano /etc/apache2/sites-available/rstudioserver-ssl.conf

Use something like this https configuration that I tweaked from the gitlab-ce recipe project on Gitlab: rstudio-ssl.conf

sudo a2ensite rstudioserver.conf
sudo a2ensite rstudioserver-ssl.conf
sudo systemctl restart apache2
sudo systemctl restart rstudio-server

— //[[oemb1905@jonathanhaack.com|oemb1905]] 2019/08/02 02:45//

Leave a Reply

Your email address will not be published. Required fields are marked *

Close
JavaScript licenses