centos 6.5下安装 rstudio server及问题解决

2 篇文章 0 订阅
2 篇文章 0 订阅

(1)环境相关的,都装上

64位系统

1    $ rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

接下来运行:
1    $ yum upgrade

下面这些也装上
yum install libcrypto.so.6 -y
yum install libgfortran.so.1 -y
yum install libssl.so.6 -y
yum install openssl098e-0.9.8e -y
yum install gcc41-libgfortran-4.1.2 -y
yum install pango-1.28.1 -y

[root@hadoop1-mysql R]# sudo yum install openssl098e
Setting up Install Process
Package openssl098e-0.9.8e-17.el6.centos.2.x86_64 already installed and latest version
Nothing to do

[root@hadoop1-mysql R]# yum install libcrypto.so.6 libgfortran.so.1 openssl098e-0.9.8e
Setting up Install Process

(2)走的弯路

下载了老的版本

[root@hadoop1-mysql R]# wget http://download2.rstudio.org/rstudio-server-0.97.551-x86_64.rpm
装了0.98.1103-1.x86_64,与老的0.98.1103-1.i686冲突了
[root@hadoop1-mysql R]#   rpm -ivh rstudio-server-0.98.1103-x86_64.rpm
Preparing...                ########################################### [100%]
    package rstudio-server-0.98.1103-1.x86_64 is already installed
    file /usr/lib/rstudio-server/R/library/manipulate/DESCRIPTION from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/R/library/rstudio/DESCRIPTION from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/R/library/manipulate/Meta/package.rds from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/R/library/rstudio/Meta/package.rds from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/R/library/manipulate/help/manipulate.rdb from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/R/library/manipulate/help/manipulate.rdx from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/R/library/rstudio/help/rstudio.rdb from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/R/library/rstudio/help/rstudio.rdx from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/R/packages/shinyapps_0.3.63_eab6b6997bc0a20f08d9541b307690a21cc15746.tar.gz from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/bin/pandoc/pandoc from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/bin/pandoc/pandoc-citeproc from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/bin/pandoc/pandoc-citeproc-static from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/bin/pandoc/pandoc-static from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/bin/rpostback from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/bin/rserver from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/bin/rserver-pam from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/bin/rsession from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686
    file /usr/lib/rstudio-server/www/rstudio/rstudio.nocache.js from install of rstudio-server-0.98.1103-1.x86_64 conflicts with file from package rstudio-server-0.98.1103-1.i686

[root@hadoop1-mysql R]# wget http://download2.rstudio.org/rstudio-server-0.97.551-x86_64.rpm

其实已经提示,装了两个版本(0.98.1103-1.i686和0.98.1103-1.x86_64)的了

[root@hadoop1-mysql R]# rpm -Uvh --nodeps rstudio-server-0.97.551-x86_64.rpm
Preparing...                ########################################### [100%]
    package rstudio-server-0.98.1103-1.i686 (which is newer than rstudio-server-0.97.551-1.x86_64) is already installed
    package rstudio-server-0.98.1103-1.x86_64 (which is newer than rstudio-server-0.97.551-1.x86_64) is already installed

(3)之前装多了,装了好几个,全部删除

[root@hadoop1-mysql R]# rpm -e rstudio-server
error: "rstudio-server" specifies multiple packages:
  rstudio-server-0.98.1103-1.i686
  rstudio-server-0.98.1103-1.x86_64
[root@hadoop1-mysql R]# rpm -e rstudio-server-0.98.1103-1.i686
[root@hadoop1-mysql R]# rpm -e rstudio-server-0.98.1103-1.x86_64

(4)全部删除之后,重新装

[root@hadoop1-mysql R]# rpm -ivh rstudio-server-0.98.1103-x86_64.rpm

Preparing...                ########################################### [100%]  

1:rstudio-server         ########################################### [100%]

useradd: user 'rstudio-server' already exists

groupadd: group 'rstudio-server' already exists

rsession: 没有进程被杀死

rstudio-server start/running, process 10000

[root@hadoop1-mysql R]# ps -ef | grep rstudio-server498      10000     1  1 07:20 ?        00:00:00 /usr/lib/rstudio-server/bin/rserverroot     10016 23633  0 07:20 pts/0    00:00:00 grep rstudio-server


成功了。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值