Skip to content

Instantly share code, notes, and snippets.

@eidosam
Last active June 9, 2018 18:11
Show Gist options
  • Save eidosam/9d178cf052dc2cb2f2897b0db3148ce8 to your computer and use it in GitHub Desktop.
Save eidosam/9d178cf052dc2cb2f2897b0db3148ce8 to your computer and use it in GitHub Desktop.
apt-get update && apt-get -y install r-base curl
LIBSSL=libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb
curl -sSO http://security.debian.org/debian-security/pool/updates/main/o/openssl/$LIBSSL
dpkg -i $LIBSSL
RSTUDIO=rstudio-server-1.0.153-amd64.deb
curl -sSO https://download2.rstudio.org/$RSTUDIO
gdebi $RSTUDIO
rstudio-server verify-installation
echo "Enter username: "
read -a USERNAME
useradd $USERNAME
passwd $USERNAME
mkdir /home/$USERNAME
chown $USERNAME:users /home/$USERNAME
rstudio-server start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment