Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
computing:rstudio [2019/12/30 02:22] – oemb1905 | computing:rstudio [2021/04/03 02:12] – oemb1905 |
---|
------------------------------------------- | ------------------------------------------- |
| |
This is to set up [[https://rstudio.com/products/rstudio/download/|R-Studio]] on Debian. As always, first setup TLS/LAMP first; see [[https://wiki.haacksnetworking.com/doku.php?id=computing:apachesurvival|Apache Survival]] for help with doing so. Once you have that setup, download and install the package: | This is to set up [[https://rstudio.com/products/rstudio/download/|R-Studio]] on Debian. As always, first setup TLS/LAMP first; see [[https://wiki.haacksnetworking.com/doku.php?id=computing:apachesurvival|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 ~ | cd ~ |
sudo nano /etc/apache2/sites-available/rstudioserver.conf | 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: [[https://hc.jonathanhaack.com/oemb1905/haackingclub/blob/master/gitlab-recipes/rstudio.jonathanhaack.com.conf|rstudioserver.conf]] | Use something like this http configuration that I tweaked from the gitlab-ce recipe project on Gitlab: [[https://repo.haacksnetworking.com/oemb1905/haackingclub/-/blob/master/apache/virtualhosts/rstudio.jonathanhaack.com.conf|rstudioserver.conf]] |
| |
sudo nano /etc/apache2/sites-available/rstudioserver-ssl.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: [[https://hc.jonathanhaack.com/oemb1905/haackingclub/blob/master/gitlab-recipes/rstudio.jonathanhaack.com-ssl.conf|rstudioserver-ssl.conf]] | Use something like this https configuration that I tweaked from the gitlab-ce recipe project on Gitlab: [[https://repo.haacksnetworking.com/oemb1905/haackingclub/-/blob/master/apache/virtualhosts/rstudio.jonathanhaack.com-ssl.conf|rstudioserver-ssl.conf]] |
| |
sudo a2ensite rstudioserver.conf | sudo a2ensite rstudioserver.conf |