307 reputation
615
bio website andrewhavens.com
location Portland, OR
age 29
visits member for 5 years
seen May 14 at 18:39

Jan
2
comment Steps to troubleshoot new Nginx installation
Well...I got it to work. I think I failed to enable my vhost. I thought I symlinked correctly from sites available, but when I looked, it was not there. Once I fixed the symlink, it started logging to the default nginx logs in /var/log/nginx/*
Dec
10
comment Steps to troubleshoot new Nginx installation
Good idea, but that's not it because enabling the default vhost works fine. It must be something with my specific vhost config.
Dec
5
comment How to add SSH known host in a bash script?
I want a non-interactive way of accepting the GitHub host key (since this will happen in a bash script).
Dec
5
comment How to add SSH known host in a bash script?
Can you elaborate on the "manage known_hosts file"? I think that's what I want to do, but when I viewed the file, it's contents looked like some sort of hash/key and didn't look like something that was intended to be managed manually.
Dec
3
comment Steps to troubleshoot new Nginx installation
FYI: I just re-enabled the default vhost and it works, so there's something wrong in my vhost configuration.
Dec
3
comment Steps to troubleshoot new Nginx installation
@etagenklo Yes, there is no output in either access.log or error.log. Adding the IP to the listen directive did not have any effect.
Dec
2
comment Steps to troubleshoot new Nginx installation
@etagenklo netstat only shows sshd. Running top, I see nginx pop up occasionally, plus service nginx status shows that it's running. The vhost file states that it should be listening on port 80.
Dec
2
comment Steps to troubleshoot new Nginx installation
The output of wget is nearly identical: Connecting to [example IP]...failed: Connection refused.
Nov
7
comment Why is cron using a different Ruby than my user and how to fix it?
I created a new symlink to the right Ruby and it's working, but I'd like to know why cron was caching this sort of thing (if you have an answer).
Nov
7
comment Why is cron using a different Ruby than my user and how to fix it?
I realized that /usr/bin/ruby was a symlink to the old Ruby version so I removed it. Now I'm getting errors: /bin/bash: ruby: command not found
Nov
7
comment Why is cron using a different Ruby than my user and how to fix it?
I tried both of those suggestions and unfortunately neither of them worked. Any more ideas?
Jan
25
comment Email, SSL, and RFC 6186 SRV records
I did this first, but they only tried to sell me an SSL certificate, rather than explain to me what the SRV records are for and how they work.
Jan
4
comment How to host email for multiple domains?
@JoelESalas so I take it Postfix is the one to learn? =]
Jan
4
comment How to host email for multiple domains?
Have you used RunBox?
Dec
29
comment How to preserve MX records when switching domain registrars?
BizLand's response was for me to sign up for a "custom DNS" add-on ($3/month but still, who does that?), but I don't know if this will allow me access to the zonefile. If I sign up for the custom DNS for one month, do you think I would be able to get the records I need in order to change name servers and keep using the same BizLand email?
Dec
28
comment How to host email for multiple domains?
A year later and I'm still thinking about this question. I would be happy to outsource the email hosting to something like Google Apps, but now that Google Apps does not have a free version, I'm looking for an affordable solution (preferably free) to keep my costs down. I'm willing to do the work of running my own mail server as long as I know I'm following industry best-practices. Also, I'm interested in having the flexibility of being able to manage email addresses through some sort of web app (or API) that I build myself.
Jun
1
comment How to update cURL CA bundle on RedHat?
worked perfect, thanks!
Jun
1
comment How to update cURL CA bundle on RedHat?
I tried yum install ca-certificates and got No package ca-certificates available
Apr
30
comment How to test if DNS information has propagated?
I figured out why nothing I was trying was working. Apparently, our network is configured in a way that a new subdomain must be added in our local DNS too. So the subdomain was accessible from the outside world, just not in our network where I was testing. =[ But using nslookup and dig while specifying an external server made it so I could verify the external DNS information.
Apr
28
comment How to test if DNS information has propagated?
Is there any way to check that I entered a valid IP? I just wanted to be sure the IP address I used was the right one. Someone I talked to seemed to think that ping would fail if I didn't have an Apache VHost set up yet.