digital-ocean

Using SQL Server Management Studio to remote connect to docker container

♀尐吖头ヾ 提交于 2020-05-25 09:13:05
问题 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 SQL Server 2017 running on a DigitalOcean Ubuntu 16.04 box. From my Mac I can remote SSH in to the server, access the container and query the database. However I wish to use SSMS on my Windows PC and am unsure how I begin to connect to the remote

Digital Ocean, Node.js, Nginx and Cloudflare (400 badrequest No required SSL certificate was sent)

橙三吉。 提交于 2020-04-16 05:47:08
问题 I am getting a 400 Bad Request error. Sometimes it works, sometimes it doesn't. On the phone it seems to work more often than not. I am not sure what the deal is but it is quite irritating. server { listen 80; listen [::]:80; server_name url url; return 301 https://$host$request_uri; } server { # SSL configuration listen 443 ssl http2; listen [::]:443 ssl http2; server_name url url; ssl on; ssl_certificate /etc/ssl/certs/cert.pem; ssl_certificate_key /etc/ssl/private/key.pem; ssl_client

Running Node as a service with PM2 - connection refused

一曲冷凌霜 提交于 2020-04-11 03:11:32
问题 I am following this tutorial for setting up a node project on a Digital Ocean Ubuntu distribution. systemctl status pm2 shows the service is online: App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching server │ 1 │ fork │ 19999 │ online │ 0 │ 0s │ 21.219 MB │ disabled │ However I get a connection refused error when I attempt to navigate to the domain. The application starts fine on port 5000 if I run it with npm start. I have Nginx installed and configured as follows:

Docker containers have no internet, I've tried many solutions

删除回忆录丶 提交于 2020-03-05 03:24:18
问题 I have docker containers running on Ubuntu 16.04 on Digital Ocean. They worked well but one day (I think it happened after TOR1 Droplet Reboot 2018-02-28 16:00 UTC [Spectre and Meltdown Mitigation] but I'm not sure) they have lost their internet connection and I do not know why and how to make it work. I have tried many different solutions from other answers but without success. I have tried the answers from this question, tried to disable ufw , tried to reboot OS. I have even tried to update

Where to find GitLab installation directory?

自作多情 提交于 2020-02-23 06:56:06
问题 I am setting up a SSL certificate on my GitLab installation. I am trying to find the root directory to upload a file ( for ssl validation via http ) but I am not sure where is the Gitlab root Dir. Kindly, point me to where to look or find it? 回答1: Directory structure Omnibus-gitlab uses four different directories. /opt/gitlab holds application code for GitLab and its dependencies. /var/opt/gitlab holds application data and configuration files that gitlab-ctl reconfigure writes to. /etc/gitlab

phpmyadmin user interface repeating all clickable links

白昼怎懂夜的黑 提交于 2020-02-07 17:17:39
问题 Pretty much all click-able links in my interface are repeated twice. I for the life of me can't understand why or how to fix it. Everything else is working fine. Help would be much appreciated! Running digitalocean ubuntu 14.04 NGINX w/ laravel 4 http://i.stack.imgur.com/ddbHW.jpg side note: on top of installation I had to edit the sites-available/default file by inserting manually phpmyadmin location to give priority in order to bypass laravel wanting to override. addition that was made >>

phpmyadmin user interface repeating all clickable links

▼魔方 西西 提交于 2020-02-07 17:11:31
问题 Pretty much all click-able links in my interface are repeated twice. I for the life of me can't understand why or how to fix it. Everything else is working fine. Help would be much appreciated! Running digitalocean ubuntu 14.04 NGINX w/ laravel 4 http://i.stack.imgur.com/ddbHW.jpg side note: on top of installation I had to edit the sites-available/default file by inserting manually phpmyadmin location to give priority in order to bypass laravel wanting to override. addition that was made >>

Unable to set HTTPS using LetsEncrypt in Nginx server

非 Y 不嫁゛ 提交于 2020-01-16 05:46:25
问题 I followed the following tutorial to set https for my website on DigitalOcean: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-laravel-application-with-nginx-on-ubuntu-16-04 But, I got stuck at this place - Step 6 — Securing your Application with TLS include snippets/ssl-example.com.conf; include snippets/ssl-params.conf; There are no ssl-*.conf in my snippets folder to match the lines in the above conf file for TLS. I did not see any other errors up to this point. I can view

Create a subdomain that uses Amazon Route 53 as the DNS service without migrating the parent domain

别来无恙 提交于 2020-01-14 05:17:49
问题 I have a domain for instance example.com . The domain is hosted by a third party service (Digital Ocean). I would like to give control of a subdomain to AWS. So I would like to point aws.example.com to AWS. Once the root subdomain is pointed to AWS. I would like to use Route 53 to setup the following functionality: aws.example.com => alias to eb my-production-eb dev.aws.example.com => alias to eb my-dev-eb stage.aws.example.com => alias to eb my-stage-eb Is this possible? Do I have to point

Rscript and Nodejs integration on Ubuntu Server

一个人想着一个人 提交于 2020-01-06 04:00:05
问题 I am trying to build a node js app in which i call rscript to do some statistical computation and return an array with 8 elements which then i pass back to nodejs so that we can display those elements on ejs pages . I am successfully able to do this on local host everything is working fine and even rscript is running and giving back the output, but when we try to do the same on ubuntu server we are not getiing any console.log(out) on our terminal (out is the variable which gets the output