I'm done setting up ssh login using public/private key pair. I have my id_rsa (private key) in my ~/.ssh directory and also still have id_rsa.pub (public key) in the same directory.
I've installed everything that is needed by Wordpress i.e. nginx 1.2.5 (built from source on /usr/local/nginx), php-fpm with other php packages and mysql via apt-get. I downloaded wordpress-3.4.2.zip and extracted it in /usr/local/nginx/html/blog. I've created MySQL database for wordpress with all privileges.
I am having difficulties logging in to a VPS running CentOS 5.5 using Public key authentication. I can log in to both a standard user account and the root account using password authentication.
I tried so many methods and get stick hours with this.I edit /etc/nginx/nginx.conf and write these lines.
location /home/user/domains/example.com/public_html/lockfolder/ {
auth_basic "Restricted";
auth_basic_user_file /home/user/domains/example.com/.htpasswd;
}
and I use crypt(3) encryption to make passwd with the command mkpasswd.Then I did with the given procedure user:encryptedpasswd in .
Running WordPress On Nginx (LEMP) on Debian Squeeze/Ubuntu 11.04
This tutorial shows how you can install and run a WordPress blog on a
Debian Squeeze or Ubuntu 11.04 system that has nginx installed instead
of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP).
In addition to that I will also show you how you can use the WordPress
plugins WP Super Cache and W3 Total Cache with
I've somehow lost my id_rsa.pub file. I still have my id_rsa file. How do I recover the public key from the private key?
(This question came up after ssh-copy-id was reporting "ERROR: No identities found" while ssh-keygen reported "/root/.ssh/id_rsa already exists".
I'm very much a NGINX and Server Admin beginner.
I used this tutorial to install NGINX / PHP / mySQL / WordPress:
C3M Digital Tutorial
In this tutorial the backend php-cgi setup is configured using fastcgi.
I've somehow lost my id_rsa.pub file. I still have my id_rsa file. How do I recover the public key from the private key?
(This question came up after ssh-copy-id was reporting "ERROR: No identities found" while ssh-keygen reported "/root/.ssh/id_rsa already exists".
I need to set up a Django site at the root of a domain, but then have a Wordpress installation in a subdirectly (e.g. /blog/). How would one configure NGinX to do this? "Pretty" URLs have to work for Wordpress as well.
For Django I am using Gunicorn, which is already configured. From NGinX I would call "proxy_pass" to direct to that.