先装R语言
sudo yum install R
再装Rstudio
https://rstudio.com/products/rstudio/download-server/redhat-centos/
wget https://download2.rstudio.org/server/fedora28/x86_64/rstudio-server-rhel-1.2.5019-x86_64.rpm
sudo yum install rstudio-server-rhel-1.2.5019-x86_64.rpm
启动
rstudio-server start
打开server-ip,电脑的ip地址 ifconfig -a
http://<server-ip>:8787