내용 |
1. EPEL 리포지토리 설치
[root@localhost ~]# rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
2. R 설치
[root@localhost ~]# yum install R -y
3. RStudio 다운로드
[root@localhost ~]# wget https://download2.rstudio.org/rstudio-server-rhel-1.0.143-x86_64.rpm
4. RStudio 설치
[root@localhost ~]# yum install --nogpgcheck rstudio-server-rhel-1.0.143-x86_64.rpm
5. RStudio 설치 확인
[root@localhost ~]# rstudio-server verify-installation
6. 방화벽에 8787 포트 추가
[root@localhost ~]# firewall-cmd --permanent --zone=public --add-port=8787/tcp
success
7. 방화벽 재시작
[root@localhost ~]# systemctl restart firewalld
8. 브라우저에서 http://ip-address:8787/ 로 접속
9. 리눅스 사용자 계정으로 로그인
|