How To Set Up RStudio On A CentOS Cloud Server | DigitalOcean

Check Linux release

ls /etc/*release
## /etc/centos-release  /etc/os-release  /etc/redhat-release  /etc/system-release
cat /etc/redhat-release
## CentOS Linux release 7.3.1611 (Core)
## /etc/centos-release
## /etc/os-release
## /etc/redhat-release
## /etc/system-release
## CentOS Linux release 7.4.1708 (Core)

Install R

# Install Extra Packages for Enterprise Linux repository configuration
# R belongs to RHEL Extra Packages for Enterprise Linux (EPEL) 
# Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux
sudo yum install -y epel-release 
sudo yum update -y 
sudo yum install -y R

Install Rstudio server

## https://www.rstudio.com/products/rstudio/download-server/
wget https://download2.rstudio.org/rstudio-server-rhel-1.0.143-x86_64.rpm
yum install --nogpgcheck rstudio-server-rhel-1.0.143-x86_64.rpm

## By default RStudio Server runs on port 8787 and accepts connections from all remote clients. After installation you should therefore be able to navigate a web browser to the following address to access the server:
http://<server-ip>:8787
http://198.211.107.37:8787/
RStudio will prompt for a username and password, and will authenticate the user by checking the server's username and password database. A couple of notes related to user authentication:
# If you are unable to access the server after installation, you should run the verify-installation command to output additional diagnostics:
rstudio-server verify-installation
Reference:

Comments

Popular posts from this blog

gspread error:gspread.exceptions.SpreadsheetNotFound

Miniconda installation problem: concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

转载:彻底搞清楚promoter, exon, intron, and UTR