27
- April
2020
Posted By : Dikai Tang
RStudio Server Installation Guide on Ubuntu 18.04

:### 1. Prerequisite
Get yourself a Linux Server! I have mine bare metal as well as this blog on Vultr. A bit cheaper than AWS.

2. Install R-base and RStudio Server

sudo apt update
sudo apt install -y r-base
sudo apt install -y libxml2-dev libcurl4-openssl-dev libssl-dev
sudo apt install -y gdebi-core
wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-1.2.5042-amd64.deb
sudo gdebi rstudio-server-1.2.5042-amd64.deb

(Optional)Create shared folder for team

mkdir /home/shared
ln -s  /home/shared /home/anyuser/shared

3. Verify Installation

sudo rstudio-server verify-installation

4. Test Flight

Open in browser

http://<server-ip>:8787

Reference

Rtudio Server

Category: