User Tools

Site Tools


computing:rstudio

  • 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:

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.txt · Last modified: 2019/12/29 19:33 by oemb1905