Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 2.24 KB

SetupDigitalOcean.md

File metadata and controls

43 lines (31 loc) · 2.24 KB

Setup Digital Ocean

This manual describes how to prepare Digital Ocean for Meza1 install. It assumes you already have a Digital Ocean account.

Create droplet

  1. Click "create droplet"
  2. Choose a "droplet hostname", which can really be anything that identifies this droplet from the others. For example, if you're just testing out Meza1 you may choose "Meza1_test_2015-07-26".
  3. Choose any droplet size with at least 1 GB RAM
  4. Select a region close the people who will be using your service
  5. Under "select image" select the CentOS operatings system, then under "version" select "6.5 x64"
  6. No additional settings required at this time
  7. It is highly recommended you setup SSH keys on your computer, and put the public key on Digital Ocean. See this tutorial explaining how to setup SSH keys.
  8. Once SSH keys are setup, choose yours for this droplet
  9. Click "create droplet"
  10. Wait about a minute for the droplet to be created

Install wget

Your server lacks one really important thing for Meza1: wget. The wget command allows you to retrieve (get) files over HTTP, HTTPS, and FTP. To install wget perform the following:

  1. yum install -y wget

That's it!

Optional user setup

If you'd like to setup a user other than root, perform the following:

  1. adduser your_username
  2. passwd your_username
  3. visudo
    1. The file that appears is being edited with a program called "vi". If you're familiar with vi skip to the last two steps of this procedure
    2. Hit the down arrow until you find a line like "root ALL=(ALL) ALL". Alternatively learn to search in vi
    3. Put your cursor at the end of that line, then press "i" to enter "insert" mode.
    4. Hit "enter" to create a new line, then type a copy of the line above but replacing "root" for your username
    5. Hit "escape" to exit the "insert" mode
    6. Type ":wq" to write (save) the changes to the file and quit the editor
    7. You can now exit your SSH session (type "exit") and start a new one with your new user

Run Meza1 install

You're done setting up your Digital Ocean server. You can now do the steps in the main README.