<?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>System Network Programming Solution - Linux - windows - centos- security- cpanel - plesk -directadmin helm&#187; Mysql</title>
	<atom:link href="http://thegioinguonmo.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://thegioinguonmo.com</link>
	<description>SHARING EVERYTHING</description>
	<lastBuildDate>Mon, 21 May 2012 21:42:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>EasyApache Custom Modules</title>
		<link>http://thegioinguonmo.com/web-server/apache/easyapache-custom-modules.html</link>
		<comments>http://thegioinguonmo.com/web-server/apache/easyapache-custom-modules.html#comments</comments>
		<pubDate>Tue, 08 May 2012 09:40:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[GD]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[mysql database]]></category>
		<category><![CDATA[tar gz]]></category>
		<category><![CDATA[Warning]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=555</guid>
		<description><![CDATA[Custom Apache and PHP modules add features to the EasyApache system, and are accessible from both the command line and graphical WHM interfaces. These modules are compiled into Apache and/or PHP just like the modules provided with EasyApache. Before you begin You can find documentation for creating custom modules your server at WHM &#62; EasyApache [...]]]></description>
			<content:encoded><![CDATA[<p>Custom Apache and PHP modules add features to the EasyApache system, and are accessible from both the command line and graphical WHM interfaces. These modules are compiled into Apache and/or PHP just like the modules provided with EasyApache.</p>
<h2>Before you begin</h2>
<p>You can find documentation for creating custom modules your server at WHM &gt; <em>EasyApache</em> &gt; <em>Help</em> &gt; <em>Cpanel::Easy Framework POD</em>, or and via command line at <code>/scripts/easyapache --perldoc</code>.</p>
<p>You can download a few sample custom modules below. These modules are not likely to be included in EasyApache in the near future.</p>
<p><img title="PICK" src="http://twiki.cpanel.net/twiki/pub/TWiki/TWikiDocGraphics/starred.gif" alt="starred EasyApache Custom Modules " width="16" height="16" border="0" /> <strong>Important:</strong> If you have problems building Apache with your custom modules, and you are unable to troubleshoot the problem, run <code>/scripts/easyapache --skip-custom-optmods</code> to build Apache and PHP without any custom modules. (Or, access the WHM equivalent found in EasyApache’s <em>Help</em> section).</p>
<h2><a name="Custom_modules"></a> Custom modules</h2>
<h3><a name="Installing_a_custom_module"></a> Installing a custom module</h3>
<p>To install a custom module:</p>
<ol>
<li>Download and unzip it into <code>/var/cpanel/easy/apache/custom_opt_mods/</code>.</li>
<li>When logged into your server as <code>root</code>, you can install any module listed below by running the following commands. Be sure to replace <code>$NAME.tar.gz</code> with the filename of the module you wish to download:</li>
</ol>
<p><code>wget http://easyapache.cpanel.net/optmods/$NAME.tar.gz<br />
tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf $NAME.tar.gz<br />
</code></p>
<h3><a name="Removing_a_custom_module"></a> Removing a custom module</h3>
<p>In order to remove a custom module from the server, simply delete the files you created when you issued the above commands. The module will be removed from all future builds and the EasyApache interface.</p>
<h3><a name="Available_modules"></a> Available modules</h3>
<p><img title="ALERT!" src="http://twiki.cpanel.net/twiki/pub/TWiki/TWikiDocGraphics/warning.gif" alt="warning EasyApache Custom Modules " width="16" height="16" border="0" /> <strong>Warning:</strong> cPanel <strong>does not</strong> provide support for custom modules, including the ones linked below. The following modules are not developed by cPanel, Inc. Use them at your own risk.</p>
<p><strong>mod_auth_mysql</strong> — This module allows you to authenticate users and authorize access through a MySQL database.</p>
<ul>
<li>Download: <a rel="nofollow" target="_blank" href="http://twiki.cpanel.net/twiki/pub/EasyApache3/CustomMods/custom_opt_mod-mod_auth_mysql.tar.gz" target="_top">custom_opt_mod-mod_auth_mysql.tar.gz</a></li>
<li><a rel="nofollow" target="_blank" href="http://modauthmysql.sourceforge.net/" target="_blank">mod_auth_mysql project page</a>.</li>
</ul>
<p><strong>mod_GeoIP</strong> — This module looks up the IP address of the client web user in the GeoIP database.</p>
<ul>
<li>Download: <a rel="nofollow" target="_blank" href="http://twiki.cpanel.net/twiki/pub/EasyApache3/CustomMods/custom_opt_mod-mod_geoip.tar.gz" target="_top">custom_opt_mod-mod_geoip.tar.gz</a></li>
<li><a rel="nofollow" target="_blank" href="http://www.maxmind.com/app/mod_geoip" target="_blank">mod_GeoIP project page</a></li>
</ul>
<p><strong>mod_python</strong> — This module embeds the Python interpreter into Apache, for faster Python applications.</p>
<ul>
<li>Download: <a rel="nofollow" target="_blank" href="http://twiki.cpanel.net/twiki/pub/EasyApache3/CustomMods/custom_opt_mod-mod_python.tar.gz" target="_top">custom_opt_mod-mod_python.tar.gz</a></li>
<li><a rel="nofollow" target="_blank" href="http://www.modpython.org/" target="_blank">mod_python project page</a></li>
</ul>
<p><strong>GD with JIS-mapped Japanese font support</strong> — This module provides JIS-mapped Japanese font support for the GD library under PHP5.</p>
<ul>
<li>Download: <a rel="nofollow" target="_blank" href="http://twiki.cpanel.net/twiki/pub/EasyApache3/CustomMods/custom_opt_mod-php5-gd_jis_mapped_japanese_font_support.tar.gz" target="_top">custom_opt_mod-php5-gd_jis_mapped_japanese_font_support.tar.gz</a></li>
</ul>
<p><strong>Turkish locale patch for PHP5</strong> — This module improves PHP5 support for Turkish.</p>
<ul>
<li>Download: <a rel="nofollow" target="_blank" href="http://twiki.cpanel.net/twiki/pub/EasyApache3/CustomMods/custom_opt_mod-php5-turkish_locale_patch.tar.gz" target="_top">custom_opt_mod-php5-turkish_locale_patch.tar.gz</a></li>
</ul>
<p><strong>suPHP PAM patch</strong> — This module allows you to use limits (<code>/etc/security*.conf</code>) with suPHP.</p>
<ul>
<li>Download: <a rel="nofollow" target="_blank" href="http://twiki.cpanel.net/twiki/pub/EasyApache3/CustomMods/custom_opt_mod-suphp_pam_patch.tar.gz" target="_top">custom_opt_mod-suphp_pam_patch.tar.gz</a></li>
<li><a rel="nofollow" target="_blank" href="http://www.mail-archive.com/suphp@lists.marsching.biz/msg00049.html" target="_blank">suPHP PAM patch information</a></li>
</ul>
<p>Source: http://twiki.cpanel.net/twiki/bin/view/EasyApache3/CustomMods</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/web-server/apache/easyapache-custom-modules.html" title="easyapache how to make custom module">easyapache how to make custom module</a> (1)</li><li><a href="http://thegioinguonmo.com/web-server/apache/easyapache-custom-modules.html" title="install easyapache on centos">install easyapache on centos</a> (1)</li><li><a href="http://thegioinguonmo.com/web-server/apache/easyapache-custom-modules.html" title="linux download mod_python tar gz">linux download mod_python tar gz</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/web-server/apache/easyapache-custom-modules.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: Find All File Descriptors Used By a Process</title>
		<link>http://thegioinguonmo.com/os/linux/linux-find-all-file-descriptors-used-by-a-process.html</link>
		<comments>http://thegioinguonmo.com/os/linux/linux-find-all-file-descriptors-used-by-a-process.html#comments</comments>
		<pubDate>Thu, 19 Apr 2012 09:41:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[lib]]></category>
		<category><![CDATA[lsof]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[mysqld]]></category>
		<category><![CDATA[REG]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[root root]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=1496</guid>
		<description><![CDATA[How can I find all the file descriptors used by a process such as httpd (Apache web server) or mysqld (MySQL Database server)? You can use /proc file system or the lsof command to find all the file descriptors used by a process. /proc File System Example Find out process ID using the ps command, [...]]]></description>
			<content:encoded><![CDATA[<p>How can I find all the file descriptors used by a process such as httpd (Apache web server) or mysqld (MySQL Database server)?</p>
<p>You can use /proc file system or the lsof command to find all the file descriptors used by a process.</p>
<h2>/proc File System Example</h2>
<p>Find out process ID using the ps command, enter:<br />
<code># ps aux | grep processName<br />
# ps aux | grep mysqld</code><br />
Sample outputs:</p>
<blockquote><p>root 3632 0.0 0.0 65944 1296 ? S Jun05 0:00 /bin/sh /usr/bin/mysqld_safe –datadir=/var/lib/mysql –socket=/var/lib/mysql/mysql.sock –log-error=/var/log/mysqld.log –pid-file=/var/run/mysqld/mysqld.pid –user=mysql<br />
mysql 3679 9.0 8.9 1393476 733756 ? Sl Jun05 3448:12 /usr/libexec/mysqld –basedir=/usr –datadir=/var/lib/mysql –user=mysql –pid-file=/var/run/mysqld/mysqld.pid –skip-external-locking –socket=/var/lib/mysql/mysql.sock<br />
root 44723 0.0 0.0 61188 820 pts/0 S+ 17:48 0:00 grep mysqld</p></blockquote>
<p>You can also use the pidof command as follows to find out the process id’s (pids) of the named programs:<br />
<code># pidof processName<br />
# pidof mysqld</code><br />
Sample outputs:</p>
<blockquote><p>3679</p></blockquote>
<p>Note down the PID # 3679.</p>
<h3>/proc/$pid/fd Directory Example</h3>
<p>Type the following command:<br />
<code># ls /proc/3679/fd<br />
# ls -l /proc/3679/fd</code><br />
Sample outputs:</p>
<blockquote><p>total 0<br />
lr-x—— 1 root root 64 Jul 1 13:09 0 -&gt; /dev/null<br />
l-wx—— 1 root root 64 Jul 1 13:09 1 -&gt; /var/log/mysqld.log<br />
lrwx—— 1 root root 64 Jul 1 13:09 10 -&gt; socket:[14667]<br />
lrwx—— 1 root root 64 Jul 1 13:09 100 -&gt; /var/lib/mysql/blogdb/wp_term_relationships.MYI<br />
lrwx—— 1 root root 64 Jul 1 13:09 101 -&gt; /var/lib/mysql/blogdb/wp_postmeta.MYI<br />
lrwx—— 1 root root 64 Jul 1 13:09 102 -&gt; /var/lib/mysql/blogdb/wp_terms.MYI<br />
lrwx—— 1 root root 64 Jul 1 13:09 103 -&gt; /var/lib/mysql/orders/discussionread.MYD<br />
lrwx—— 1 root root 64 Jul 1 13:09 104 -&gt; /var/lib/mysql/orders/comments.MYI<br />
lrwx—— 1 root root 64 Jul 1 13:09 105 -&gt; /var/lib/mysql/orders/useractivation.MYI<br />
lrwx—— 1 root root 64 Jul 1 13:09 106 -&gt; /var/lib/mysql/orders/postparsed.MYI<br />
lrwx—— 1 root root 64 Jul 1 13:09 107 -&gt; /var/lib/mysql/orders/sigparsed.MYI<br />
lrwx—— 1 root root 64 Jul 1 13:09 108 -&gt; /var/lib/mysql/support/forum.MYI<br />
……<br />
…….<br />
…<br />
(output truncated)</p></blockquote>
<h3>lsof command Example</h3>
<p>Type the command as follows:<br />
<code># lsof -a -p {PID-HERE}<br />
# lsof -a -p 3679</code><br />
Sample outputs:</p>
<blockquote><p>COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME<br />
mysqld 3679 mysql cwd DIR 8,2 4096 7667720 /var/lib/mysql<br />
mysqld 3679 mysql rtd DIR 8,2 4096 2 /<br />
mysqld 3679 mysql txt REG 8,2 7721832 15185707 /usr/libexec/mysqld<br />
mysqld 3679 mysql mem REG 8,2 13074466 /lib64/ld-2.5.so (path inode=13074445)<br />
mysqld 3679 mysql mem REG 8,2 13074602 /lib64/libc-2.5.so (path inode=13074454)<br />
mysqld 3679 mysql mem REG 8,2 13074603 /lib64/libdl-2.5.so (path inode=13074461)<br />
mysqld 3679 mysql mem REG 8,2 13074608 /lib64/libm-2.5.so (path inode=13074464)<br />
mysqld 3679 mysql mem REG 8,2 13074612 /lib64/libpthread-2.5.so (path inode=13074491)<br />
mysqld 3679 mysql mem REG 8,2 85928 15193367 /usr/lib64/libz.so.1.2.3<br />
mysqld 3679 mysql mem REG 8,2 247496 13074620 /lib64/libsepol.so.1<br />
mysqld 3679 mysql mem REG 8,2 95464 13074623 /lib64/libselinux.so.1<br />
mysqld 3679 mysql mem REG 8,2 13074615 /lib64/librt-2.5.so (path inode=13074500)<br />
mysqld 3679 mysql mem REG 8,2 13074618 /lib64/libnsl-2.5.so (path inode=13074469)<br />
mysqld 3679 mysql mem REG 8,2 13074633 /lib64/libcrypt-2.5.so (path inode=13074459)<br />
mysqld 3679 mysql mem REG 8,2 1366272 13074653 /lib64/libcrypto.so.0.9.8e<br />
mysqld 3679 mysql mem REG 8,2 13074655 /lib64/libresolv-2.5.so (path inode=13074496)<br />
mysqld 3679 mysql mem REG 8,2 58400 13074610 /lib64/libgcc_s-4.1.2-20080825.so.1<br />
mysqld 3679 mysql mem REG 8,2 10000 13074666 /lib64/libcom_err.so.2.1<br />
mysqld 3679 mysql mem REG 8,2 15193399 /usr/lib64/libk5crypto.so.3.1 (path inode=15186140)<br />
mysqld 3679 mysql mem REG 8,2 9728 13074658 /lib64/libkeyutils-1.2.so<br />
mysqld 3679 mysql mem REG 8,2 15193402 /usr/lib64/libgssapi_krb5.so.2.2 (path inode=15186013)<br />
mysqld 3679 mysql mem REG 8,2 15193397 /usr/lib64/libkrb5support.so.0.1 (path inode=15186147)<br />
mysqld 3679 mysql mem REG 8,2 15193400 /usr/lib64/libkrb5.so.3.3 (path inode=15184571)<br />
mysqld 3679 mysql mem REG 8,2 976312 15180443 /usr/lib64/libstdc++.so.6.0.8<br />
mysqld 3679 mysql mem REG 8,2 315032 13074667 /lib64/libssl.so.0.9.8e<br />
mysqld 3679 mysql mem REG 8,2 13074479 /lib64/libnss_files-2.5.so (path inode=13074476)<br />
mysqld 3679 mysql 0r CHR 1,3 4102 /dev/null<br />
…..<br />
..<br />
…<br />
mysqld 3679 mysql 234u REG 8,2 0 7700867 /var/lib/mysql/order/subscribediscussion.MYD<br />
mysqld 3679 mysql 238u REG 8,2 2048 7700637 /var/lib/mysql/email/mailqueue.MYI<br />
mysqld 3679 mysql 239u REG 8,2 79060 7700593 /var/lib/mysql/email/mailqueue.MYD<br />
mysqld 3679 mysql 340u REG 8,2 17690624 7766217 /var/lib/mysql/blogdb/wp_posts.MYI</p></blockquote>
<p>To see statistics on file descriptors used, enter:<br />
<code># cat /proc/3679/net/sockstat</code><br />
Sample outputs:</p>
<blockquote><p>sockets: used 183<br />
TCP: inuse 5 orphan 0 tw 0 alloc 9 mem 2<br />
UDP: inuse 9 mem 1<br />
UDPLITE: inuse 0<br />
RAW: inuse 0<br />
FRAG: inuse 0 memory 0</p></blockquote>
<p>Please note that on older kernel such as those shipped with RHEL 5 or Suse 9 or Debian 4 or 5 use system wild statistics file descriptors file called /proc/net/sockstat:<br />
<code># cat /proc/net/sockstat</code><br />
Sample outputs:</p>
<blockquote><p>sockets: used 455<br />
TCP: inuse 146 orphan 0 tw 673 alloc 146 mem 9<br />
UDP: inuse 14 mem 0<br />
RAW: inuse 0<br />
FRAG: inuse 0 memory 0</p></blockquote>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/linux/linux-find-all-file-descriptors-used-by-a-process.html" title="plesk lsof">plesk lsof</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/linux/linux-find-all-file-descriptors-used-by-a-process.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When To Use Indexes In MySQL</title>
		<link>http://thegioinguonmo.com/database-server/mysql/when-to-use-indexes-in-mysql.html</link>
		<comments>http://thegioinguonmo.com/database-server/mysql/when-to-use-indexes-in-mysql.html#comments</comments>
		<pubDate>Tue, 31 Jan 2012 21:43:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[use]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=1275</guid>
		<description><![CDATA[This comes up in discussions almost every new project I work on, because it’s a very important thing to consider when designing a database. When deciding when and how to create an index in your MySQL database, it’s important to consider how the data is being used. Let’s say you have a database of employees. [...]]]></description>
			<content:encoded><![CDATA[<p>This comes up in discussions almost every new project I work on, because it’s a very important thing to consider when designing a database.</p>
<p>When deciding when and how to create an index in your MySQL database, it’s important to consider how the data is being used.</p>
<p>Let’s say you have a database of employees. We will create it like this:</p>
<blockquote>
<pre class="brush:plain">CREATE TABLE employees (
ID INT,
name VARCHAR(60),
salary decimal(10,2),
date hired(date)
)</pre>
</blockquote>
<p>So you will notice that this table is pretty simplistic, and doesn’t really contain all the info you would need to actually manage employees, but its just for the sake of demonstration, and you could always add more later, or even make another table and use joins if you had really complex needs.</p>
<p>For now we will go over these real quick.</p>
<p>The ID is basically just a number (INT) which can hold a very large number. If this were real world I would probably make it unsigned, since you will never have a negative employee ID – but either way, you will never reach the number of employees it would take to get to the number that would fill up an INT.</p>
<p>Even unsigned int will hold values up to 2,147,483,647. So if you have 2 billion employees, you would probably not be a developer anymore  .</p>
<p>You might want to consider making the field an auto increment, and primary key, the auto increment depending on how data will be entered into this database.</p>
<p>Name is a simple varchar(60) which should cover most people’s names.</p>
<p>Salary is a decimal with 10 total digits, two on the right hand side of the decimal point. This would handle a salary of up to 99,999,999.99 – again, you’re not likely to hit this limit.</p>
<p>Date hired will be a date in this format 2010-05-06. YYYY-MM-DD.</p>
<p>So when considering this simple table, where would you expect to need an index?<br />
If we assign ID as a primary key, we don’t need one there.</p>
<p>Indexes are best used on columns that are frequently used in where clauses, and in any kind of sorting, such as “order by”.</p>
<p>You should also pay attention to whether or not this information will change frequently, because it will slow down your updates and inserts. Since you wont frequently be adding employees, you don’t have to worry about the inserts.</p>
<p>Let’s say that you will be looking up the employees with a php web interface and the end user will be typing in the employees name to find them, since remembering the employee ID’s would be cumbersome.</p>
<p>It sounds like this situation would be good to use an index.</p>
<p>A – You won’t be updating the employee’s name very often, so you don’t have to worry about a performance hit there.</p>
<p>B – You WILL be using the employee in where clauses like this:</p>
<p><code>select * from employees where name ='smith';</code></p>
<p>C – You WILL be generating reports, which will probably be alphabetic, like this:</p>
<p><code>select * from employees order by name asc;</code></p>
<p>So in this simple example it’s easy to see when it would be important to use indexes.</p>
<p>So, you could do it like this:</p>
<p><code>create index name_index on employees (name);</code></p>
<p>You might be working on a more complex database, so it’s good to remember a few simple rules.</p>
<p>- Indexes slow down inserts and updates, so you want to use them carefully on columns that are FREQUENTLY updated.</p>
<p>- Indexes speed up where clauses and order by.</p>
<p>Remember to think about HOW your data is going to be used when building your tables.</p>
<p>There are a few other things to remember. If your table is very small, i.e., only a few employees, it’s worse to use an index than to leave it out and just let it do a table scan. Indexes really only come in handy with tables that have a lot of rows.</p>
<p>So, if Joe’s Pet Shop was using this database, they would probably be able to leave the index off the “name” column.</p>
<p>If Microsoft was using this database (hah!) they might want to throw and index in there.</p>
<p>Another thing to remember, that is a con in the situation of our employees database, is that if the column is a variable length, indexes (as well as most of MySQL) perform much less efficiently.</p>
<p>As you can see there are many things to consider with indexes, even with a very simple table as this.</p>
<p>I would suggest looking at the explain command in MySQL, which I will be writing about in the future.</p>
<p><a rel="nofollow" target="_blank" title="http://www.tsmonaghan.com" href="http://www.tsmonaghan.com/" target="_blank">http://www.tsmonaghan.com </a></p>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/database-server/mysql/when-to-use-indexes-in-mysql.html" title="purftp max connections directadmin">purftp max connections directadmin</a> (2)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/when-to-use-indexes-in-mysql.html" title="how to add index mysql plesk">how to add index mysql plesk</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/when-to-use-indexes-in-mysql.html" title="mysql maxconnections directadmin">mysql maxconnections directadmin</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/database-server/mysql/when-to-use-indexes-in-mysql.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup Databases in MySQL</title>
		<link>http://thegioinguonmo.com/database-server/mysql/backup-databases-in-mysql.html</link>
		<comments>http://thegioinguonmo.com/database-server/mysql/backup-databases-in-mysql.html#comments</comments>
		<pubDate>Fri, 20 Jan 2012 21:39:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[database server]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=799</guid>
		<description><![CDATA[How about backing up all the databases in the server? That’s an easy one, just use the –all-databases parameter to backup all the databases in the server in one step. mysqldump –all-databases&#62; alldatabases.sql How to Backing up only the Database Structure in MySQL You can backup only the database structure by telling mysqldump not to [...]]]></description>
			<content:encoded><![CDATA[<p>How about backing up all the databases in the server? That’s an easy one, just use the –all-databases parameter to backup all the databases in the server in one step.</p>
<blockquote dir="ltr">
<pre class="brush:shell">mysqldump –all-databases&gt; alldatabases.sql</pre>
</blockquote>
<p>How to Backing up only the Database Structure in MySQL<br />
You can backup only the database structure by telling mysqldump not to back up the data. You can do this by using the –no-data parameter when you call mysqldump.</p>
<blockquote dir="ltr">
<pre class="brush:shell">mysqldump –no-data –databases Customers Orders Comments &gt; structurebackup.sql</pre>
</blockquote>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/database-server/mysql/backup-databases-in-mysql.html" title="mysqldump all databases plesk centos">mysqldump all databases plesk centos</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/database-server/mysql/backup-databases-in-mysql.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Set Up WebDAV With Apache2 On CentOS 5.5</title>
		<link>http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html</link>
		<comments>http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html#comments</comments>
		<pubDate>Fri, 20 Jan 2012 10:02:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[webdav]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=2212</guid>
		<description><![CDATA[This guide explains how to set up WebDAV with Apache2 on a CentOS 5.5 server. WebDAV stands for Web-based Distributed Authoring and Versioning and is a set of extensions to the HTTP protocol that allow users to directly edit files on the Apache server so that they do not need to be downloaded/uploaded via FTP. [...]]]></description>
			<content:encoded><![CDATA[<p>This guide explains how to set up WebDAV with Apache2 on a CentOS 5.5 server. WebDAV stands for <em>Web-based Distributed Authoring and Versioning</em> and is a set of extensions to the HTTP protocol that allow users to directly edit files on the Apache server so that they do not need to be downloaded/uploaded via FTP. Of course, WebDAV can also be used to upload and download files.</p>
<p>I do not issue any guarantee that this will work for you!</p>
<p>&nbsp;</p>
<h3>1 Preliminary Note</h3>
<p>I&#8217;m using a CentOS 5.5 server with the IP address 192.168.0.100 here.</p>
<p>&nbsp;</p>
<h3>2 Installing WebDAV</h3>
<p>If Apache is not already installed, install it as follows:</p>
<p>yum install httpd</p>
<p>Afterwards, open /etc/httpd/conf/httpd.conf and make sure that the dav and dav_fs modules are enabled in the LoadModule section (they should be enabled by default):</p>
<p>vi /etc/httpd/conf/httpd.conf</p>
<table width="90%" border="1" cellspacing="0" cellpadding="2" align="center" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre>[...]
LoadModule dav_module modules/mod_dav.so
[...]
LoadModule dav_fs_module modules/mod_dav_fs.so
[...]</pre>
</td>
</tr>
</tbody>
</table>
<p>Then create the system startup links for Apache and start it:</p>
<p>chkconfig &#8211;levels 235 httpd on<br />
/etc/init.d/httpd start</p>
<p>&nbsp;</p>
<h3>3 Creating A Virtual Host</h3>
<p>I will now create a default Apache vhost in the directory /var/www/web1/web. For this purpose, I will add a default vhost at the end of /etc/httpd/conf/httpd.conf. If you already have a vhost for which you&#8217;d like to enable WebDAV, you must adjust this tutorial to your situation.</p>
<p>First, we create the directory /var/www/web1/web and make the Apache user and group (apache) the owner of that directory:</p>
<p>mkdir -p /var/www/web1/web<br />
chown apache:apache /var/www/web1/web</p>
<p>Then add the new vhost at the end of /etc/httpd/conf/httpd.conf:</p>
<p>vi /etc/httpd/conf/httpd.conf</p>
<table width="90%" border="1" cellspacing="0" cellpadding="2" align="center" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre>[...]
NameVirtualHost *:80
&lt;VirtualHost *:80&gt;
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/web1/web/
        &lt;Directory /var/www/web1/web/&gt;
                Options Indexes MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        &lt;/Directory&gt;

&lt;/VirtualHost&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>Then reload Apache:</p>
<p>/etc/init.d/httpd reload</p>
<p>&nbsp;</p>
<h3>4 Configure The Virtual Host For WebDAV</h3>
<p>Now we create the WebDAV password file /var/www/web1/passwd.dav with the user test (the -c switch creates the file if it does not exist):</p>
<p>htpasswd -c /var/www/web1/passwd.dav test</p>
<p>You will be asked to type in a password for the user test.</p>
<p>(Please don&#8217;t use the -c switch if /var/www/web1/passwd.dav is already existing because this will recreate the file from scratch, meaning you lose all users in that file!)</p>
<p>Now we change the permissions of the /var/www/web1/passwd.dav file so that only root and the members of the apache group can access it:</p>
<p>chown root:apache /var/www/web1/passwd.dav<br />
chmod 640 /var/www/web1/passwd.dav</p>
<p>Now we modify our vhost at the end of /etc/httpd/conf/httpd.conf and add the following lines to it:</p>
<p>vi /etc/httpd/conf/httpd.conf</p>
<table width="90%" border="1" cellspacing="0" cellpadding="2" align="center" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre>[...]
        Alias /webdav /var/www/web1/web

        &lt;Location /webdav&gt;
           DAV On
           AuthType Basic
           AuthName "webdav"
           AuthUserFile /var/www/web1/passwd.dav
           Require valid-user
       &lt;/Location&gt;
[...]</pre>
</td>
</tr>
</tbody>
</table>
<p>The Alias directive makes (together with &lt;Location&gt;) that when you call /webdav, WebDAV is invoked, but you can still access the whole document root of the vhost. All other URLs of that vhost are still &#8220;normal&#8221; HTTP.</p>
<p>The final vhost should look like this:</p>
<table width="90%" border="1" cellspacing="0" cellpadding="2" align="center" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre>[...]
NameVirtualHost *:80
&lt;VirtualHost *:80&gt;
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/web1/web/
        &lt;Directory /var/www/web1/web/&gt;
                Options Indexes MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        &lt;/Directory&gt;

        Alias /webdav /var/www/web1/web

        &lt;Location /webdav&gt;
           DAV On
           AuthType Basic
           AuthName "webdav"
           AuthUserFile /var/www/web1/passwd.dav
           Require valid-user
       &lt;/Location&gt;

&lt;/VirtualHost&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>Reload Apache afterwards:</p>
<p>/etc/init.d/httpd reload</p>
<p>&nbsp;</p>
<h3>5 Testing WebDAV</h3>
<p>We will now install cadaver, a command-line WebDAV client:</p>
<p>yum install cadaver</p>
<p>To test if WebDAV works, type:</p>
<p>cadaver http://localhost/webdav/</p>
<p>You should be prompted for a user name. Type in test and then the password for the user test. If all goes well, you should be granted access which means WebDAV is working ok. Type quit to leave the WebDAV shell:</p>
<p>[root@server1 ~]# cadaver http://localhost/webdav/<br />
Authentication required for webdav on server `localhost&#8217;:<br />
Username: test<br />
Password:<br />
dav:/webdav/&gt; quit<br />
Connection to `localhost&#8217; closed.<br />
[root@server1 ~]#</p>
<h3>6 Configure A Windows XP Client To Connect To The WebDAV Share</h3>
<div></div>
<p>Click on My Network Places on your desktop (I have a German Windows, so the names are a bit different in the screenshots):</p>
<p><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/1.jpg" alt="1 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="118" height="154" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></p>
<p>Select Add a Network Place from the Network Tasks menu (on the left):</p>
<p><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/2.png" alt="2 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="302" height="532" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></p>
<p>The Add Network Place Wizard comes up. Click on the Next button:</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/3.png"><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/3.png" alt="3 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="550" height="455" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></a></p>
<div><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/3.png"><img src="http://static.howtoforge.com/images/click_to_enlarge.png" alt="click to enlarge How To Set Up WebDAV With Apache2 On CentOS 5.5" width="100" height="12" border="0" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /> </a></div>
<p>Select Choose another network location, and click on Next:</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/4.png"><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/4.png" alt="4 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="550" height="456" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></a></p>
<div><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/4.png"><img src="http://static.howtoforge.com/images/click_to_enlarge.png" alt="click to enlarge How To Set Up WebDAV With Apache2 On CentOS 5.5" width="100" height="12" border="0" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /> </a></div>
<p>Enter http://192.168.0.100:80/webdav as the location and click on Next. You must specify the port in the WebDAV URL (:80). For some strange reason this makes Windows XP accept the normal username (e.g. test) &#8211; otherwise Windows XP expects NTLM usernames (that would have the form www.example.com\test).</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/5.png"><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/5.png" alt="5 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="550" height="456" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></a></p>
<div><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/5.png"><img src="http://static.howtoforge.com/images/click_to_enlarge.png" alt="click to enlarge How To Set Up WebDAV With Apache2 On CentOS 5.5" width="100" height="12" border="0" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /> </a></div>
<p>You will be prompted for a user name and a password. Type in the user name test and the password for the user test:</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/6.png"><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/6.png" alt="6 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="550" height="434" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></a></p>
<div><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/6.png"><img src="http://static.howtoforge.com/images/click_to_enlarge.png" alt="click to enlarge How To Set Up WebDAV With Apache2 On CentOS 5.5" width="100" height="12" border="0" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /> </a></div>
<p>Then type in a name for the WebDAV folder:</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/7.png"><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/7.png" alt="7 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="550" height="457" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></a></p>
<div><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/7.png"><img src="http://static.howtoforge.com/images/click_to_enlarge.png" alt="click to enlarge How To Set Up WebDAV With Apache2 On CentOS 5.5" width="100" height="12" border="0" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /> </a></div>
<p>To open the new connection, keep the Open this network place when I click Finish box checked, and click on Finish:</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/8.png"><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/8.png" alt="8 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="550" height="454" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></a></p>
<div><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/8.png"><img src="http://static.howtoforge.com/images/click_to_enlarge.png" alt="click to enlarge How To Set Up WebDAV With Apache2 On CentOS 5.5" width="100" height="12" border="0" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /> </a></div>
<p>The WebDAV folder will then open where you can browse the contents of the /var/www/web1/web directory and its subdirectories on the server, and you will find an icon for your new WebDAV share in the My Network Places folder:</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/9.png"><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/9.png" alt="9 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="550" height="501" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></a></p>
<h3>7 Configure A Linux Client (GNOME) To Connect To The WebDAV Share</h3>
<div></div>
<p>If you want to connect to the WebDAV share from a GNOME desktop, go to Places &gt; Connect to Server&#8230;:</p>
<p><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/10.jpg" alt="10 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="550" height="438" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></p>
<p>Select WebDAV (HTTP) as the Service type, type in the Server (192.168.0.100 in this example) and then the Folder (webdav). Do not fill in a User Name yet because otherwise the connection will fail. Click on Connect afterwards:</p>
<p><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/11.jpg" alt="11 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="360" height="364" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></p>
<p>Now you are being prompted for a user name and password. Type in test along with the password, then click on Connect:</p>
<p><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/12.jpg" alt="12 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="370" height="290" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></p>
<p>You might get the following error&#8230;</p>
<p><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/13.jpg" alt="13 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="368" height="188" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></p>
<p>&#8230; but at the same time the WebDAV share should appear on the desktop, which means you can ignore the error:</p>
<p><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/14.jpg" alt="14 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="148" height="94" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></p>
<p>Double-click on the icon to open the WebDAV share:</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/15.png"><img src="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/15.png" alt="15 How To Set Up WebDAV With Apache2 On CentOS 5.5" width="550" height="440" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /></a></p>
<div><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/apache2_webdav_fedora_5.5/big/15.png"><img src="http://static.howtoforge.com/images/click_to_enlarge.png" alt="click to enlarge How To Set Up WebDAV With Apache2 On CentOS 5.5" width="100" height="12" border="0" title="How To Set Up WebDAV With Apache2 On CentOS 5.5" /> </a></div>
<p>&nbsp;</p>
<h3>8 Links</h3>
<ul>
<li>WebDAV: <a rel="nofollow" target="_blank" href="http://www.webdav.org/" target="_blank">http://www.webdav.org/</a></li>
<li>Apache: <a rel="nofollow" target="_blank" href="http://httpd.apache.org/" target="_blank">http://httpd.apache.org/</a></li>
<li>CentOS: <a rel="nofollow" target="_blank" href="http://www.centos.org/" target="_blank">http://www.centos.org/</a></li>
</ul>
<p>&nbsp;</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html" title="directadmin webdav">directadmin webdav</a> (6)</li><li><a href="http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html" title="kloxo webdav">kloxo webdav</a> (3)</li><li><a href="http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html" title="oracle dav on web folder">oracle dav on web folder</a> (3)</li><li><a href="http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html" title="webdav centos">webdav centos</a> (3)</li><li><a href="http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html" title="webdav directadmin">webdav directadmin</a> (3)</li><li><a href="http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html" title="webdav rhel6">webdav rhel6</a> (2)</li><li><a href="http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html" title="centos webdav windows 7">centos webdav windows 7</a> (2)</li><li><a href="http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html" title="plesk webdav centos">plesk webdav centos</a> (2)</li><li><a href="http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html" title="webdav file share centos">webdav file share centos</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html" title="mount webdav centos">mount webdav centos</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/linux/set-webdav-apache2-centos-55.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)</title>
		<link>http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html</link>
		<comments>http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html#comments</comments>
		<pubDate>Fri, 20 Jan 2012 09:57:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=2209</guid>
		<description><![CDATA[LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a CentOS 5.5 server with PHP5 support (mod_php) and MySQL support. I do not issue any guarantee that this will work for you! &#160; 1 Preliminary Note In this tutorial I use the hostname server1.example.com with [...]]]></description>
			<content:encoded><![CDATA[<p>LAMP is short for <strong>L</strong>inux, <strong>A</strong>pache, <strong>M</strong>ySQL, <strong>P</strong>HP. This tutorial shows how you can install an Apache2 webserver on a CentOS 5.5 server with PHP5 support (mod_php) and MySQL support.</p>
<p>I do not issue any guarantee that this will work for you!</p>
<p>&nbsp;</p>
<h3>1 Preliminary Note</h3>
<p>In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate.</p>
<p>&nbsp;</p>
<h3>2 Installing MySQL 5.0</h3>
<p>To install MySQL, we do this:</p>
<p>yum install mysql mysql-server</p>
<p>Then we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server:</p>
<p>chkconfig &#8211;levels 235 mysqld on<br />
/etc/init.d/mysqld start</p>
<p>Set passwords for the MySQL root account:</p>
<p>mysql_secure_installation</p>
<p>[root@server1 ~]# mysql_secure_installation</p>
<p>NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL<br />
SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!</p>
<p>In order to log into MySQL to secure it, we&#8217;ll need the current<br />
password for the root user.  If you&#8217;ve just installed MySQL, and<br />
you haven&#8217;t set the root password yet, the password will be blank,<br />
so you should just press enter here.</p>
<p>Enter current password for root (enter for none):<br />
OK, successfully used password, moving on&#8230;</p>
<p>Setting the root password ensures that nobody can log into the MySQL<br />
root user without the proper authorisation.</p>
<p>Set root password? [Y/n] &lt;&#8211; ENTER<br />
New password: &lt;&#8211; yourrootsqlpassword<br />
Re-enter new password: &lt;&#8211; yourrootsqlpassword<br />
Password updated successfully!<br />
Reloading privilege tables..<br />
&#8230; Success!</p>
<p>By default, a MySQL installation has an anonymous user, allowing anyone<br />
to log into MySQL without having to have a user account created for<br />
them.  This is intended only for testing, and to make the installation<br />
go a bit smoother.  You should remove them before moving into a<br />
production environment.</p>
<p>Remove anonymous users? [Y/n] &lt;&#8211; ENTER<br />
&#8230; Success!</p>
<p>Normally, root should only be allowed to connect from &#8217;localhost&#8217;.  This<br />
ensures that someone cannot guess at the root password from the network.</p>
<p>Disallow root login remotely? [Y/n] &lt;&#8211; ENTER<br />
&#8230; Success!</p>
<p>By default, MySQL comes with a database named &#8217;test&#8217; that anyone can<br />
access.  This is also intended only for testing, and should be removed<br />
before moving into a production environment.</p>
<p>Remove test database and access to it? [Y/n] &lt;&#8211; ENTER<br />
- Dropping test database&#8230;<br />
&#8230; Success!<br />
- Removing privileges on test database&#8230;<br />
&#8230; Success!</p>
<p>Reloading the privilege tables will ensure that all changes made so far<br />
will take effect immediately.</p>
<p>Reload privilege tables now? [Y/n] &lt;&#8211; ENTER<br />
&#8230; Success!</p>
<p>Cleaning up&#8230;</p>
<p>All done!  If you&#8217;ve completed all of the above steps, your MySQL<br />
installation should now be secure.</p>
<p>Thanks for using MySQL!</p>
<p>[root@server1 ~]#</p>
<p>&nbsp;</p>
<h3>3 Installing Apache2</h3>
<p>Apache2 is available as a CentOS package, therefore we can install it like this:</p>
<p>yum install httpd</p>
<p>Now configure your system to start Apache at boot time&#8230;</p>
<p>chkconfig &#8211;levels 235 httpd on</p>
<p>&#8230; and start Apache:</p>
<p>/etc/init.d/httpd start</p>
<p>Now direct your browser to http://192.168.0.100, and you should see the Apache2 placeholder page:</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/lamp_centos_5.5/big/1.png"><img src="http://static.howtoforge.com/images/lamp_centos_5.5/1.png" alt="1 Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" width="550" height="399" title="Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" /></a></p>
<div><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/lamp_centos_5.5/big/1.png"><img src="http://static.howtoforge.com/images/click_to_enlarge.png" alt="click to enlarge Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" width="100" height="12" border="0" title="Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" /> </a></div>
<p>Apache&#8217;s default document root is /var/www/html on CentOS, and the configuration file is /etc/httpd/conf/httpd.conf. Additional configurations are stored in the /etc/httpd/conf.d/ directory.</p>
<p>&nbsp;</p>
<h3>4 Installing PHP5</h3>
<p>We can install PHP5 and the Apache PHP5 module as follows:</p>
<p>yum install php</p>
<p>We must restart Apache afterwards:</p>
<p>/etc/init.d/httpd restart</p>
<h3>5 Testing PHP5 / Getting Details About Your PHP5 Installation</h3>
<div></div>
<p>The document root of the default web site is /var/www/html. We will now create a small PHP file (info.php) in that directory and call it in a browser. The file will display lots of useful details about our PHP installation, such as the installed PHP version.</p>
<p>vi /var/www/html/info.php</p>
<table width="90%" border="1" cellspacing="0" cellpadding="2" align="center" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre>&lt;?php
phpinfo();
?&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>Now we call that file in a browser (e.g. http://192.168.0.100/info.php):</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/lamp_centos_5.5/big/2.png"><img src="http://static.howtoforge.com/images/lamp_centos_5.5/2.png" alt="2 Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" width="550" height="399" title="Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" /></a></p>
<div><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/lamp_centos_5.5/big/2.png"><img src="http://static.howtoforge.com/images/click_to_enlarge.png" alt="click to enlarge Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" width="100" height="12" border="0" title="Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" /> </a></div>
<p>As you see, PHP5 is working, and it&#8217;s working through the Apache 2.0 Handler, as shown in the Server API line. If you scroll further down, you will see all modules that are already enabled in PHP5. MySQL is not listed there which means we don&#8217;t have MySQL support in PHP5 yet.</p>
<p>&nbsp;</p>
<h3>6 Getting MySQL Support In PHP5</h3>
<p>To get MySQL support in PHP, we can install the php-mysql package. It&#8217;s a good idea to install some other PHP5 modules as well as you might need them for your applications. You can search for available PHP5 modules like this:</p>
<p>yum search php</p>
<p>Pick the ones you need and install them like this:</p>
<p>yum install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc</p>
<p>Now restart Apache2:</p>
<p>/etc/init.d/httpd restart</p>
<p>Now reload http://192.168.0.100/info.php in your browser and scroll down to the modules section again. You should now find lots of new modules there, including the MySQL module:</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/lamp_centos_5.5/big/3.png"><img src="http://static.howtoforge.com/images/lamp_centos_5.5/3.png" alt="3 Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" width="550" height="399" title="Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" /></a></p>
<div><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/lamp_centos_5.5/big/3.png"><img src="http://static.howtoforge.com/images/click_to_enlarge.png" alt="click to enlarge Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" width="100" height="12" border="0" title="Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" /> </a></div>
<p>&nbsp;</p>
<h3>7 phpMyAdmin</h3>
<p><a rel="nofollow" target="_blank" href="http://www.phpmyadmin.net/" target="_blank">phpMyAdmin</a> is a web interface through which you can manage your MySQL databases.</p>
<p>First we enable the <a rel="nofollow" target="_blank" href="https://rpmrepo.org/RPMforge/Using" target="_blank">RPMforge repository</a> on our CentOS system as phpMyAdmin is not available in the official CentOS 5.5 repositories:</p>
<p>On x86_64 systems:</p>
<p>wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm<br />
rpm -Uhv rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm</p>
<p>On i386 systems:</p>
<p>wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm<br />
rpm -Uhv rpmforge-release-0.5.1-1.el5.rf.i386.rpm</p>
<p>phpMyAdmin can now be installed as follows:</p>
<p>yum install phpmyadmin</p>
<p>Now we configure phpMyAdmin. We change the Apache configuration so that phpMyAdmin allows connections not just from localhost (by commenting out the &lt;Directory &#8220;/usr/share/phpmyadmin&#8221;&gt; stanza):</p>
<p>vi /etc/httpd/conf.d/phpmyadmin.conf</p>
<table width="90%" border="1" cellspacing="0" cellpadding="2" align="center" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre>#
#  Web application to manage MySQL
#

#&lt;Directory "/usr/share/phpmyadmin"&gt;
#  Order Deny,Allow
#  Deny from all
#  Allow from 127.0.0.1
#&lt;/Directory&gt;

Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin</pre>
</td>
</tr>
</tbody>
</table>
<p>Next we change the authentication in phpMyAdmin from cookie to http:</p>
<p>vi /usr/share/phpmyadmin/config.inc.php</p>
<table width="90%" border="1" cellspacing="0" cellpadding="2" align="center" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre>[...]
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'http';
[...]</pre>
</td>
</tr>
</tbody>
</table>
<p>Restart Apache:</p>
<p>/etc/init.d/httpd restart</p>
<p>Afterwards, you can access phpMyAdmin under http://192.168.0.100/phpmyadmin/:</p>
<p><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/lamp_centos_5.5/big/4.png"><img src="http://static.howtoforge.com/images/lamp_centos_5.5/4.png" alt="4 Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" width="550" height="399" title="Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" /></a></p>
<div><a rel="nofollow" target="_blank" href="http://static.howtoforge.com/images/lamp_centos_5.5/big/4.png"><img src="http://static.howtoforge.com/images/click_to_enlarge.png" alt="click to enlarge Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" width="100" height="12" border="0" title="Installing Apache2 With PHP5 And MySQL Support On CentOS 5.5 (LAMP)" /> </a></div>
<p>&nbsp;</p>
<h3>8 Links</h3>
<ul>
<li>Apache: <a rel="nofollow" target="_blank" href="http://httpd.apache.org/" target="_blank">http://httpd.apache.org/</a></li>
<li>PHP: <a rel="nofollow" target="_blank" href="http://www.php.net/" target="_blank">http://www.php.net/</a></li>
<li>MySQL: <a rel="nofollow" target="_blank" href="http://www.mysql.com/" target="_blank">http://www.mysql.com/</a></li>
<li>CentOS: <a rel="nofollow" target="_blank" href="http://www.centos.org/" target="_blank">http://www.centos.org/</a></li>
<li>phpMyAdmin: <a rel="nofollow" target="_blank" href="http://www.phpmyadmin.net/" target="_blank">http://www.phpmyadmin.net/</a></li>
</ul>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html" title="phpadmin">phpadmin</a> (3)</li><li><a href="http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html" title="centos5 5 htttpd conf phpmyadmin">centos5 5 htttpd conf phpmyadmin</a> (2)</li><li><a href="http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html" title="production grade centos apache mysql php phpadmin">production grade centos apache mysql php phpadmin</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html" title="plesk mysql so 5 5">plesk mysql so 5 5</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html" title="php apache mysql phpmyadmin directadmin on centos">php apache mysql phpmyadmin directadmin on centos</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html" title="installed apache2 debian cant access 192 168 0 100">installed apache2 debian cant access 192 168 0 100</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html" title="installare server lamp phpmyadmin centos mysql 5 5">installare server lamp phpmyadmin centos mysql 5 5</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html" title="install httpd php5 from centos cdrom">install httpd php5 from centos cdrom</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html" title="install apache2 handler on centos">install apache2 handler on centos</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html" title="instalar mod mysql apache centos">instalar mod mysql apache centos</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/linux/installing-apache2-php5-mysql-support-centos-55-lamp.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shell script to backup MySql database</title>
		<link>http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html</link>
		<comments>http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html#comments</comments>
		<pubDate>Sat, 14 Jan 2012 09:47:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[shell script]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=372</guid>
		<description><![CDATA[#!/bin/bash # Shell script to backup MySql database # To backup Nysql databases file to /backup dir and later pick up by your # script. You can skip few databases from backup too. # ——————————————————————– # This is a free shell script under GNU GPL version 2.0 or above # Copyright (C) 2004, 2005 nixCraft [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>#!/bin/bash<br />
# Shell script to backup MySql database<br />
# To backup Nysql databases file to /backup dir and later pick up by your<br />
# script. You can skip few databases from backup too.<br />
# ——————————————————————–<br />
# This is a free shell script under GNU GPL version 2.0 or above<br />
# Copyright (C) 2004, 2005 nixCraft project<br />
# ————————————————————————-</p>
<p>MyUSER=“SET-MYSQL-USER-NAME” # USERNAME<br />
MyPASS=“SET-PASSWORD” # PASSWORD<br />
MyHOST=“localhost” # Hostname</p>
<p># Linux bin paths, change this if it can‘t be autodetected via which command<br />
MYSQL=”$(which mysql)”<br />
MYSQLDUMP=”$(which mysqldump)”<br />
CHOWN=”$(which chown)”<br />
CHMOD=”$(which chmod)”<br />
GZIP=”$(which gzip)”</p>
<p># Backup Dest directory, change this if you have someother location<br />
DEST=”/backup”</p>
<p># Main directory where backup will be stored<br />
MBD=”$DEST/mysql”</p>
<p># Get hostname<br />
HOST=”$(hostname)”</p>
<p># Get data in dd-mm-yyyy format<br />
NOW=”$(date +”%d-%m-%Y”)”</p>
<p># File to store current backup file<br />
FILE=”&#8221;<br />
# Store list of databases<br />
DBS=”&#8221;</p>
<p># DO NOT BACKUP these databases<br />
IGGY=”test”</p>
<p>[ ! -d $MBD ] &amp;&amp; mkdir -p $MBD || :</p>
<p># Only root can access it!<br />
$CHOWN 0.0 -R $DEST<br />
$CHMOD 0600 $DEST</p>
<p># Get all database list first<br />
DBS=”$($MYSQL -u $MyUSER -h $MyHOST -p$MyPASS -Bse ‘show databases‘)”</p>
<p>for db in $DBS<br />
do<br />
skipdb=-1<br />
if [ "$IGGY" != "" ];<br />
then<br />
for i in $IGGY<br />
do<br />
[ "$db" == "$i" ] &amp;&amp; skipdb=1 || :<br />
done<br />
fi</p>
<p>if [ "$skipdb" == "-1" ] ; then<br />
FILE=”$MBD/$db.$HOST.$NOW.gz”<br />
# do all inone job in pipe,<br />
# connect to mysql using mysqldump for select mysql database<br />
# and pipe it out to gz file in backup dir<br />
$MYSQLDUMP -u $MyUSER -h $MyHOST -p$MyPASS $db | $GZIP -9 &gt; $FILE<br />
fi<br />
done</p></blockquote>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html" title="linux mysqldump backup to network">linux mysqldump backup to network</a> (2)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html" title="CentOS website backup shell scripts">CentOS website backup shell scripts</a> (2)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html" title="back up data host win">back up data host win</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html" title="mysql shell">mysql shell</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html" title="mysqldump backup centos script">mysqldump backup centos script</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html" title="php script to dump mysql plesk psa">php script to dump mysql plesk psa</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html" title="plesk shell backup">plesk shell backup</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html" title="script back up mysql on centos">script back up mysql on centos</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html" title="script backup mysql linux gzip">script backup mysql linux gzip</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html" title="script mysqldump backup plesk">script mysqldump backup plesk</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/database-server/mysql/shell-script-to-backup-mysql-database.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysqldump: Got error: 1016: Can’t open file: … (errno: 24) when using LOCK TABLES</title>
		<link>http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html</link>
		<comments>http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html#comments</comments>
		<pubDate>Tue, 03 Jan 2012 14:08:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[database server]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql database]]></category>
		<category><![CDATA[MYSQLDUMP]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=2141</guid>
		<description><![CDATA[Sometimes, when you have got a large number of tables in your database and while taking the dump of that particular database, you would have encountered this strange error mysqldump: Got error: 1016: Can't open file: '.\database\certain_table.frm' (errno: 24) when using LOCK TABLES There are two solutions to avoid this error 1. Set the following [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>Sometimes, when you have got a large number of tables in your database and while taking the dump of that particular database, you would have encountered this strange error</p>
<pre><span style="color: #ff0000;">mysqldump: Got error: 1016: Can't open file: '.\database\certain_table.frm' (errno: 24) when using LOCK TABLES</span></pre>
<p>There are two solutions to avoid this error</p>
<p>1. Set the following value to some higher number in your mysql database</p>
<pre class="brush:shell">set open-files-limit=20000</pre>
<p>2. or, While taking the mysql dump, use <em>–lock-tables=off</em> option.</p>
<pre class="brush:shell">mysqldump --lock-tables=off -u root -p db-with-lots-of-tables &gt; db.sql</pre>
</div>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html" title="(errno: 24) when using lock tables">(errno: 24) when using lock tables</a> (6)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html" title="mysqldump error 1016">mysqldump error 1016</a> (2)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html" title="mysqldump: got error: 1016: cant open file: (errno: 24) when using lock tables">mysqldump: got error: 1016: cant open file: (errno: 24) when using lock tables</a> (2)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html" title="mysqldump errno:24">mysqldump errno:24</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html" title="mysqldump error 24">mysqldump error 24</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html" title="mysqldump got error 1016 can\t open file (errno 24) when using lock tables">mysqldump got error 1016 can\t open file (errno 24) when using lock tables</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html" title="mysqldump lock tables">mysqldump lock tables</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html" title="mysqldump to file use limit">mysqldump to file use limit</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html" title="mysqldump: got error: 1016: can\t open file: frm\ (errno: 24) when using lock tables">mysqldump: got error: 1016: can\t open file: frm\ (errno: 24) when using lock tables</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html" title="phpmyadmin 1016 cant open file errno 24">phpmyadmin 1016 cant open file errno 24</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1016-open-file-errno-24-lock-tables.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysqldump: Got error: 1045: Access denied for user</title>
		<link>http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html</link>
		<comments>http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html#comments</comments>
		<pubDate>Tue, 03 Jan 2012 14:06:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql database]]></category>
		<category><![CDATA[MYSQLDUMP]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=2138</guid>
		<description><![CDATA[Today working on a client project, a shell script which uses MySQL to dump the database, has got me into this error mysqldump: Got error: 1045: Access denied for user &#160; I was typically amazed getting this error because all my configurations were correct. I have created proper users to access MySQL database and correctly [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>Today working on a client project, a shell script which uses MySQL to dump the database, has got me into this error</p>
<blockquote>
<h3><span style="color: #ff0000;">mysqldump: Got error: 1045: Access denied for user</span></h3>
</blockquote>
<p>&nbsp;</p>
<p>I was typically amazed getting this error because all my configurations were correct. I have created proper users to access MySQL database and correctly configured the MySQL server settings. FYI, my script was on one server and the MySQL was running on a separate dedicated box. The connection between them were TCP based.</p>
<p>After few minutes of head hunching, I was able to figure out the problem. So if you got into the same problem any time, follow the following guidelines to get over with it:</p>
<p>1. Check that whether you have created the proper MySQL user and gave them the required permission. You can check the user permission by following command.</p>
<pre class="brush:shell">SHOW GRANTS FOR 'user'@'localhost';

SHOW GRANTS FOR 'user'@'192.168.1.1';</pre>
<p>If the permissions are not proper, you might think of providing it properly by</p>
<pre class="brush:shell">GRANT ALL ON database.* TO 'user'@'localhost' identified by 'password';</pre>
<p>2. Check whether you are including the host properly in case of remote MySQL connections.</p>
<pre class="brush:shell">mysql -h host -u user -p database</pre>
<p>3. Finally, if you have created user and didn’t restarted your MySQL server or ran following command, your MySQL user permissions will not take effect in-spite of creating them. (Ps. This was the issue I was having.)</p>
<pre class="brush:shell">FLUSH PRIVILEGES</pre>
<p>After running the above command, my script was able to connect to database properly.</p>
</div>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html" title="mysqldump: got error: 1045: access denied for user">mysqldump: got error: 1045: access denied for user</a> (6)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html" title="mysqldump plesk error 1045">mysqldump plesk error 1045</a> (2)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html" title="mysqldump: Got error: 1045: Access denied for user root@localhost (using password: YES) when try">mysqldump: Got error: 1045: Access denied for user root@localhost (using password: YES) when try</a> (2)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html" title="mysqldump: got error: 1045 centos">mysqldump: got error: 1045 centos</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html" title="mysqldump: Got error: 1045: Access denied for user liuqinghua@localhost (using password: YES) wh">mysqldump: Got error: 1045: Access denied for user liuqinghua@localhost (using password: YES) wh</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html" title="mysqldump: Got error: 1045: Access denied for user ODBC@">mysqldump: Got error: 1045: Access denied for user ODBC@</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html" title="mysqldump: got error: 1045: access denied for user p@ (using password: yes) when trying to connect">mysqldump: got error: 1045: access denied for user p@ (using password: yes) when trying to connect</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html" title="mysqldump: Got error: 1045: Access denied for user root@10 127 5 34 (using password: YES) when t">mysqldump: Got error: 1045: Access denied for user root@10 127 5 34 (using password: YES) when t</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html" title="mysqldump: Got error: 1045: Access denied for user root@127 0 0 1 (using password: YES) when trying to connect">mysqldump: Got error: 1045: Access denied for user root@127 0 0 1 (using password: YES) when trying to connect</a> (1)</li><li><a href="http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html" title="mysqldump: Got error: 1045: Access denied for user root@20 154 44 81 (using password: YES) when">mysqldump: Got error: 1045: Access denied for user root@20 154 44 81 (using password: YES) when</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/database-server/mysql/mysqldump-error-1045-access-denied-user.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV) &#8211; Part 4</title>
		<link>http://thegioinguonmo.com/os/linux/virtual-users-and-domains-with-postfix-courier-and-mysql-smtp-auth-quota-spamassassin-clamav-part-4.html</link>
		<comments>http://thegioinguonmo.com/os/linux/virtual-users-and-domains-with-postfix-courier-and-mysql-smtp-auth-quota-spamassassin-clamav-part-4.html#comments</comments>
		<pubDate>Thu, 22 Dec 2011 04:39:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[Quota]]></category>
		<category><![CDATA[txt]]></category>
		<category><![CDATA[usr bin]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=29</guid>
		<description><![CDATA[8 Install Razor, Pyzor And DCC And Configure SpamAssassin Razor, Pyzor and DCC are spamfilters that use a collaborative filtering network. To install them, run apt-get install razor pyzor dcc-client Now we have to tell SpamAssassin to use these three programs. Edit /etc/spamassassin/local.cf so that it looks like this: # This is the right place [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">8 Install Razor, Pyzor And DCC And Configure SpamAssassin</span></strong></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">Razor, Pyzor and DCC are spamfilters that use a collaborative filtering network. To install them, run</span></p>
<p><em><span style="font-family: Courier New,Courier,mono; font-size: x-small;">apt-get install razor pyzor dcc-client</span></em></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">Now we have to tell SpamAssassin to use these three programs. Edit <em><span style="font-family: Courier New,Courier,mono;">/etc/spamassassin/local.cf</span></em> so that it looks like this:</span></p>
<table width="90%" border="1" cellspacing="0" cellpadding="2" align="center" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre># This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
###########################################################################
#
# rewrite_header Subject *****SPAM*****
# report_safe 1
# trusted_networks 212.17.35.
# lock_method flock

# dcc
use_dcc 1
dcc_path /usr/bin/dccproc
dcc_add_header 1
dcc_dccifd_path /usr/sbin/dccifd

#pyzor
use_pyzor 1
pyzor_path /usr/bin/pyzor
pyzor_add_header 1

#razor
use_razor2 1
razor_config /etc/razor/razor-agent.conf

#bayes
use_bayes 1
use_bayes_rules 1
bayes_auto_learn 1</pre>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">Run</span></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;"><em><span style="font-family: Courier New,Courier,mono;">/etc/init.d/amavis restart</span></em></span></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">afterwards.</span></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">Now I want to insert some custom rulesets that can be found on the internet into SpamAssassin. I have tested those rulesets, and they make spam filtering a lot more effective. Create the file <em><span style="font-family: Courier New,Courier,mono;">/usr/local/sbin/sa_rules_update.sh</span></em>:</span></p>
<table width="90%" border="1" cellspacing="0" cellpadding="2" align="center" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre><span style="font-size: xx-small;">#!/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/71_sare_redirect_pre3.0.0.cf -O 71_sare_redirect_pre3.0.0.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_bayes_poison_nxm.cf -O 70_sare_bayes_poison_nxm.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_html.cf -O 70_sare_html.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_html4.cf -O 70_sare_html4.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_html_x30.cf -O 70_sare_html_x30.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_header0.cf -O 70_sare_header0.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_header3.cf -O 70_sare_header3.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_header_x30.cf -O 70_sare_header_x30.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_specific.cf -O 70_sare_specific.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_adult.cf -O 70_sare_adult.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/72_sare_bml_post25x.cf -O 72_sare_bml_post25x.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/99_sare_fraud_post25x.cf -O 99_sare_fraud_post25x.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_spoof.cf -O 70_sare_spoof.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_random.cf -O 70_sare_random.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_oem.cf -O 70_sare_oem.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_genlsubj0.cf -O 70_sare_genlsubj0.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_genlsubj3.cf -O 70_sare_genlsubj3.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_genlsubj_x30.cf -O 70_sare_genlsubj_x30.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_unsub.cf -O 70_sare_unsub.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/70_sare_uri.cf -O 70_sare_uri.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://mywebpages.comcast.net/mkettler/sa/antidrug.cf -O antidrug.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.timj.co.uk/linux/bogus-virus-warnings.cf -O bogus-virus-warnings.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.yackley.org/sa-rules/evilnumbers.cf -O evilnumbers.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.stearns.org/sa-blacklist/random.current.cf -O random.current.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/88_FVGT_body.cf -O 88_FVGT_body.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/88_FVGT_rawbody.cf -O 88_FVGT_rawbody.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/88_FVGT_subject.cf -O 88_FVGT_subject.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/88_FVGT_headers.cf -O 88_FVGT_headers.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/88_FVGT_uri.cf -O 88_FVGT_uri.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/99_FVGT_DomainDigits.cf -O 99_FVGT_DomainDigits.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/99_FVGT_Tripwire.cf -O 99_FVGT_Tripwire.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.rulesemporium.com/rules/99_FVGT_meta.cf -O 99_FVGT_meta.cf &amp;&gt; /dev/null cd /etc/spamassassin/ &amp;&gt; /dev/null &amp;&amp; /usr/bin/wget http://www.nospamtoday.com/download/mime_validate.cf -O mime_validate.cf &amp;&gt; /dev/null /etc/init.d/amavis restart &amp;&gt; /dev/null exit 0</span></pre>
</td>
</tr>
</tbody>
</table>
<p><em><span style="font-family: Courier New,Courier,mono; font-size: x-small;">chmod 755 /usr/local/sbin/sa_rules_update.sh</span></em></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">Then run that script once, it will fetch those rulesets and insert them into SpamAssassin:</span></p>
<p><span style="font-size: x-small;"><em><span style="font-family: Courier New,Courier,mono;">/usr/local/sbin/sa_rules_update.sh</span></em></span></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">We create a cron job so that those rulesets will be updated regularly. Run </span></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;"><em><span style="font-family: Courier New,Courier,mono;">crontab -e</span></em></span></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">to open the cron job editor. Create following cron job:</span></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;"><em><span style="font-family: Courier New,Courier,mono;">23 4 */2 * * /usr/local/sbin/sa_rules_update.sh &amp;&gt; /dev/null</span></em></span></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">This will update the rulesets every second day at 4.23h.</span></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">(Note (a little off-topic): on Debian Sarge<em><span style="font-family: Courier New,Courier,mono;"> crontab -e</span></em> will automatically open the editor <em><span style="font-family: Courier New,Courier,mono;">nano</span></em>. If you are used to working with the editor <em><span style="font-family: Courier New,Courier,mono;">vi</span></em> (like me), run the following commands:</span></p>
<p><em><span style="font-family: Courier New,Courier,mono; font-size: x-small;">rm -f /etc/alternatives/editor<br />
ln -s /usr/bin/vi /etc/alternatives/editor</span></em></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">Afterwards, run <span style="font-family: Courier New,Courier,mono;"> <em>crontab -e</em></span>, and <em><span style="font-family: Courier New,Courier,mono;">vi</span></em> will come up.)</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;"><strong>9 Quota Exceedance Notifications</strong></span></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">If you want to get notifications about all the email accounts that are over quota, then do this:</span></p>
<p><em><span style="font-family: Courier New,Courier,mono; font-size: x-small;">cd /usr/local/sbin/<br />
wget http://puuhis.net/vhcs/quota.txt<br />
mv quota.txt quota_notify<br />
chmod 755 quota_notify</span></em></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">Open </span><em><span style="font-family: Courier New,Courier,mono; font-size: x-small;">/usr/local/sbin/quota_notify</span></em><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;"> and edit the variables at the top:</span></p>
<table width="90%" border="1" cellspacing="0" cellpadding="2" align="center" bgcolor="#cccccc">
<tbody>
<tr>
<td>
<pre>my $POSTFIX_CF = "/etc/postfix/main.cf";
my $MAILPROG = "/usr/sbin/sendmail -t";
my $WARNPERCENT = 80;
my @POSTMASTERS = ('postmaster@isp.tld');
my $CONAME = 'ISP.tld';
my $COADDR = 'postmaster@isp.tld';
my $SUADDR = 'postmaster@isp.tld';
my $MAIL_REPORT = 1;
my $MAIL_WARNING = 1;</pre>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">Run</span></p>
<p><em><span style="font-family: Courier New,Courier,mono; font-size: x-small;">crontab -e</span></em></p>
<p><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">to create a cron job for that script:</span></p>
<p><span style="font-family: Courier New,Courier,mono; font-size: x-small;"><em>0 0 * * * /usr/local/sbin/quota_notify &amp;&gt; /dev/null</em></span></p>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/linux/virtual-users-and-domains-with-postfix-courier-and-mysql-smtp-auth-quota-spamassassin-clamav-part-4.html" title="centos cpanel postfix virtual users">centos cpanel postfix virtual users</a> (2)</li><li><a href="http://thegioinguonmo.com/os/linux/virtual-users-and-domains-with-postfix-courier-and-mysql-smtp-auth-quota-spamassassin-clamav-part-4.html" title="quota txt postfix">quota txt postfix</a> (2)</li><li><a href="http://thegioinguonmo.com/os/linux/virtual-users-and-domains-with-postfix-courier-and-mysql-smtp-auth-quota-spamassassin-clamav-part-4.html" title="smtp-auth quota spamassassin clamav">smtp-auth quota spamassassin clamav</a> (2)</li><li><a href="http://thegioinguonmo.com/os/linux/virtual-users-and-domains-with-postfix-courier-and-mysql-smtp-auth-quota-spamassassin-clamav-part-4.html" title="modify quota mysql postfix -dovecot">modify quota mysql postfix -dovecot</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/virtual-users-and-domains-with-postfix-courier-and-mysql-smtp-auth-quota-spamassassin-clamav-part-4.html" title="spamassassin amavis rewrite_header solved">spamassassin amavis rewrite_header solved</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/virtual-users-and-domains-with-postfix-courier-and-mysql-smtp-auth-quota-spamassassin-clamav-part-4.html" title="spamassassin virtual domain mysql">spamassassin virtual domain mysql</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/linux/virtual-users-and-domains-with-postfix-courier-and-mysql-smtp-auth-quota-spamassassin-clamav-part-4.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: thegioinguonmo.com @ 2012-05-22 21:31:47 -->
