This manual describes how to prepare Digital Ocean for Meza1 install. It assumes you already have a Digital Ocean account.
- Click "create droplet"
- 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".
- Choose any droplet size with at least 1 GB RAM
- Select a region close the people who will be using your service
- Under "select image" select the CentOS operatings system, then under "version" select "6.5 x64"
- No additional settings required at this time
- 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.
- Once SSH keys are setup, choose yours for this droplet
- Click "create droplet"
- Wait about a minute for the droplet to be created
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:
yum install -y wget
That's it!
If you'd like to setup a user other than root, perform the following:
adduser your_username
passwd your_username
visudo
- 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
- Hit the down arrow until you find a line like "root ALL=(ALL) ALL". Alternatively learn to search in vi
- Put your cursor at the end of that line, then press "i" to enter "insert" mode.
- Hit "enter" to create a new line, then type a copy of the line above but replacing "root" for your username
- Hit "escape" to exit the "insert" mode
- Type ":wq" to write (save) the changes to the file and quit the editor
- You can now exit your SSH session (type "exit") and start a new one with your new user
You're done setting up your Digital Ocean server. You can now do the steps in the main README.