22
Apr

Updating WordPress on Fedora using SSH2 Protocol

This is the missing link for you Fedora Users, without this package installed you will not even see the SSH2 Option in wordpress for updates.

yum install php-pecl-ssh2

then restart apache

httpd -k restart

After installing that (and having SSH2 installed and all the other Apache / PHP Goodies) the SSH method opens up in WordPress.

Note you do not need an authorized key, just username and password for SSH. Notice that the host can be anything from localhost to the IP Address of the domain, any way you would log into SSH.

Also make sure to set the following in your wp-config,

define(‘FTP_BASE’, ‘/var/www/vhostsyourdomain.com/httpdocs/’);
define(‘FTP_CONTENT_DIR’, ‘/var/www/vhosts/yourdomain.com/httpdocs/wp-content/’);
define(‘FTP_PLUGIN_DIR ‘, ‘/var/www/vhosts/yourdomain.com/httpdocs/wp-content/plugins/’);

Nice thing is you can use your root user and password (for you dangerous types) to upgrade, just don’t give it to anyone else!!!! This is a security risk!!

Other good resources on this topic (but missing the above command and advice):

http://snowulf.com/2010/06/29/wordpress-enabling-sshsftp-updates/

http://codex.wordpress.org/Editing_wp-config.php

http://www.firesidemedia.net/dev/wordpress-install-upgrade-ssh/

Find Me
Post Calendar
February 2012
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
272829  
Twitter
SearchCap: The Day In Search, February 22, 2012 http://t.co/3x4hBdKE
3 hours ago
Why Every Business Blog Needs Evergreen Content http://t.co/LnP6GOsW
3 hours ago
Meet Mozzers at #SMX West 2012 http://t.co/INuAzcTK
3 hours ago
Bing Linked Pages: Better People Search Results http://t.co/n8ZCKmq3
5 hours ago
The Pros and Cons of Form-Free Content (And Which to Choose) http://t.co/nQE0snSF
7 hours ago
5 Critical B2B SEO Initiatives, In Addition To Developing A Google+ Page For Business http://t.co/geHav8P1
10 hours ago
How to Use Internal Linking to Improve Your Website's SEO http://t.co/3ib9k6HG
11 hours ago
Buying Links is Shallow, Short-Term Thinking. Buying Blogs? Now that's a Strategy. http://t.co/tt1kGOrM
17 hours ago
About Geilt
Alexander Conroy is Chief Optimization Officer and Co-President of Esotech in Miami Florida
Google+ Statistics
Empire Avenue
© Copyright 2010-2012 Geilt's Blog. All rights reserved. Created by Dream-Theme — premium wordpress themes. Proudly powered by WordPress.