nginx – nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

[::]:80 is a ipv6 address. This error can be caused if you have a nginx configuration that is listening on port 80 and also on port [::]:80. I had the following in my default sites-available file: You can fix this by adding ipv6only=on to the [::]:80 like this: For more information, see: http://forum.linode.com/viewtopic.php?t=8580 http://wiki.nginx.org/HttpCoreModule#listen

gpg: no valid OpenPGP data found

This problem might occur if you are behind corporate proxy and corporation uses its own certificate. Just add “–no-check-certificate” in the command. e.g. wget –no-check-certificate -qO – http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add – It works. If you want to see what is going on, you can use verbose command instead of quiet before adding “–no-check-certificate” option. … Read more

gpg: no valid OpenPGP data found

This problem might occur if you are behind corporate proxy and corporation uses its own certificate. Just add “–no-check-certificate” in the command. e.g. wget –no-check-certificate -qO – http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add – It works. If you want to see what is going on, you can use verbose command instead of quiet before adding “–no-check-certificate” option. … Read more

docker command not found even though installed with apt-get

The Ubuntu package docker actually refers to a GUI application, not the beloved DevOps tool we’ve come out to look for. The instructions for docker can be followed per instructions on the docker page here: https://docs.docker.com/engine/install/ubuntu/ === UPDATED (thanks @Scott Stensland) === You now run the following install script to get docker: Note: review the script on the … Read more

localhost/phpinfo.php

I had a similar problem but the reason was because I had just restored my files into www from a Windows NTFS backup drive. Naturally, with NTFS we don’t have the same permissions of Ubuntu or any other Linux system. Looking at the folders using nautilus showed incorrect owners and permissions. How I fixed it… … Read more