Lost httpd.conf file located apache [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 9 years ago. Improve this question How can I find where my httpd.conf file is located? I am running an Ubuntu Linux server from the Amazon Web Services EC2 … Read more

Nginx no-www to www and www to no-www

I am using nginx on Rackspace cloud following a tutorial and having searched the net and so far can’t get this sorted. I want www.mysite.com to go to mysite.com as normal in .htaccess for SEO and other reasons. My /etc/nginx/sites-available/www.example.com.vhost config: server { listen 80; server_name www.example.com example.com; root /var/www/www.example.com/web; if ($http_host != “www.example.com”) { … Read more

ImageMagick security policy ‘PDF’ blocking conversion

The Imagemagick security policy seems to be not allowing me perform this conversion from pdf to png. Converting other extensions seem to be working, just not from pdf. I haven’t changed any of the imagemagick settings since I installed it… I am using Arch Linux, if the OS matters. user@machine $ convert -density 300 -depth … Read more

`require’: no such file to load — mkmf (LoadError)

I was trying to install rails on Ubuntu Natty Narwhal 11.04, using ruby1.9.1. I installed ruby using apt-get install ruby1.9.1-full which contains the dev package. I googled the error and all have suggested I install the 1.9.1-dev which I already have. Building native extensions. This could take a while… ERROR: Error installing rails: ERROR: Failed … Read more

How to permanently add a private key with ssh-add on Ubuntu? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 3 years ago. Improve this question I have a private key protected with a password to access a server via SSH. I have 2 linux … Read more

Docker error : no space left on device

I installed docker on a Debian 7 machine in the following way $ echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list $ sudo apt-get update $ curl -sSL https://get.docker.com/ubuntu/ | sudo sh After that when I first tried creating an Image it failed with the following error time=”2015-06-02T14:26:37-04:00″ level=info msg=”[8] System error: write /sys/fs/cgroup/docker/01f5670fbee1f6687f58f3a943b1e1bdaec2630197fa4da1b19cc3db7e3d3883/cgroup.procs: no space … Read more