User Tools

Site Tools


computing:rstudio

This is an old revision of the document!



  • rstudio
  • Jonathan Haack
  • Haack's Networking
  • netcmnd@jonathanhaack.com

——————————————-

rstudio


This is to set up R-Studio on Debian. As always, first setup TLS/LAMP first; see Apache Survival for help with doing so. Once you have that setup, download and install R-Studio. Always check rstudio's recommendations as well, but currently they recommend using gdebi as follows:

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: rstudioserver.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: rstudioserver-ssl.conf

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

oemb1905 2019/12/30 02:18

computing/rstudio.1617415953.txt.gz · Last modified: 2021/04/03 02:12 by oemb1905