- Setting up pangya private server how to#
- Setting up pangya private server install#
- Setting up pangya private server update#
- Setting up pangya private server series#
If your droplet has 1G of RAM or less, we need to set up some swap space. Then add the CRAN repository to this list (copy these commands one by one): # Add a trusted key
Setting up pangya private server update#
Next, we give the shiny user admin rights and switch to the shiny user: # Give shiny admin rightsįirstly, update the list of packages: sudo apt-get update When you are prompted to enter a name, office number etc.
Setting up pangya private server install#
Since we don’t want to use the root user to install everything, we’ll create a new user called ‘shiny’. Log into your server: ssh Setting up a user Copy the IP address of your droplet and open up a terminal or PuTTY. Accessing your server and setting up shinyĬlick on ‘droplets’ at the top right of the DO menu.
This step is optional: you don’t have to do it, but I strongly recommended.Īfter you’ve set up the SSH access, you can choose a suitable name for your droplet and press ‘create’.Ĭongratulations! You are now the proud owner of your own VPS. DigitalOcean provides a tutorial for Windows users and Unix users on their website. Fortunately, the only option you really need to pay attention to is the SSH key.Īn SSH key functions as a unique identifier for you, the owner of the VPS, and adds a layer of security to your server. The final set of options can look arcane if you’re not used to them. Select an appropriate data centre (usually that means choosing one in or near your own country) I chose the smallest version, which works perfectly fine, but feel free to take a bigger size if you like. Then, you can decide how much power your droplet will have. You want to select a Ubuntu 16.04 distribution. The options are relatively straightforward here. There won’t be much going on here … yet! Click on ‘create droplet’ to set up your VPS. Setting up a VPS on DigitalOceanĪfter signing up to DO, you will see the following screen You can use this link to sign up to DigitalOcean. In this guide, I’ll be using DigitalOcean, but you can use any VPS from any provider as long as it runs on Ubuntu 16.04 and has at least 512MB RAM and one processor. Instead of buying a physical server and planting it in your home somewhere, you essentially rent a small portion of a server from a provider which then looks like a normal server environment: you have your own OS and you can manage your own users and so on. If you have these two things, you may proceed! A VP…What?Ī Virtual Private Server (VPS) is a service that you can purchase from providers such as DigitalOcean, Amazon AWS and Google Cloud Services.
Setting up pangya private server how to#
Setting up pangya private server series#
This guide is part of a series on setting up your own private server running shiny apps.