# Setting Up Digital Ocean for Senaite Installation

Senaite is an add-on for [Plone](https://plone.org/). Its installation, therefore, is dependent on the successful installation of Plone. **Ubuntu** and **Debian Linux** are the most suitable operating systems recommended by Senaite's [Official Documentation](https://www.senaite.com/docs/installation.html) on which to run Senaite. Installation for Windows and macOS works as well but requires additional packages and is not well documented (yet).

This article will only cover setting up an installation environment on [Digital Ocean](https://www.digitalocean.com/). Creating an account should be pretty easy; all you need is an active email and a valid payment method (Paypal or Card).

## Create Droplet

Once you have logged into your Digital Ocean account, you'll notice a green `Create` button on the navigation bar. Click that and select `Droplets` to navigate to the droplet creation page.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1671105757348/oLo-S_ZY4.png align="center")

Creating a droplet is an easy task as long as you know the kind of system requirements you need. Digital Ocean literally allows you to build a virtual machine to suit whatever needs( and budget) you have. System Requirements Recommended for Senaite have been discussed in a separate article.

%[https://senaite.hashnode.dev/minimum-system-requirements-for-senaite-and-plone] 

### Choose Region

A region is a geographic area with one or more data centres. Select the `data center` in the region closest to you or your users to avoid any potential latency issues.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1671091773074/pqz81ckvi.png align="center")

### Choose Image

There are dozens of images you can pick from the Digital Ocean Market Place but we will pick Ubuntu.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1671091853683/h-_Xqkl0j.png align="center")

#### Pick Version

Digital Ocean, at the time of this post, offers `18.04 LTS x64` , `20.04 LTS x64` , `22.04 LTS x64` and `22.10 x64` . We like `18.04 LTS` , so that is what we select ;).

#### Choose Size

This depends entirely on the sort of traffic you intend for Senaite to accommodate. Here will select `Basic` because we don't need much. We also follow that by selecting the `Regular SSD` disk type.

### Choose Authentication Method

Digital Ocean allows you to access your virtual machine using a `Console` in your browser. This should be more than enough for your basic needs but if you prefer using your own terminal and a file transfer tool like FileZilla, you'll need to set up a `SSH Key`. Select SSH Key.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1671092119200/WbIScV6B2.png align="center")

If you had already set up an SSH Key on account creation, you just need to select it as I did above. But if you did not, you just need to click the `New SSH Key` button and proceed as described. It'll look something like this:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1671092133995/xq1uIMpx4.png align="center")

### Finalize Details

Finish off by leaving everything as is and clicking `Create Droplet`. You can also modify the hostname if you want to and change the selected project if you need to.

Done. Give your droplet a minute or less to complete its setup.

## Connect via SSH

You will need to have an SSH client installed on your computer to access a server via SSH. Some popular options for SSH clients include PuTTY for Windows and OpenSSH Terminal for Linux and macOS.

Once you have an SSH client installed, you will need to know the IP address of the droplet you want to connect to, as well as the username and password for an account on the server. But since we opted for SSH Key and successfully set it up in the droplet, we do not a username or password. Just the IP address.

If your setup was successful, navigate to the droplets page from the left panel. Identify your droplet and copy the IP address.

```bash
tim@Weirdo:~$ ssh root@101.202.303.404
```

Replace your IP address in the command above and you should be in. If you get any errors at this point, you need to troubleshoot by checking that you have used the correct IP address and that you provided the correct SSH Key while setting up your droplet.

## Install Senate

Once you are in, you should be able to access your droplet's file system. Use the guide embedded below to install Plone and Senaite.

%[https://senaite.hashnode.dev/installing-senaite-on-ubuntu-18-04#heading-install-plone] 

### Read More

You do some reading more in case you need to find out more information.

%[https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-1804] 

%[https://docs.digitalocean.com/products/droplets/how-to/create/]
