<?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>Wed, 07 Mar 2012 03:39:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<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>admin</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>admin</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>admin</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>admin</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>admin</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: 1. Don&#8217;t ask to ask, just ask. 2. Provide details about your system or problem such as: &#160;&#160;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>
<p>1. Don&#8217;t ask to ask, just ask.<br />
2. Provide details about your system or problem such as:<br />
&nbsp;&nbsp;a. uname -a<br />
&nbsp;&nbsp;b. pertinent error logs or output<br />
&nbsp;&nbsp;c. expected and actual results<br />
3. Be patient</p>
]]></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>admin</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>
<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>
<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>admin</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/card.png"></img>
</div>
<div id="homeright">
<img src="/images/sticker.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>admin</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 class="fvch-code">
<pre class="fvch-line-numbers">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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
</pre>
<pre><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>
</div>
</pre>
<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 class="fvch-code">
<pre class="fvch-line-numbers">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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
</pre>
<pre><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>
</div>
</pre>
<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>
		<item>
		<title>Installing Sun Java 32 bit browser plugin</title>
		<link>http://centoshelp.org/resources/post-install-options/installing-sun-java-32-bit-browser-plugin/</link>
		<comments>http://centoshelp.org/resources/post-install-options/installing-sun-java-32-bit-browser-plugin/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 01:27:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<guid isPermaLink="false">http://wp.centoshelp.org/</guid>
		<description><![CDATA[This howto will show you how to painlessly install the Sun Java broswer plugin. You should be aware of several potential risks before you start. 1. Centos uses gcj which is a free version of Java, but it is not Java. There are potential mix-match problems that can arise when compiling some applictions on development [...]]]></description>
			<content:encoded><![CDATA[<p>This howto will show you how to painlessly install the Sun Java broswer plugin. You should be aware of several potential risks before you start. 1. Centos uses gcj which is a free version of Java, but it is not Java. There are potential mix-match problems that can arise when compiling some applictions on development machines. 2. If your system is slow you may run into problems as Sun Java tends to be CPU and RAM intensive. 3. If you&#8217;re running an x86_64 system and compiling 32bit applications without the proper chrooted environment it will most likely not work. The main purpose for this howto is only for a 32 bit browser solution. If you need more in-depth instructions please see the howto here by Scott Glaser or the IcedTea howto by jmahowald on fedorasolved.org. That said let&#8217;s get started. </p>
<div class="plain">
<h2 class="contentheading">Applicable to Centos Versions:</h2>
<ul>
<li>Centos 5.x<br /> 
    </li>
</ul>
<h2 class="heading">Requirements</h2>
<div>
  Explanation of requirements.</p>
<ol start="1">
<li>Download the Sun Java RPM file here: <a title="external-link" href="http://www.java.com/en/download/manual.jsp">http://www.java.com/en/download/manual.jsp</a></li>
<li>Download this file: Linux RPM .bin (self-extracting file)</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>Once the file has been downloaded, navigate to the directory in the terminal as root and run the following command:</li>
<pre class="TerminalCommand"><strong>chmod +x jre-6u3-linux-i586-rpm.bin; ./jre-6u3-linux-i586-rpm.bin</strong></pre>
<li>Once the RPM is installed run this command as root and any user on the system should be able to take advantage of Sun Java in Firefox:</li>
<pre class="TerminalCommand"><strong>ln -s /usr/java/jre1.6.0_03/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so</strong>note: if the directory /usr/lib/firefox/plugins/ does not exist, first create it with thiscommand as root: <strong>mkdir /usr/lib/firefox/plugins/</strong></pre>
<li>Next close and restart Firefox:</li>
<pre class="TerminalCommand">simply close it via GUI or run this in the terminal: <strong>killall firefox-bin</strong></pre>
</ol>
</div>
<h2 class="contentheading">Troubleshooting</h2>
<h3 class="contentheading">How to test</h3>
<div>
    Explanation troubleshooting basics and expectations.</p>
<ol start="1">
<li>Is the RPM installed?:</li>
<pre class="TerminalCommand"><strong>rpm -qa | grep -i jre</strong>jre-1.6.0_03-fcs</pre>
<li>Make sure you&#8217;ve linked the library correctly:</li>
<pre class="TerminalCommand"><strong>ls -als /usr/lib/mozilla/plugins | grep -i libjava</strong>4 lrwxrwxrwx 1 root root   58 2007-09-04 14:56 libjavaplugin_oji.so -&gt; /usr/java/jre1.6.0_03/plugin/i386/ns7/libjavaplugin_oji.so

the "l" at the beginning of this permissions list indicates that the symbolic link has been created andthe -&gt; shows where it leads.</pre>
</ol>
</div>
<h2 class="contentheading">More Information</h2>
<div>
    Any additional information or notes.</div>
<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 #fedora on irc.freenode.net</p>
<h3 class="contentheading">Added Reading</h3>
<ul>
<li><a title="external-link" href="http://fedoraos.org">http://fedoraos.org</a></li>
<li><a class="external-link" href="http://wiki.centos.org">http://wiki.centos.org</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/resources/post-install-options/installing-sun-java-32-bit-browser-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Sun Java 64 bit Browser Plugin</title>
		<link>http://centoshelp.org/resources/post-install-options/installing-sun-java-64-bit-browser-plugin/</link>
		<comments>http://centoshelp.org/resources/post-install-options/installing-sun-java-64-bit-browser-plugin/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 01:26:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<guid isPermaLink="false">http://wp.centoshelp.org/</guid>
		<description><![CDATA[This howto will show you how to painlessly install the Sun Java broswer plugin. You should be aware of several potential risks before you start. 1. Centos uses gcj which is a free version of Java, but it is not Java. There are potential mix-match problems that can arise when compiling some applictions on development [...]]]></description>
			<content:encoded><![CDATA[<p>This howto will show you how to painlessly install the Sun Java broswer plugin. You should be aware of several potential risks before you start. 1. Centos uses gcj which is a free version of Java, but it is not Java. There are potential mix-match problems that can arise when compiling some applictions on development machines. 2. If your system is slow you may run into problems as Sun Java tends to be CPU and RAM intensive. 3. If you&#8217;re running an x86_64 system and compiling 32bit applications without the proper chrooted environment it will most likely not work. The main purpose for this howto is only for a 64 bit browser solution. If you need more in-depth instructions please see the howto here by Scott Glaser or the IcedTea howto by jmahowald on fedorasolved.org. That said let&#8217;s get started. </p>
<div class="plain">
<h2 class="contentheading">Applicable to Centos Versions:</h2>
<ul>
<li>Centos 5.x<br /> 
    </li>
</ul>
<h2 class="heading">Requirements</h2>
<div>
  Explanation of requirements.</p>
<ol start="1">
<li>Download the Sun Java 64 bit RPM file here: <a title="external-link" href="http://www.java.com/en/download/manual.jsp">http://www.java.com/en/download/manual.jsp</a></li>
<li>Download this file: Linux RPM .bin (self-extracting file)</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>Once the file has been downloaded, navigate to the directory in the terminal as root and run the following command:</li>
<pre class="TerminalCommand">chmod +x jre-6u12-linux-x64-rpm.bin; ./jre-6u12-linux-x64-rpm.bin</pre>
<li>Once the RPM is installed run this command as root and any user on the system should be able to take advantage of Sun Java in Firefox:</li>
<pre class="TerminalCommand">ln -s /usr/java/jre1.6.0_12/lib/amd64/libnpjp2.so /usr/lib64/firefox-3.0.6/plugins/libnpjp2.sonote: if the directory /usr/lib64/firefox-3.0.6/plugins/ does not exist, first create it with thiscommand as root: mkdir /usr/lib64/firefox-3.0.6/plugins/</pre>
<li>Next close and restart Firefox:</li>
<pre class="TerminalCommand">simply close it via GUI or run this in the terminal: killall firefox-bin</pre>
</ol>
</div>
<h2 class="contentheading">Troubleshooting</h2>
<h3 class="contentheading">How to test</h3>
<div>
    Explanation troubleshooting basics and expectations.</p>
<ol start="1">
<li>Is the RPM installed?:</li>
<pre class="TerminalCommand">rpm -qa | grep -i jrejre-1.6.0_12-fcs</pre>
<li>Make sure you&#8217;ve linked the library correctly:</li>
<pre class="TerminalCommand">ls -als /usr/lib64/firefox-3.0.6/pluginstotal 208 drwxr-xr-x  2 root root 4096 Mar  9 15:00 .8 drwxr-xr-x 10 root root 4096 Mar  9 14:59 ..4 lrwxrwxrwx  1 root root   43 Mar  9 15:00 libnpjp2.so -&gt; /usr/java/jre1.6.0_12/lib/amd64/libnpjp2.so

the "l" at the beginning of this permissions list indicates that the symbolic link has been created andthe -&gt; shows where it leads.</pre>
</ol>
</div>
<h2 class="contentheading">More Information</h2>
<div>
    Any additional information or notes.</div>
<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 #fedora on irc.freenode.net</p>
<h3 class="contentheading">Added Reading</h3>
<ul>
<li><a title="external-link" href="http://fedoraos.org">http://fedoraos.org</a></li>
<li><a class="external-link" href="http://wiki.centos.org">http://wiki.centos.org</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://centoshelp.org/resources/post-install-options/installing-sun-java-64-bit-browser-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

