<?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>Knowledge Base</title>
	<atom:link href="http://kb.softescu.ro/feed/" rel="self" type="application/rss+xml" />
	<link>http://kb.softescu.ro</link>
	<description>Softescu's base of knowledge</description>
	<lastBuildDate>Mon, 23 Apr 2012 13:41:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to install ImageMagick in cPanel</title>
		<link>http://kb.softescu.ro/server-administration/cpanel/how-to-install-imagemagick-in-cpanel/</link>
		<comments>http://kb.softescu.ro/server-administration/cpanel/how-to-install-imagemagick-in-cpanel/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 13:41:14 +0000</pubDate>
		<dc:creator>Adrian Pintilie</dc:creator>
				<category><![CDATA[cPanel]]></category>

		<guid isPermaLink="false">http://kb.softescu.ro/?p=325</guid>
		<description><![CDATA[Follow these commands in ssh cd /root wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz tar xvfz ImageMagick.tar.gz cd ImageMagick* ./configure make make install]]></description>
			<content:encoded><![CDATA[<p>Follow these commands in ssh</p>
<p><code><br />
cd /root<br />
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz<br />
tar xvfz ImageMagick.tar.gz<br />
cd ImageMagick*<br />
./configure<br />
make<br />
make install<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://kb.softescu.ro/server-administration/cpanel/how-to-install-imagemagick-in-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crystal Reports for Visual Studio 2010 DisplayGroupTree is obsolete</title>
		<link>http://kb.softescu.ro/programming/vbnet/crystal-reports-for-visual-studio-2010-displaygrouptree-is-obsolete/</link>
		<comments>http://kb.softescu.ro/programming/vbnet/crystal-reports-for-visual-studio-2010-displaygrouptree-is-obsolete/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 14:36:10 +0000</pubDate>
		<dc:creator>Petrica Danila</dc:creator>
				<category><![CDATA[Crystal Reports]]></category>
		<category><![CDATA[VB.net]]></category>
		<category><![CDATA[crystal reports]]></category>
		<category><![CDATA[DisplayGroupTree]]></category>

		<guid isPermaLink="false">http://kb.softescu.ro/?p=321</guid>
		<description><![CDATA[Public Property DisplayGroupTree As Boolean&#8217; is obsolete. In this version Crystal Reports can have a parameter panel. I now have to tell crystal reports what will be displayed in the left panel: the group tree the parameter panel nothing The parameter is ToolPanelView. If you don&#8217;t want to show nothing in the left panel: rptViewer.ToolPanelView [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Public Property DisplayGroupTree As Boolean&#8217; is obsolete.</p></blockquote>
<p>In this version Crystal Reports can have a parameter panel. I now have to tell crystal reports what will be displayed in the left panel:</p>
<ul>
<li>the group tree</li>
<li>the parameter panel</li>
<li>nothing</li>
</ul>
<p>The parameter is ToolPanelView. If you don&#8217;t want to show nothing in the left panel:</p>
<blockquote><p>rptViewer.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://kb.softescu.ro/programming/vbnet/crystal-reports-for-visual-studio-2010-displaygrouptree-is-obsolete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clear MySQL bin log files</title>
		<link>http://kb.softescu.ro/server-administration/mysql/clear-mysql-bin-log-files/</link>
		<comments>http://kb.softescu.ro/server-administration/mysql/clear-mysql-bin-log-files/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 07:04:32 +0000</pubDate>
		<dc:creator>Adrian Pintilie</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[bin log]]></category>

		<guid isPermaLink="false">http://kb.softescu.ro/?p=316</guid>
		<description><![CDATA[You need MySQL bin logs only if you are replicating the databases. 1. Disable bin logging nano /etc/my.cnf 2. Comment all bin logging related lines #log_bin = /var/log/mysql/mysql-bin.log #expire_logs_days = 10 #max_binlog_size = 100M 3. Restart MySQL 4. Delete the bin log files by entering in mysql with: mysql 5. Run the following command: PURGE [...]]]></description>
			<content:encoded><![CDATA[<p>You need MySQL bin logs only if you are replicating the databases.</p>
<p>1. Disable bin logging<br />
<code>nano /etc/my.cnf</code><br />
2. Comment all bin logging related lines<br />
<code><br />
#log_bin                 = /var/log/mysql/mysql-bin.log<br />
#expire_logs_days        = 10<br />
#max_binlog_size         = 100M<br />
</code><br />
3. Restart MySQL<br />
4. Delete the bin log files by entering in mysql with:<br />
<code>mysql</code><br />
5. Run the following command:<br />
<code>PURGE BINARY LOGS TO 'mysql-bin.03';</code></p>
<p>where 03 is the last number of the bin log you want to clear.</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.softescu.ro/server-administration/mysql/clear-mysql-bin-log-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a repository in XEN server</title>
		<link>http://kb.softescu.ro/server-administration/linux-server-administration/create-a-repository-in-xen-server/</link>
		<comments>http://kb.softescu.ro/server-administration/linux-server-administration/create-a-repository-in-xen-server/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 21:07:05 +0000</pubDate>
		<dc:creator>Adrian Pintilie</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://kb.softescu.ro/?p=314</guid>
		<description><![CDATA[1. Be sure that you have the path created. In the above example it&#8217;s /var/opt/xen/iso_import. 2. Copy the ISO images directly in this folder (Centos ISO images works fine). 3. Use the following command to create a local repository in XEN xe sr-create name-label="S5 Repository" type=iso device-config:location=/var/opt/xen/iso_import/ device-config:legacy_mode=true content-type=iso 4. In XENCENTER use the OTher [...]]]></description>
			<content:encoded><![CDATA[<p>1. Be sure that you have the path created. In the above example it&#8217;s /var/opt/xen/iso_import.<br />
2. Copy the ISO images directly in this folder (Centos ISO images works fine).<br />
3. Use the following command to create a local repository in XEN<br />
<code><br />
xe sr-create name-label="S5 Repository" type=iso device-config:location=/var/opt/xen/iso_import/ device-config:legacy_mode=true content-type=iso<br />
</code><br />
4. In XENCENTER use the OTher media install to create VMs.</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.softescu.ro/server-administration/linux-server-administration/create-a-repository-in-xen-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ignore folder in SVN</title>
		<link>http://kb.softescu.ro/server-administration/maintenance/ignore-folder-in-svn/</link>
		<comments>http://kb.softescu.ro/server-administration/maintenance/ignore-folder-in-svn/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 10:25:45 +0000</pubDate>
		<dc:creator>Adrian Pintilie</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maintenance]]></category>

		<guid isPermaLink="false">http://kb.softescu.ro/?p=310</guid>
		<description><![CDATA[Use this: DIRNAME -CHILD1 -CHILD2 DIRNAME> svn propset svn:ignore CHILD1 . attention! You have to be inside DIRNAME.]]></description>
			<content:encoded><![CDATA[<p>Use this:</p>
<p>DIRNAME<br />
-CHILD1<br />
-CHILD2<br />
<code><br />
DIRNAME> svn propset svn:ignore CHILD1 .<br />
</code></p>
<p>attention! You have to be inside DIRNAME.</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.softescu.ro/server-administration/maintenance/ignore-folder-in-svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error: Missing Dependency: perl-String-CRC32</title>
		<link>http://kb.softescu.ro/server-administration/linux-server-administration/error-missing-dependency-perl-string-crc32/</link>
		<comments>http://kb.softescu.ro/server-administration/linux-server-administration/error-missing-dependency-perl-string-crc32/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 13:11:21 +0000</pubDate>
		<dc:creator>Adrian Pintilie</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://kb.softescu.ro/?p=307</guid>
		<description><![CDATA[Fixing this error: --> Missing Dependency: perl(String::CRC32) is needed by package lftp-3.7.11-4.el5_5.3.x86_64 (base) Error: Missing Dependency: perl-String-CRC32 is needed by package lftp-3.7.11-4.el5_5.3.x86_64 (base) Error: Missing Dependency: perl(String::CRC32) is needed by package lftp-3.7.11-4.el5_5.3.x86_64 (base) You just need to install the Perl module. To do this, login to SSH as root and type: perl -e shell -MCPAN [...]]]></description>
			<content:encoded><![CDATA[<p>Fixing this error:</p>
<p><code>  --> Missing Dependency: perl(String::CRC32) is needed by package lftp-3.7.11-4.el5_5.3.x86_64 (base)<br />
Error: Missing Dependency: perl-String-CRC32 is needed by package lftp-3.7.11-4.el5_5.3.x86_64 (base)<br />
Error: Missing Dependency: perl(String::CRC32) is needed by package lftp-3.7.11-4.el5_5.3.x86_64 (base)<br />
</code></p>
<p>You just need to install the Perl module. To do this, login to SSH as root and type:<br />
<code><br />
perl -e shell -MCPAN<br />
</code><br />
If it asks you to set it up, just type &#8220;no&#8221; and it&#8217;ll use the defaults.<br />
<code><br />
cpan> install String::CRC32<br />
cpan> exit<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://kb.softescu.ro/server-administration/linux-server-administration/error-missing-dependency-perl-string-crc32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install EPEL repository cPanel CENTOS?</title>
		<link>http://kb.softescu.ro/server-administration/how-to-install-epel-repository-cpanel-centos/</link>
		<comments>http://kb.softescu.ro/server-administration/how-to-install-epel-repository-cpanel-centos/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 19:16:26 +0000</pubDate>
		<dc:creator>Adrian Pintilie</dc:creator>
				<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Server Administration]]></category>

		<guid isPermaLink="false">http://kb.softescu.ro/?p=305</guid>
		<description><![CDATA[1.Download the latest EPEL repository for I386 wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm 2. Download the latest EPEL repository for x86_64 wget http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm 3. Run the rpm install command rpm -Uvh epel-release-5*.rpm If you want to change the priority of the repository edit this file : /etc/yum.repos.d/epel.repo And change this value : priority=2]]></description>
			<content:encoded><![CDATA[<p>1.Download the latest EPEL repository for I386<br />
wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm</p>
<p>2. Download the latest EPEL repository for x86_64<br />
wget http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm</p>
<p>3. Run the rpm install command<br />
rpm -Uvh epel-release-5*.rpm</p>
<p>If you want to change the priority of the repository edit this file :<br />
/etc/yum.repos.d/epel.repo<br />
And change this value :<br />
priority=2</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.softescu.ro/server-administration/how-to-install-epel-repository-cpanel-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check SDA drive speed in Linux?</title>
		<link>http://kb.softescu.ro/server-administration/tunning/how-to-check-drive-speed/</link>
		<comments>http://kb.softescu.ro/server-administration/tunning/how-to-check-drive-speed/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 09:12:39 +0000</pubDate>
		<dc:creator>Adrian Pintilie</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tunning]]></category>

		<guid isPermaLink="false">http://kb.softescu.ro/?p=302</guid>
		<description><![CDATA[Use the following command: hdparm -tT /dev/sda1 A good test result is this one: # hdparm -tT /dev/sda1 /dev/sda1: Timing cached reads: 21416 MB in 1.99 seconds = 10785.03 MB/sec Timing buffered disk reads: 106 MB in 3.01 seconds = 35.16 MB/sec]]></description>
			<content:encoded><![CDATA[<p>Use the following command:</p>
<p><code>hdparm -tT /dev/sda1</code></p>
<p>A good test result is this one:<br />
<code># hdparm -tT /dev/sda1</p>
<p>/dev/sda1:<br />
 Timing cached reads:   21416 MB in  1.99 seconds = 10785.03 MB/sec<br />
 Timing buffered disk reads:  106 MB in  3.01 seconds =  35.16 MB/sec<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://kb.softescu.ro/server-administration/tunning/how-to-check-drive-speed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to password protect folders in Apache?</title>
		<link>http://kb.softescu.ro/server-administration/apache/how-to-password-protect-folders-in-apache/</link>
		<comments>http://kb.softescu.ro/server-administration/apache/how-to-password-protect-folders-in-apache/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 11:50:14 +0000</pubDate>
		<dc:creator>Adrian Pintilie</dc:creator>
				<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://kb.softescu.ro/?p=297</guid>
		<description><![CDATA[You need to add the following lines in .htaccess AuthUserFile /home/site-name/public_html/.htpasswd AuthName "Login Area" AuthType Basic require user user-name then create a .htpasswd file in /home/site-name/public_html/ with the following content: user-name:faut1Lbo9LqK8NgU0 where &#8220;faut1Lbo9LqK8NgU0&#8243; is the hash of the password. You can generate an has with this link: http://www.htaccesstools.com/htpasswd-generator/]]></description>
			<content:encoded><![CDATA[<p>You need to add the following lines in .htaccess<br />
<code><br />
AuthUserFile /home/site-name/public_html/.htpasswd<br />
AuthName "Login Area"<br />
AuthType Basic<br />
require user user-name<br />
</code></p>
<p>then create a .htpasswd file in /home/site-name/public_html/ with the following content:<br />
<code>user-name:faut1Lbo9LqK8NgU0</code></p>
<p>where &#8220;faut1Lbo9LqK8NgU0&#8243; is the hash of the password. You can generate an has with this link: <a href="http://www.htaccesstools.com/htpasswd-generator/" title="http://www.htaccesstools.com/htpasswd-generator/">http://www.htaccesstools.com/htpasswd-generator/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kb.softescu.ro/server-administration/apache/how-to-password-protect-folders-in-apache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Convert MYSQL tables to INNODB script</title>
		<link>http://kb.softescu.ro/server-administration/maintenance/convert-mysql-tables-to-innodb-script/</link>
		<comments>http://kb.softescu.ro/server-administration/maintenance/convert-mysql-tables-to-innodb-script/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 12:23:16 +0000</pubDate>
		<dc:creator>Adrian Pintilie</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[innodb]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://kb.softescu.ro/?p=294</guid>
		<description><![CDATA[If you want to convert MYSQL tables to INNODB use the following script: mysql -u root -p -e "SHOW TABLES IN DATABASE-NAME;" &#124; tail -n +2 &#124; xargs -I '{}' echo "ALTER TABLE {} ENGINE=INNODB;" > alter_table.sql and then run: perl -p -i -e 's/(search_[a-z_]+ ENGINE=)INNODB/\1MYISAM/g' alter_table.sql Replace &#8220;DATABASE-NAME&#8221; with your database name. You also [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to convert MYSQL tables to INNODB use the following script:</p>
<p><code>mysql -u root -p -e "SHOW TABLES IN DATABASE-NAME;" | tail -n +2 | xargs -I '{}' echo "ALTER TABLE {} ENGINE=INNODB;" > alter_table.sql</code><br />
and then run:<br />
<code>perl -p -i -e 's/(search_[a-z_]+ ENGINE=)INNODB/\1MYISAM/g' alter_table.sql</code></p>
<p>Replace &#8220;DATABASE-NAME&#8221; with your database name. You also need root access (preferably).</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.softescu.ro/server-administration/maintenance/convert-mysql-tables-to-innodb-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

