Skip to content

Latest commit

 

History

History
79 lines (44 loc) · 1.34 KB

File metadata and controls

79 lines (44 loc) · 1.34 KB

← Index

How to create a server on Digital Ocean

If you don't have an account on Digital Ocean you can get 10$ credit. Just sign up with the link:

Sign up and get 10$ credit

1. Visit Droplets page

fig. 1

and

fig. 1.1

2. Press the button "Create Droplet"

3. Choose image, size and datacenter region

fig. 2

fig. 3

4. Add your SSH key

fig. 4

fig. 5

To check existed files you can use command

ls -al ~/.ssh/

If you don't have any keys then follow this link https://help.github.com/articles/generating-an-ssh-key/

fig. key-2

To get public part of the key usually you can do this:

cat ~/.ssh/id_rsa.pub

fig. 5.1

fig. 5.2

5. Press button "Create Droplet"

fig. 5.3

In a few seconds you will see your new server and you get a new IP.

It could be somthing like this 257.123.45.67

fig. 6

6. Visit your server

To visit your server can use the following command

ssh root@257.123.45.67 -i ~/.ssh/id_rsa

or just

ssh root@257.123.45.67

fig. 7

Go further

See also How to setup a server on DO