Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure RStudio Server on CentOS Server in R language

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "how to configure RStudio Server in R language on CentOS server". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how to configure RStudio Server on a CentOS server in R language".

Install R

Our environment is CentOS7- Chinese, and is a root account.

Then we follow the instructions in the previous reference URL to find the corresponding system and install EPEL first (note that you must install EPEL before you can successfully install R):

Sudo yum install epel-release

Then you can install the basic R:

Sudo yum install R

At this point, we can enter the R interface by typing the command line directly:

Let's start installing and deploying RStudio Server

Install and deploy RStudio Server

Also using the official instructions, download and install according to the following statement:

Wget https://download2.rstudio.org/rstudio-server-rhel-1.1.463-x86_64.rpmsudo yum install rstudio-server-rhel-1.1.463-x86_64.rpm

After RStudio Server is installed, it will be deployed by default, but it will end up with IP:8787 (for example, 222.116.86.11).

Next, you can log in using the original account password of the server. It should be noted here that you cannot log in using the root account and the corresponding password. You must create a new account.

Create an account and change the password

First use useradd to create an account: shiny

Useradd-m shiny

Then use passwd to set the password for the account:

Passwd shiny

Finally, we can use it to log in!

Problems encountered in the process

If we restart the service, we may encounter the problem of login jam when logging in using 222.116.86.11 222.116.86.11:8787/auth-sign-in 8787. In this case, we need to log in again using 222.116.86.11:8787/auth-sign-in.

At this point, I believe you have a deeper understanding of "R language how to configure RStudio Server on the CentOS server". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report