<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CentOS Help</title>
	<atom:link href="http://centoshelp.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://centoshelp.org</link>
	<description>CentosHelp.org</description>
	<lastBuildDate>Sat, 20 Apr 2013 19:51:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Google Datacenter: The Dalles, Oregon</title>
		<link>http://centoshelp.org/resources/links/google-datacenter-the-dalles-oregon/</link>
		<comments>http://centoshelp.org/resources/links/google-datacenter-the-dalles-oregon/#comments</comments>
		<pubDate>Sun, 21 Oct 2012 20:27:56 +0000</pubDate>
		<dc:creator>warren</dc:creator>
		
		<guid isPermaLink="false">http://centoshelp.org/?page_id=1195</guid>
		<description><![CDATA[I recently encountered this photo link to Googles Global data infrastructure locations. Which made me remember not so long ago when I witnessed a Google Datacenter being constructed. I used to ride my bike everyday on the path that follows the river and 2 sides of the complex grounds. One day I brought my camera [...]]]></description>
				<content:encoded><![CDATA[<p>I recently encountered this photo link to <a href="http://www.google.com/about/datacenters/gallery/#/places/1" title="Google Global Data Infrastructure" target="_blank">Googles Global data infrastructure locations</a>.</p>
<p>Which made me remember not so long ago when I witnessed a Google Datacenter being constructed. I used to ride my bike everyday on the path that follows the river and 2 sides of the complex grounds.</p>
<p>One day I brought my camera for something else and it struck me I should get some shots of this to compare later when it was complete. I&#8217;ve worked construction in the past and my grandfather was a well known local contractor for over 50 years in this small community so it was easy to gain access to the complex to take a few shots.</p>
<p>They picked this location because of its proximity to The Dalles Dam which generates massive amounts of electricity, over 90% of which is sold directly to California. Some of the latter shots are of the substation they built exclusively to power their datacenter. The substation is hooked directly to the dam. To give you an idea of the scale of the buildings, each cooling unit on top of the structures is as big as a family car. That&#8217;s a total of 64 family car sized cooling units for the tubing that pumps cold water through their datacenters.</p>
<p>This datacenter project was massive by any scale but especially for such a small community. </p>
<p>These images were taken by me in 2005 during the construction of the Google Datacenter in The Dalles, Oregon where I lived.</p>
<p>[nggallery id=1]</p>
]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/resources/links/google-datacenter-the-dalles-oregon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing &amp; Configuring suPHP</title>
		<link>http://centoshelp.org/servers/web/installing-configuring-suphp/</link>
		<comments>http://centoshelp.org/servers/web/installing-configuring-suphp/#comments</comments>
		<pubDate>Sat, 20 Oct 2012 18:23:31 +0000</pubDate>
		<dc:creator>warren</dc:creator>
		
		<guid isPermaLink="false">http://centoshelp.org/?page_id=1172</guid>
		<description><![CDATA[IMPORTANT NOTE: If you&#8217;re doing this for WordPress or Drupal or other CMS and you have an SSL backend or an SSL (HTTPS) and normal HTTP domain simultaneously you&#8217;ll need to complete this for both vhosts, otherwise you will not be able to upload media, themes or plugins when logged in. Centos 5.x rpm -ivh [...]]]></description>
				<content:encoded><![CDATA[<p><span style="color:red;">IMPORTANT NOTE</span>: <em>If you&#8217;re doing this for WordPress or Drupal or other CMS and you have an SSL backend or an SSL (HTTPS) and normal HTTP domain simultaneously you&#8217;ll need to complete this for both vhosts, otherwise you will not be able to upload media, themes or plugins when logged in.</em></p>
<p>Centos 5.x<br />
rpm -ivh http://pkgs.repoforge.org/mod_suphp/mod_suphp-0.7.1-1.el5.rf.i386.rpm<br />
rpm -ivh http://pkgs.repoforge.org/mod_suphp/mod_suphp-0.7.1-1.el5.rf.x86_64.rpm</p>
<p>Centos 6.x<br />
rpm -ivh http://pkgs.repoforge.org/mod_suphp/mod_suphp-0.7.1-1.el6.rf.i686.rpm<br />
rpm -ivh http://pkgs.repoforge.org/mod_suphp/mod_suphp-0.7.1-1.el6.rf.x86_64.rpm</p>
<h4>1. Change the following bolded lines in /etc/suphp.conf:</h4>
<div id="fvch-codeblock-0" class="fvch-codeblock">
<table>
<tr>
<td class="fvch-line-numbers">
<pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
</pre>
</td>
<td class="fvch-code">
<pre id="fvch-code-0"><span class="html">[global]
logfile=/var/log/httpd/suphp_log
loglevel=info
webserver_user=apache
docroot=/
env_path=/bin:/usr/bin
umask=0077
min_uid=500
min_gid=500

; Security options
allow_file_group_writeable=false
allow_file_others_writeable=false
allow_directory_group_writeable=false
allow_directory_others_writeable=false

;Check wheter script is within DOCUMENT_ROOT
check_vhost_docroot=true

;Send minor error messages to browser
errors_to_browser=true

[handlers]
;Handler for php-scripts
x-httpd-php=&quot;php:/usr/bin/php-cgi&quot;

;Handler for CGI-scripts
x-suphp-cgi=&quot;execute:!self&quot;</span></pre>
</td>
</tr>
</table>
</div>
<h4>2. Make sure /etc/httpd/conf.d/suphp.conf contains only the following two uncommented lines:</h4>
<p>LoadModule suphp_module modules/mod_suphp.so<br />
suPHP_Engine off</p>
<h4>3. Add the following lines in the &lt; Virtualhost &gt; block of the httpd configuration file(s) for affected Virtualhosts running php applications.</h4>
<div id="fvch-codeblock-1" class="fvch-codeblock">
<table>
<tr>
<td class="fvch-line-numbers">
<pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre>
</td>
<td class="fvch-code">
<pre id="fvch-code-1"><span class="html">ServerAdmin joe@example.com
ServerName example.com
ServerAlias www.example.com
DocumentRoot /var/www/example.com
ErrorLog /var/log/httpd/error-example.com
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
suPHP_Engine on
suPHP_UserGroup owner group suPHP_AddHandler x-httpd-php
AddHandler x-httpd-php .php .php3 .php4 .php5
ScriptAlias /cgi-bin/ /var/www/example.com/cgi-bin/
ErrorDocument 404 /404.php</span></pre>
</td>
</tr>
</table>
</div>
<h4>4. Chown the respective docroots to the user who will be the webmaster</h4>
<p>chown -Rf user:group /var/www/example.com</p>
<h4>5. Restart the web server:</h4>
<p>service httpd restart</p>
]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/servers/web/installing-configuring-suphp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving WordPress</title>
		<link>http://centoshelp.org/servers/web/moving-wordpress/</link>
		<comments>http://centoshelp.org/servers/web/moving-wordpress/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 01:44:16 +0000</pubDate>
		<dc:creator>warren</dc:creator>
		
		<guid isPermaLink="false">http://centoshelp.org/?page_id=1055</guid>
		<description><![CDATA[This howto will explain how to move WordPress from one domain or server to another with about 5 minutes worth of work. Applicable to Centos Versions: Centos 5.x Centos 6.x Requirements Explanation of requirements. Admin or root access to the old or existing website, database, database dump and files. Admin or root access to the [...]]]></description>
				<content:encoded><![CDATA[<p>This howto will explain how to move WordPress from one domain or server to another with about 5 minutes worth of work.</p>
<div class="plain">
<h2 class="contentheading">Applicable to Centos Versions:</h2>
<ul>
<li>Centos 5.x</li>
<li>Centos 6.x</li>
</ul>
<h2 class="heading">Requirements</h2>
<p>  Explanation of requirements.</p>
<ol start="1">
<li>Admin or root access to the old or existing website, database, database dump and files.</li>
<li>Admin or root access to the new server.</li>
<li>A basic understanding of Linux, Mysql and WordPress.</li>
</ol>
</div>
<h2 class="Heading">Doing the Work</h2>
<p>This howto assumes your domain name already resolves to the new server and you&#8217;ve already uploaded the core WordPress files, custom themes and any plugins in to the proper httpd docroot.</p>
<div class="contentheading">
<ol start="1">
<li>Take a mysqldump of the database to be moved and save it locally.</li>
<pre class="TerminalCommand"><b style="color:green;">mysqldump -u root -pmypass mydatabase > mydatabase.sql</b>
replace "mypass" with your password, no spaces between your password and the -p</pre>
<li>Change the old WordPress Address (URL) and Site Address (URL) in the database using sed.</li>
<pre class="TerminalCommand"><b style="color:green;">sed -i 's/example1.com/example2.net/g' example_wpdb.sql</b>

In this example we're replacing any occurance of "exmaple1.com" with "example2.net" in the example_wpdb.sql database.

a. Create a new empty mysql database with the same name as the one you're importing on the target server.
b. Import this new, edited database on the new target server.</pre>
<li>Edit wp-config.php</li>
<pre class="TerminalCommand">Add this on a separate line by itself near the end of the wp-config.php file after all the other "define" statements:

<b style="color:green;">define('RELOCATE',true);</b>

a. Save and upload wp-config.php to the new server.
b. Load the site, login to the wp-admin
c. Go to: settings --> general and make sure the addresses are correct.
d. Again, edit the wp-config.php and remove completely or comment out the previously added define statement like this:
<b style="color:green;">/*define('RELOCATE',true);*/</b>
</pre>
</ol>
</div>
<div class="contentheading">
<h3 class="contentheading">Troubleshooting / How To Test</h3>
<p>Explanation troubleshooting basics and expectations.</p>
<ol start="1">
<li>Take a good look at the steps above and make sure you&#8217;ve followed them in precise order.</li>
<pre class="TerminalCommand">Stop where things stop working as expected and take note of any error or unexpected output or behaviors.

Also make sure to be prepared with your:
Linux version
httpd(Apache) version
php version
MySQL version</pre>
</ol>
<h3 class="contentheading">Common problems and fixes</h3>
<ul>
<li><a class="external-link" href="http://codex.wordpress.org">http://codex.wordpress.org</a></li>
</ul>
<h3 class="contentheading">Disclaimer</h3>
<p>We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to <strong><b>#centoshelp</b> or <b>#wordpress</b> on irc.freenode.net</strong></p>
<h3 class="contentheading">Added Reading</h3>
<ul>
<li><a class="external-link" href="http://www.redhat.com">http://www.redhat.com</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/servers/web/moving-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web</title>
		<link>http://centoshelp.org/servers/web/</link>
		<comments>http://centoshelp.org/servers/web/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 17:38:50 +0000</pubDate>
		<dc:creator>warren</dc:creator>
		
		<guid isPermaLink="false">http://centoshelp.org/?page_id=968</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/servers/web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail</title>
		<link>http://centoshelp.org/servers/mail/</link>
		<comments>http://centoshelp.org/servers/mail/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 17:37:05 +0000</pubDate>
		<dc:creator>warren</dc:creator>
		
		<guid isPermaLink="false">http://centoshelp.org/?page_id=964</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/servers/mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Database</title>
		<link>http://centoshelp.org/servers/database/</link>
		<comments>http://centoshelp.org/servers/database/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 17:34:36 +0000</pubDate>
		<dc:creator>warren</dc:creator>
		
		<guid isPermaLink="false">http://centoshelp.org/?page_id=959</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/servers/database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IRC</title>
		<link>http://centoshelp.org/irc/</link>
		<comments>http://centoshelp.org/irc/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 20:20:18 +0000</pubDate>
		<dc:creator>warren</dc:creator>
		
		<guid isPermaLink="false">http://centoshelp.org/?page_id=856</guid>
		<description><![CDATA[Find us on Freenode @ #centoshelp If you&#8217;re interested in helping out on IRC, please do so. If you&#8217;re interested in helping with the contents of this site or have useful suggestions please let us know. Rules: Don&#8217;t ask to ask, just ask. Provide details about your system or problem(s) such as the following: a. [...]]]></description>
				<content:encoded><![CDATA[<p><center>Find us on <a href="http://freenode.net">Freenode</a> @ <strong>#centoshelp</strong></center></p>
<p>If you&#8217;re interested in helping out on IRC, please do so. If you&#8217;re interested in helping with the contents of this site or have useful suggestions please let us know.</p>
<p>Rules:</p>
<ol>
<li>Don&#8217;t ask to ask, just ask.</li>
<li>Provide details about your system or problem(s) such as the following:</li>
<ul>
<li>a. uname -a</li>
<li>b. yum repolist all</li>
<li>c. Software / package versions.</li>
<li>d. Pastebin pertinent error logs or output.</li>
<li>e. Pastebin pertinent code.</li>
<li>f. Expected and actual results.</li>
</ul>
<li>Be patient</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/irc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Grammar &amp; Common Mistakes</title>
		<link>http://centoshelp.org/resources/docs/basic-grammar-common-mistakes/</link>
		<comments>http://centoshelp.org/resources/docs/basic-grammar-common-mistakes/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 19:41:58 +0000</pubDate>
		<dc:creator>warren</dc:creator>
		
		<guid isPermaLink="false">http://centoshelp.org/?page_id=829</guid>
		<description><![CDATA[This is a description of common grammar and/or spelling errors. Whether you want to be, think you are or not, you will be judged on your comprehension of these commonly misspelled, misunderstood or misrepresented words by the exact people who are most likely to give you the best help. Applicable to Centos Versions: Centos 5.x [...]]]></description>
				<content:encoded><![CDATA[<p>This is a description of common grammar and/or spelling errors. Whether you want to be, think you are or not, you will be judged on your comprehension of these commonly misspelled, misunderstood or misrepresented words by the exact people who are most likely to give you the best help.</p>
<h2 class="contentheading">Applicable to Centos Versions:</h2>
<ul>
<li>Centos 5.x</li>
<li>Centos 6.x</li>
</ul>
<h2 class="heading">Requirements</h2>
<ol start="1">
<li>A Clue.</li>
</ol>
<h2 class="Heading">Doing the Work</h2>
<p>It does not matter what language is your native language, where you come from or what you know. There are &#8220;facts&#8221; and there are &#8220;opinions&#8221; and here we&#8217;ll only be discussing facts of the English language. Ultimately, it&#8217;s your decision on whether you learn and apply these facts to your benefit, or choose to ignore them to your detriment.</p>
<div class="contentheading">
<ol start="1">
<li>You, Your and You&#8217;re</li>
<pre class="TerminalCommand">
<strong>You</strong> - "You" relates directly to addressing another person. Using "u" in place of "you" when trying to carry on an intelligent conversation is a contradiction in terms. Intelligent people online most often will not take someone as serious when making substitutions like this. If these small details are unimportant to you then receiving correct and/or intelligent feedback or information is equally unimportant and you should re-examine your intent.

<strong>Your</strong> - "Your" denotes ownership or relation to another person, object or possession. Again, using "ur" in place of "your" or "you're" when trying to carry on an intelligent conversation is a contradiction in terms.

Examples:
"Your shoes are untied."
"I found your wallet."
"Where are your keys?"

<strong>You're</strong> - "You're" is an abbreviation or contraction of "you" and "are" which is what you'd use when speaking to or about someone in relation to who or what they are. This could entail praise, insult, facts or random statements.

Examples:
"You're very good at that."
"You're the best friend I've got."
"This is something you're going to have to work on."

Recap:
"I can assure <strong>you</strong> that <strong>you're</strong> the only one that knows what <strong>your</strong> favorite ice cream flavor is."
</pre>
<li>There, Their and They&#8217;re</li>
<pre class="TerminalCommand">
<strong>There</strong> - "There" refers to physical location of a person, object or an event or specific place in time.

Examples:
"Can you meet me over there?"
"There is always a place for you at my table."
"Where there is a will, there is a way."

<strong>Their</strong> - "Their" refers to ownership of an object, place or relevant place in time.

Examples:
"Their house is very clean and organized."
"Have you got their new telephone number?"
"Their training program is very comprehensive."

<strong>They're</strong> - "They're" is an abbreviation of "they" and "are" which is what you'd use when speaking to or about someone in relation to who or what they are. This could entail praise, insult, facts or random statements.

Examples:
"They're the best basket weaver in the world!"
"How do you know they're going to answer?"
"In December they're going to meet us."

Recap:
"<strong>There</strong> was once a place where <strong>their</strong> ancestors <strong>they're</strong> always going to have plenty of delicious ice cream."
</pre>
<li>To, Too and Two</li>
<pre class="TerminalCommand">
<strong>To</strong> - "To" refers to destination, time or distance.

Examples:
"How can I get from here to there?"
"I went to the store."
"The store is open from 8am to 5pm."

<strong>Too</strong> - "Too" means "also" or "in addition to" or "in excess of".

Examples:
"This drink is too thick."
"I'd like to be involved too."
"this too is outdated and irrelevant."

<strong>Two</strong> - "Two" is a number --> 2.

Examples:
"There's no two ways about it."
"Two is the loneliest number that you'll ever know."
"I've got two and that's two too many." 

Recap:
"I'm getting <strong>too</strong> old <strong>to</strong> know if <strong>two</strong> is enough anymore."
</pre>
</ol>
</div>
<div class="contentheading">
<h3 class="contentheading">Troubleshooting / How To Test</h3>
<p>Explanation troubleshooting basics and expectations.</p>
<ol start="1">
<li>Explanation of test step 1:</li>
<pre class="TerminalCommand">Place index and middle finger on inside of wrist.
Take pulse.</pre>
<li>Explanation of test step 2:</li>
<pre class="TerminalCommand">If you are able to read this and move your arm, you are still alive.</pre>
</ol>
<h3 class="contentheading">Common problems and fixes</h3>
<p>Describe common problems here, include links to known common problems if on another site</p>
<ul>
<li><a class="external-link" href="http://dictionary.reference.com">http://dictionary.reference.com</a></li>
<li><a class="external-link" href="http://thesaurus.com/">http://thesaurus.com/</a></li>
</ul>
<h3 class="contentheading">More Information</h3>
<p>Any additional information or notes.</p>
<h3 class="contentheading">Disclaimer</h3>
<p>We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to <strong>#centoshelp on irc.freenode.net</strong></p>
<h3 class="contentheading">Added Reading</h3>
<ul>
<li><a class="external-link" href="http://www.redhat.com">http://www.redhat.com</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/resources/docs/basic-grammar-common-mistakes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Home</title>
		<link>http://centoshelp.org/</link>
		<comments>http://centoshelp.org/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 18:46:06 +0000</pubDate>
		<dc:creator>warren</dc:creator>
		
		<guid isPermaLink="false">http://centoshelp.org/?page_id=638</guid>
		<description><![CDATA[Welcome to Centoshelp.org Join us on Freenode IRC @ #centoshelp Welcome to CentosHelp.org &#8211; CentosHelp.org is not affiliated with the official website of Centos located at: http://www.centos.org. CentosHelp.org is currently focused on howtos and other resources to help you install, configure and test Centos Enterprise Linux as a server for your small business or enterprise. [...]]]></description>
				<content:encoded><![CDATA[<div id="content">
<div id="contentleft">
<div align="center">
<h1>Welcome to Centoshelp.org</h1>
<h3>Join us on Freenode IRC @ <strong>#centoshelp</strong></h3>
</div>
<p></p>
<div align="justify">
<strong><em>Welcome to CentosHelp.org &#8211; CentosHelp.org is not affiliated with the official website of Centos located at: http://www.centos.org. CentosHelp.org is currently focused on howtos and other resources to help you install, configure and test Centos Enterprise Linux as a server for your small business or enterprise. This site aims to be a supplement to wiki.centos.org and to comply 100% to official Centos best practices and advice designed to educate users and admins alike to get the most use out of the system through learning to use it correctly, as well as teach proper troubleshooting methodology. This site ascribes to the same philosophy as Centos.org: &#8220;Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime&#8221;.</em></strong></div>
<p></p>
<h2>What is Centos?</h2>
<p>   1. Centos is a free clone of Red Hat Enterprise Linux and aims to be 100% binary compatible with RHEL.<br />
   2. Centos is a time-tested stable Linux distribution designed to run enterprise level servers.<br />
   3. Centos has a 7 year lifecycle. Which means it will receive security updates, bug fixes and package enhancements for up to 7 years from the date of release.</p>
<h2>Where do I download Centos?</h2>
<p>    * Visit the official mirror list at: <a class="fade" href="http://www.centos.org">http://www.centos.org</a> to download the latest DVD, CD, PXE or network install images.<br />
    * Read the documentation at: <a class="fade" href="http://wiki.centos.org">http://wiki.centos.org</a> for in-depth documentation and detailed information about Centos.</p>
<h2>How do I get support?</h2>
<p>    * Try to solve the problem yourself first by checking the Centos wiki, Centos mailing lists, Google or this website.<br />
    * See the Maximizing Help section here on this website for some proven methods of obtaining positive solutions to your problems.<br />
    * Join Freenode IRC network and join the official Centos support channel at: #centos or feel free to chat about anything in #centos-social.<br />
    * Read the Official Centos IRC rules of conduct before joining to familiarize yourself with how things are done.<br />
    * Currently supported versions: 6.0, 5.7, 4.8<br />
    * Currently NON-supported versions: 3.9, 2.1 (EOL End-Of-Life)</p>
<h2>Find out more about how to help</h2>
<p>    * Do you think you have a howto, link, or other resource that should be included here?<br />
    * Are you interested in creating howtos here?<br />
    * Have you found an error or do you think something here should be removed, added or edited?<br />
    * Send an email to: admin at centoshelp.org with a brief description of what you&#8217;re looking for or your questions or concerns.<br />
    * Join the #centos IRC help channel and pitch in or just watch and learn.</p>
<h2>Donate to Centos</h2>
<p>    * Click the URL to be redirected to the official <a class="fade" href="http://www.centos.org">http://www.centos.org</a> donation portal.<br />
    * A team of dedicated users and administrators in the community works hard for FREE to bring you this distribution and keep it up to date for you. Servers and bandwith are not free and any support is greatly appreciated. Please consider a donation to centos.org.</p>
<p></p>
<div id="homeleft">
<img src="/images/centos-6-boot-screen.png"></img>
</div>
<div id="homeright">
<img src="/images/sticker-c6.png"></img>
</div>
</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Development Server on localhost</title>
		<link>http://centoshelp.org/servers/web/wordpress-development-server-on-localhost/</link>
		<comments>http://centoshelp.org/servers/web/wordpress-development-server-on-localhost/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 21:39:28 +0000</pubDate>
		<dc:creator>warren</dc:creator>
		
		<guid isPermaLink="false">http://centoshelp.org/</guid>
		<description><![CDATA[This howto will outline how to install Apache httpd, MySQL and multiple WordPress -stable and -development instances on your Centos (or other) Linux desktop so you can work anywhere, regardless of internet connection or not. These instructions can be easily adapted to any Linux system if you have enough specific knowledge of how your distro [...]]]></description>
				<content:encoded><![CDATA[<div align="justify">
This howto will outline how to install Apache httpd, MySQL and multiple WordPress -stable and -development instances on your Centos (or other) Linux desktop so you can work anywhere, regardless of internet connection or not. These instructions can be easily adapted to any Linux system if you have enough specific knowledge of how your distro is setup.<br />
</p>
<div class="plain">
<h2 class="contentheading">Applicable to Centos Versions:</h2>
<ul>
<li>Centos 5.x</li>
<li>Centos 6.x</li>
</ul>
<h2 class="heading">Requirements</h2>
<p>Explanation of requirements:</p>
<div>
</p>
<ol start="1">Note: these links may change in the future, if they become dead, please report it.</p>
<li>Download WordPress <a href="http://wordpress.org/latest.zip">-stable</a> (3.3) and <a href="http://wordpress.org/wordpress-3.3-beta4.zip">-development</a> (3.3b4) zip archives.</a></li>
<li>Root or sudo access to the Centos system</li>
</ol>
</div>
<h2 class="Heading">Doing the Work</h2>
<p>Basic description of what will be done and what is expected.</p>
<div class="contentheading">
<ol start="1">
<li>Edit /etc/hosts as root:</li>
<pre class="TerminalCommand">Make sure it looks something like this:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       yourhostname localhost.localdomain   localhost
::1             yourhostname localhost6.localdomain6 localhost6
127.0.0.1       wpdev
127.0.0.1       wordpress1
127.0.0.1       wordpress2
</pre>
<li>Create web directories as root:</li>
<pre class="TerminalCommand">]# cd /var/www/html; mkdir -p wpdev wordpress1 wordpress2</pre>
<li>Install httpd, MySQL and PHP and configure them as root:</li>
<pre class="TerminalCommand">]# yum install httpd mysql-server php

For instructions on setting up MySQL go <a href="/servers/wordpress-development-server-on-localhost">Here</a>
Add these lines to the bottom of your httpd.conf located in: /etc/httpd/conf/httpd.conf
<div id="fvch-codeblock-0" class="fvch-codeblock"><table><tr><td class="fvch-line-numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
</pre>
</td>
<td class="fvch-code">
<pre id="fvch-code-0"><span class="html">NameVirtualHost *:80

<span class="html-other-element">&lt;VirtualHost *:80&gt;</span>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html/wpdev
    ServerName wpdev
    ErrorLog logs/wpdev-error_log
    CustomLog logs/wpdev-access_log common
<span class="html-other-element">&lt;Directory /var/www/html/wpdev&gt;</span>
    AllowOverride All
<span class="html-other-element">&lt;/Directory&gt;</span>
<span class="html-other-element">&lt;/VirtualHost&gt;</span>

<span class="html-other-element">&lt;VirtualHost *:80&gt;</span>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html/wordpress1
    ServerName wordpress1
    ErrorLog logs/wordpress1-error_log
    CustomLog logs/wordpress1-access_log common
<span class="html-other-element">&lt;Directory /var/www/html/wordpress1&gt;</span>
    AllowOverride All
<span class="html-other-element">&lt;/Directory&gt;</span>
<span class="html-other-element">&lt;/VirtualHost&gt;</span>
NameVirtualHost *:80

<span class="html-other-element">&lt;VirtualHost *:80&gt;</span>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html/wordpress2
    ServerName wordpress2
    ErrorLog logs/wordpress2-error_log
    CustomLog logs/wordpress2-access_log common
<span class="html-other-element">&lt;Directory /var/www/html/wordpress2&gt;</span>
    AllowOverride All
<span class="html-other-element">&lt;/Directory&gt;</span>
<span class="html-other-element">&lt;/VirtualHost&gt;</span></span></pre>
</td>
</tr>
</table>
</div>
<li>Add MySQL database as root:</li>
<pre class="TerminalCommand">]# mysql -p
Enter password: 
mysql> CREATE DATABASE wordpress1;
mysql> GRANT ALL PRIVILEGES ON wordpress1.* TO 'you'@'localhost' IDENTIFIED BY 'yourpass';
mysql> FLUSH PRIVILEGES;
mysql> QUIT;
</pre>
<li>Configuring wp-config.php as root:</li>
<pre class="TerminalCommand">]# cd /var/www/html/wordpress1; unzip latest.zip; mv wp-config-sample.php wp-config.php
]# vi wp-config.php
<div id="fvch-codeblock-1" class="fvch-codeblock"><table><tr><td class="fvch-line-numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
</pre>
</td>
<td class="fvch-code">
<pre id="fvch-code-1"><span class="php"><span class="php-comment">// ** MySQL settings - You can get this info from your web host ** //</span>
<span class="php-comment">/** The name of the database for WordPress */</span>
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'DB_NAME'</span>, <span class="php-string">'wordpress1'</span><span class="php-brackets">)</span>;

<span class="php-comment">/** MySQL database username */</span>
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'DB_USER'</span>, <span class="php-string">'you'</span><span class="php-brackets">)</span>

<span class="php-comment">/** MySQL database password */</span>
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'DB_PASSWORD'</span>, <span class="php-string">'yourpass'</span><span class="php-brackets">)</span>;

<span class="php-comment">/** MySQL hostname */</span>
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'DB_HOST'</span>, <span class="php-string">'localhost'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'AUTH_KEY'</span>,         <span class="php-string">'put your unique phrase here'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'SECURE_AUTH_KEY'</span>,  <span class="php-string">'put your unique phrase here'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'LOGGED_IN_KEY'</span>,    <span class="php-string">'put your unique phrase here'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'NONCE_KEY'</span>,        <span class="php-string">'put your unique phrase here'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'AUTH_SALT'</span>,        <span class="php-string">'put your unique phrase here'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'SECURE_AUTH_SALT'</span>, <span class="php-string">'put your unique phrase here'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'LOGGED_IN_SALT'</span>,   <span class="php-string">'put your unique phrase here'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'NONCE_SALT'</span>,       <span class="php-string">'put your unique phrase here'</span><span class="php-brackets">)</span>;

Note<span class="php-operator">:</span> DO NOT USE THE SALTS IN THE EXAMPLE BELOW
Get a <span class="php-keyword">new</span> set generated here<span class="php-operator">:</span> https<span class="php-operator">:</span><span class="php-comment">//api.wordpress.org/secret-key/1.1/salt/</span>
Example<span class="php-operator">:</span>
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'AUTH_KEY'</span>,         <span class="php-string">'v6liRDKI#vhN.{kB2M(u:}M^I][}f{,(0TzlVY^pWc.b;eO=/8l}8cD%1=X{mqm^'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'SECURE_AUTH_KEY'</span>,  <span class="php-string">'=b}=YB^5G0&gt;b|F0!9N`]F8Djvv({&lt;/IQHhG|R*Fa68{Op!@EudNaQb0[#@nr=?Q]'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'LOGGED_IN_KEY'</span>,    <span class="php-string">'U5Aab1Sxf6VJ+PkJ&lt;0Ty+.n8S9j|-MaSou6Hr$:y|F0Uq7GIofYmKzjz*=SLg=#)'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'NONCE_KEY'</span>,        <span class="php-string">'Nj;FkNp-F+-.Du!:.d;r/^.&amp;&lt;Rw 8LV^0%A~A=dqQ5taS}+Z9ddd1d.|bO@4y%/9'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'AUTH_SALT'</span>,        <span class="php-string">'M.OZPT;bK%wya&amp;RT(`/a9_Eg-.n_Lv7{[AUio?LUx aI;J${D}t6H6F|9-wd.}@1'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'SECURE_AUTH_SALT'</span>, <span class="php-string">'A&amp;&amp;I^a}SGLEsw0+]_o}AYH(A2Y/G1jSTq2Cg~&gt;%.g]}&amp;YK]BbBq?&amp;e:+N rWJ(_g'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'LOGGED_IN_SALT'</span>,   <span class="php-string">'A4kIk[}0=Dra{y2/DU&lt;w}oYvI+A:W0{Lx)nMF?3-Jp~kR+|{Eax00&amp;ddK_[AMU&lt;-'</span><span class="php-brackets">)</span>;
<span class="php-function">define</span><span class="php-brackets">(</span><span class="php-string">'NONCE_SALT'</span>,       <span class="php-string">'#9C{^mXT0@Ik(RQ&lt;TYGtGLV!U|DkC)uKtHA}n@TkC|FjUc*s`xKiN~}ree}5lGe^'</span><span class="php-brackets">)</span>;</span></pre>
</td>
</tr>
</table>
</div>
<li>As root, make sure MySQL and httpd are started and and your web directories are all owned by the user/group your web server runs as (<em>DO NOT DO THIS ON PRODUCTION SERVERS</em>), in our case "apache". Next, browse to your first install:</li>
<pre class="TerminalCommand">
]# service mysqld restart; service httpd restart

<em>(This step allows you to run 1-click automatic core/theme/plugin updates from within your admin panel without being prompted for a password or ftp credentials)</em> Security tip: <b>DO NOT DO THIS ON PRODUCTION SERVERS</b>
]# chown -Rf apache:apache /var/www/html

Next, open a web browser and go to http://wordpress1

You should be presented with the default WordPress install page.

You can repeat this for as many isolated instances as you want on your laptop or desktop Linux workstation.
</pre>
</ol>
</div>
<h2 class="contentheading">Troubleshooting &amp; Supplementary Information<br /></h2>
<h3 class="contentheading">How to test</h3>
<div>
    Explanation troubleshooting basics and expectations.</p>
<ol start="1">
<li>Check the running status of mysqld and httpd:</li>
<pre class="TerminalCommand">]# service mysqld status; service httpd status;
mysqld (pid  1768) is running...
httpd (pid  1888) is running...
</pre>
<li>Check the virtualhosts config in httpd:</li>
<pre class="TerminalCommand">]# httpd -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80                   is a NameVirtualHost
         default server wpdev (/etc/httpd/conf/httpd.conf:1004)
         port 80 namevhost wpdev (/etc/httpd/conf/httpd.conf:1004)
         port 80 namevhost wordpress (/etc/httpd/conf/httpd.conf:1015)
         port 80 namevhost wordpress2 (/etc/httpd/conf/httpd.conf:1026)
</pre>
<li>Check the /etc/hosts file:</li>
<pre class="TerminalCommand">]# cat /etc/hosts
127.0.0.1       yourhostname localhost.localdomain   localhost
::1             yourhostname localhost6.localdomain6 localhost6
127.0.0.1       wpdev
127.0.0.1       wordpress1
127.0.0.1       wordpress2
</pre>
</ol>
</div>
<h3 class="contentheading">Common problems and fixes</h3>
<p>Describe common problems here, include links to known common problems if on another site</p>
<ul>
<li><a class="external-link" href="http://wiki.centos.org">http://wiki.centos.org</a></li>
<li><a class="external-link" href="http://wordpress.org">http://wordpress.org</a></li>
<li><a class="external-link" href="http://codex.wordpress.org">http://codex.wordpress.org</a></li>
<li><a class="external-link" href="http://wordpress.org/extend/plugins">http://wordpress.org/extend/plugins</a></li>
<li><a class="external-link" href="http://wordpress.org/extend/themes">http://wordpress.org/extend/themes</a></li>
</ul>
<h3 class="contentheading">More Information</h3>
<p>Any additional information or notes.</p>
<h3 class="contentheading">Disclaimer</h3>
<p>We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to <strong>#wordpress or #centoshelp on irc.freenode.net</strong></p>
<h3 class="contentheading">Added Reading</h3>
<ul>
<li><a class="external-link" href="http://www.redhat.com">http://www.redhat.com</a></li>
</ul>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/servers/web/wordpress-development-server-on-localhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
