Last active
March 2, 2017 16:41
-
-
Save ddbs/3ddec620442f0b66a4a3d7c2e4817758 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install SSH server | |
| sudo apt-get install openssh-server | |
| # Update CRAN mirror for R | |
| echo "deb https://cran.rstudio.com/bin/linux/ubuntu trusty/" | sudo tee -a /etc/apt/sources.list | |
| ## Secure CRAN mirror and upgrade | |
| sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 | |
| sudo apt-get update && sudo apt-get -y upgrade | |
| # install R and R compiler | |
| sudo apt-get install -y --allow-unauthenticated r-base r-base-dev | |
| # install opencpu server | |
| sudo add-apt-repository ppa:opencpu/opencpu-1.6 -y | |
| sudo apt-get update && sudo apt-get -y upgrade | |
| sudo apt-get install -y opencpu | |
| # test the connection | |
| curl -L http://localhost/ocpu/library/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment