Questions tagged [digital-ocean]

Digital Ocean is a provider of cloud infrastructure and services. ONLY PROGRAMMING QUESTIONS ARE ON-TOPIC (e.g. questions about programming for the Digital Ocean API). Questions about Digital Ocean the company, administrating systems, customer service based question, etc. are off-topic for Stack Overflow.

DigitalOcean is an American virtual private server () provider based in New York City.

The company leases capacity from existing datacenters, including sites in New York, Amsterdam, San Francisco, London, Singapore, Frankfurt and Toronto. DigitalOcean allows users to create servers (entitled droplets) in "under 55 seconds".

The servers, which are already easy to manage, can be controlled using an API developed by the company. This API allows for all the major functionalities of the web control panel to be controlled by a user selected interface. Furthermore, DigitalOcean is highly accessible to students through the Github Student Education Pack.

It has UPS in its use of SSD's for its servers.

Useful Links

3240 questions
159
votes
17 answers

How to solve "sign_and_send_pubkey: signing failed: agent refused operation"?

Configuring a new Digital Ocean droplet with SSH keys. When I run ssh-copy-id this is what I get: ssh-copy-id user@012.345.67.89 /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already…
user968270
  • 2,551
  • 5
  • 19
  • 19
56
votes
5 answers

What is the proper command to restart a Dokku app from SSH?

A Rails app I deployed on DigitalOcean using Dokku crashed and started returning 500 errors. How can I restart it without pushing an empty commit?
Spone
  • 1,277
  • 1
  • 9
  • 19
52
votes
11 answers

ZSH Agnoster Theme showing machine name

I have a development server hosted on Digital Ocean, using Ubuntu 14.04. I switched my shell to ZSH and decided to go with the Agnoster theme. In order to get user@hostname to stop showing, I set the DEFAULT_USER in my .zshrc file. For some reason…
Drew
  • 6,206
  • 15
  • 58
  • 93
49
votes
3 answers

Tomcat7 starts too late on Ubuntu 14.04 x64 [Digitalocean]

i am using digitalocean and trying to install and start tomcat on ubuntu but unfortunately i can not do it. (created new droplets and tried 10 times) 1GB Ram 30GB SSD Disk Amsterdam 2 Ubuntu 14.04 x64 When i start tomcat, it says "Tomcat started".…
yuceel
  • 1,922
  • 2
  • 18
  • 27
46
votes
7 answers

Using SQL Server Management Studio to remote connect to docker container

Context: I am trying to build a development SQL Server that I can continue to learn SQL on and use Microsoft SQL Server Management Studio (SSMS) to access on a Windows PC. So I have the AdventureWorks database sitting on a Docker Container for MS…
noobmaster69
  • 2,541
  • 1
  • 20
  • 35
35
votes
2 answers

RewriteRule Error: Bad flag delimiters

Using this RewriteRule in my .htaccess file I'm getting RewriteRule: Bad flag delimiters which is returning a 500 error in the browser. Can anyone point me in the right direction please. Thanks. RewriteEngine On RewriteCond %{HTTP_HOST}…
Gareth Daine
  • 3,496
  • 4
  • 38
  • 63
34
votes
1 answer

Ubuntu Apache: "Module php7 does not exist"

I am trying to upgrade PHP 5.5.9 to PHP 7 on my DigitalOcean Ubuntu 14.04 machine. I've read many tutorials and articles how to do it, but each of them misses something. For example, somewhere they say you must sudo a2dismod php5 then sudo a2enmod…
atorscho
  • 1,749
  • 2
  • 13
  • 18
31
votes
4 answers

How do I set up global load balancing using Digital Ocean DNS and Nginx?

UPDATE: See the answer I've provided below for the solution I eventually got set up on AWS. I'm currently experimenting with methods to implement a global load-balancing layer for my app servers on Digital Ocean and there's a few pieces I've yet…
AJB
  • 6,495
  • 11
  • 53
  • 80
27
votes
2 answers

Apache web server doesn't allow me to refresh on /about but on localhost its working fine

I bundled up one of my projects and it works fine. However when hitting refresh on a route /about, it displays The requested URL /about was not found on this server.. However when I do it on my localhost off a web server it works fine on refresh and…
Karan
  • 1,081
  • 2
  • 14
  • 35
24
votes
9 answers

Deploy Angular 2 to Apache Server

I want to deploy an Angular 2 application on an Apache server. I've read various guides like this and this but none of them is working. I have npm and ng installed on server. In nutshell, here's what i did: Cloned complete project repository on my…
Kanav
  • 2,385
  • 7
  • 27
  • 53
24
votes
7 answers

Mailgun Domain not found: abc.com

I am trying to setup emails with my own website. Let's say the domain name is abc.com. The nameserver in use is digital ocean and I also have a gmail account linked to the same (say using contact@abc.com). While setting up things with mailgun, I…
sudshekhar
  • 1,386
  • 2
  • 14
  • 26
20
votes
5 answers

Rake assets:precompile gets killed when there is a console session open in production

On my production server, which is hosted on digital ocean, if that helps, Ubuntu 12.04, I have RoR 4 and rake 10.1.1. When I deploy, I run rake assets:precompile, and I've noticed a strange issue where if I have a rails console session open when I…
OneChillDude
  • 7,250
  • 9
  • 36
  • 76
19
votes
1 answer

openjdk: how to add site to exception list

I would like to run an applet on my server and currently it is being blocked by Java security. On my development machine I was able to open control panel and to add a site to the exception list but now on my production server I don't have connected…
embedded
  • 667
  • 4
  • 9
  • 24
18
votes
2 answers

Spring-boot application won't boot at startup inside docker

I am running a simple spring-boot application inside a docker container. At startup whether started with java -jar MY_JAR.jar or mvn spring-boot:run the application will always hang at the following point: 2014-12-22 23:26:58.957 INFO 1 ---…
Scott
  • 782
  • 1
  • 5
  • 14
18
votes
2 answers

`pip install pandas` gives UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 41: ordinal not in range(128)

When performing pip install pandas on a Digital Ocean 512MB droplet, I get the error UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 41: ordinal not in range(128) . Any ideas what may have caused it? I'm running Ubuntu 12.04…
Athena Wisdom
  • 4,261
  • 5
  • 20
  • 28
1
2 3
99 100