远志

个人站

欢迎来到我的个人站~


Galaxy Learning 7 -- Install R and Rstudio

Step1: Preparation before installation

yum -y install gcc glibc-headers gcc-c++ gcc-gfortran readline-devel libXt-devel bzip2-devel epel-release

Step2: Install R

yum install yum -y install R

Step3: Check R version

R --version

Step4: Download and install rstudio server

wget https://download2.rstudio.org/server/centos6/x86_64/rstudio-server-rhel-1.3.1073-x86_64.rpm
sudo yum install rstudio-server-rhel-1.3.1073-x86_64.rpm

Step5: Open the 8787 port

sudo firewall-cmd --zone=public --permanent --add-port=8787/tcp
sudo firewall-cmd --reload #一定不要忘记这句话
sudo firewall-cmd --list-ports # 查看端口是否打开成功

Step6: Check the centos7 host ip: (IP is 192.168.175.128)

ifconfig

Step7: Browser at http://192.168.175.128:8787:

Username belong to those users on centos7 system.

打赏一个呗

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦