


Shiny Server is a server program from RStudio, Inc. Type y when GDebi asks you to confirm that you want to install the package. You’re now ready to install Shiny Server. If the checksums don’t match, re-download the file and try to verify its integrity again before moving on.īecause Shiny Server depends on GDebi - a tool that installs local deb packages while simultaneously resolving and installing additional dependencies - for its installation, you’ll need to update your package list and then install the gdebi-core package next.

Once the file is downloaded, verify its integrity by comparing the output of the following command with the MD5 checksum listed on the RStudio Shiny Server download page at the top of 64bit, pre-built binary download instructions. Once you have the address, change the URL in the following command accordingly. Because Shiny Server is in active development, you should consult the official Shiny Server download page to get the URL for the latest 64bit, pre-built binary matching your operating system. Per Shiny Server’s official installation instructions, we’ll use wget to download a pre-built binary for 64-bit architecture.

In this step, you’ll install Shiny server and tweak the firewall to allow traffic through the port that Shiny Server listens on. Once all of the prerequisites are in place, we’ll start by installing Shiny on the server. A Let’s Encrypt SSL certificate for the domain installed by following this Let’s Encrypt Certbot tutorial.An A record with pointing to your server’s public IP address.You can follow this hostname tutorial for details on how to add them. Both of the following DNS records set up for your server.You can purchase a domain name on Namecheap, get one for free on Freenom, or use the domain registrar of your choice. Nginx installed by following this How To Install Nginx on Ubuntu 16.04 tutorial, including allowing access to ports 80 and 443 in Step 2 with the command sudo ufw allow 'Nginx Full'.The latest version of R installed by following Step 1 in this installing R on Ubuntu 16.04 tutorial.Warning: Anything less than 1GB of RAM on your server may cause the installation of Shiny Server or its related R packages to fail. One Ubuntu 16.04 server with a minimum of 1GB of RAM set up by following this Ubuntu 16.04 initial server setup tutorial, including a sudo non-root user and a firewall.To complete this tutorial, you’ll need the following:
