Install RStudio Shiny Server on Centos 7

  1. Free and open source
  2. Host multiple Shiny applications, each with its own URL
  3. Can be configured to allow any user on the system to create and deploy their own Shiny applications
  4. Pre-built installers for select Linux distributions.


  1. You must have Alibaba Cloud Elastic Compute Service (ECS) activated and verified your valid payment method. If you are a new user, you can get a free account in your Alibaba Cloud account. If you don’t know about how to set up your ECS instance, you can refer to this tutorial or quick-start guide. Your ECS instance must have at least 1GB RAM and 1 Core processor.
  2. Root user privileges

Update the System

It is recommended to install any package on a freshly updated system. So, first upgrade all the available packages using the following command.
yum -y install update

Install R

R package is required to install the Shiny server so we need to install R. Before installing R package you’ll have to add EPEL repository to your CentOS 7 system. Execute the following command and it’ll do the job for you.
yum install epel-release

Install Shiny Server

All the dependencies required for the Shiny server are installed now and we are ready to install it on CentOS 7. So let’s download the latest stable release of the Shiny server using the following command.

Web Interface

Open up your favorite web browser and visit http://YourServerIP:3838/ then you’ll see a welcome webpage of Shiny server like this:

Host a Directory of Applications

Shiny Server allows you to host a directory of the shiny application. By default, Shiny Server will use a site_dir to make any applications and assets stored in /srv/shiny-server/ available. Place your directory of shiny applications in the default directory.

Manage Your Own Applications

You can manage your shiny applications and update your applications stored in the home directory. All the shiny applications are hosted inside the user’s ShinyApps directory.


In this article, you’ve learned how to install Shiny Server on your CentOS 7 server. You’ve also learned to host a directory of applications and managing your own applications. We hope now you have enough knowledge to work with Shiny Server.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website: