-
Published Answer
Wait, but now I have another question. What is the difference between these two commands? Is that giving the user tom sudo privileg…
•
By
tomcampbell
-
Published Answer
THAT DID IT!!!!! Thank you, @Mohsen47! Obviously the problem line was whe…
•
By
tomcampbell
-
Published Question
Per https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04 I created a new user with sudo privileges who can successully ssh in:
root@dev: adduser tom
root@dev: # Give him sudo privil...
Accepted Answer:
@tomcampbell
I created a new droplet and replayed all of your commands without any errors to make sure you can create directories as normal user do this command
sudo chown -R tom:tom $HOME
To make sure tom is the o...
3
•
•
By
tomcampbell
Linux Basics
Ubuntu 18.04
-
Published Question
These commands create a droplet successfully
$ export TOKEN="faa02e8485a1536a8ff770a4db2bd6f690d5ea88da66blahbla"
$ curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"name":"git"...
2
•
•
By
tomcampbell
API
-
Published Answer
Thanks much. I checked my email and you are indeed right. Which leads me to another question: [How do I specify the SSH key using t…
•
By
tomcampbell
-
Published Question
I created an Ubuntu 14.04 droplet using the API. How do I log in? There doesn't seem to be a way to specify a password when the droplet is created.
2
•
•
By
tomcampbell
API
-
Published Question
When creating a droplet via the API (https://developers.digitalocean.com/documentation/v2/#create-a-new-droplet), you can pass in an SSH key.
What is the format of the key? I am guessing it would be like this, based ...
4
•
•
By
tomcampbell
API
-
Published Question
Imagine a customer so ignorant that he could install a droplet (https://www.digitalocean.com/community/questions/best-practice-for-web2py-ngnix-postgresql-python-deployment-using-docker-or-not) but then didn't know wh...
1
•
•
By
tomcampbell
-
Published Answer
Thanks, for your perspective, asb. I am having trouble getting my arms around the concept of how postgres and Python can talk to ea…
•
By
tomcampbell
-
Published Question
About to start on a brand new site, so I can start with a clean slate. That's good. I'm back to Python after an 8 year absence, which is bad. The site will be built using web2py, which requires no special configuratio...
2
•
•
By
tomcampbell