<?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>IT Solutions Knowledge Base &#187; WHM/Cpanel</title>
	<atom:link href="http://www.itsolutionskb.com/category/linux/whm-cpanel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itsolutionskb.com</link>
	<description></description>
	<lastBuildDate>Fri, 02 Jul 2010 07:26:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Exporting &amp; Importing Large MySQL Databases</title>
		<link>http://www.itsolutionskb.com/2008/12/exporting-importing-large-mysql-databases/</link>
		<comments>http://www.itsolutionskb.com/2008/12/exporting-importing-large-mysql-databases/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 09:45:57 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WHM/Cpanel]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=476</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>This article will deal with the export and import of mysql databases and solving a common import problem of huge mysql database files that they cannot be imported into mysql if they are large enough due to time limits and other restrictions.</p>
<p><strong>Export MySQL Database with mysqldump:</strong></p>
<blockquote><p>mysqldump -u username -ppassword database_name &gt; export.sql</p></blockquote>
<p><strong>Import MySQL Database with mysql:</strong></p>
<blockquote><p>mysql -u username -ppassword database_name &lt; export.sql</p></blockquote>
<p><strong>Importing very large MySQL Database using BigDump Importer:</strong></p>
<p>Download BigDump v0.29b from: <a href="http://www.ozerov.de/bigdump.php">http://www.ozerov.de/bigdump.php</a></p>
<p>Usage:</p>
<p>Edit bigdump.php and modify your database connectivity</p>
<blockquote><p>// Database configuration<br />
$db_server   = &#8216;localhost&#8217;;<br />
$db_name     = &#8216;dbname&#8217;;<br />
$db_username = &#8216;dbusername&#8217;;<br />
$db_password = &#8216;dbpassword&#8217;;</p></blockquote>
<p>Browse to bigdump.php file</p>
<blockquote><p>http://localhost/bigdump.php</p></blockquote>
<p>In case you want the upload option available you will need to give write permissions to your current directory</p>
<blockquote><p>chmod 777 dir</p></blockquote>
<p>Example Preview:</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2008/11/mysqldumpimporter1.png" rel="lightbox[476]"><img class="alignnone size-medium wp-image-479" title="MySQL Dump Importer" src="http://www.itsolutionskb.com/wp-content/uploads/2008/11/mysqldumpimporter1-300x101.png" alt="" width="300" height="101" /></a></p>
<p>Clicking on Start Import option you can start importing your database.</p>
<p>In case you want to specify the file from within bigdump.php file you need to edit the follow line:</p>
<blockquote><p>$filename         = &#8221;;     // Specify the dump filename to suppress the file selection dialog</p></blockquote>
<p>You can import the following .gz, .sql and .csv file extensions only.</p>
<p>Results of the import: (2.5GB size and about 32Million Records)</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2008/11/infosec_md5.png" rel="lightbox[476]"><img class="alignnone size-medium wp-image-483" title="InfoSEC.org.uk MD5 Import" src="http://www.itsolutionskb.com/wp-content/uploads/2008/11/infosec_md5-300x104.png" alt="" width="300" height="104" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2008/12/exporting-importing-large-mysql-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Repairing corrupted MySQL databases</title>
		<link>http://www.itsolutionskb.com/2008/11/repairing-corrupted-mysql-databases/</link>
		<comments>http://www.itsolutionskb.com/2008/11/repairing-corrupted-mysql-databases/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 20:03:58 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WHM/Cpanel]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=470</guid>
		<description><![CDATA[Repairing corrupted mysql databases when they get corrupted can happen in many situations. When your databases get corrupted there are plenty of tools available to repair them. In most cases only the index gets corrupted and not the actual data which is very rare to happen. In this article we will demostrate myisamchk tool to [...]]]></description>
			<content:encoded><![CDATA[<p>Repairing corrupted mysql databases when they get corrupted can happen in many situations. When your databases get corrupted there are plenty of tools available to repair them.</p>
<p>In most cases only the index gets corrupted and not the actual data which is very rare to happen.</p>
<p>In this article we will demostrate myisamchk tool to repair some corrupted mysql databases as well mysqlcheck and repair table command.</p>
<p>Locate mysql databases:</p>
<blockquote><p>cd /var/lib/mysql</p></blockquote>
<p><strong>myisamchk Utility (MyISAM Only)</strong><br />
Description: myisamchk can check and repair MyISAM tables</p>
<p>Running the repair command for all database tables:</p>
<blockquote><p>myisamchk -q -r -f -s  *.MYI</p></blockquote>
<p>Running the repair command for specific table:</p>
<blockquote><p>myisamchk -q -r -f -s  table.MYI</p></blockquote>
<p>Options used:</p>
<blockquote><p>Change the collation used by the index.<br />
-q, &#8211;quick        Faster repair by not modifying the data file. One can give a second &#8216;-q&#8217; to force myisamchk to modify the original datafile in case of duplicate keys.<br />
<strong>NOTE:</strong> Tables where the data file is corrupted can&#8217;t be fixed with this option.</p>
<p>-r, &#8211;recover      Can fix almost anything except unique keys that aren&#8217;t unique.</p>
<p>-f, &#8211;force         Overwrite old temporary files.</p>
<p>-s, &#8211;silent        Only print errors.  One can use two -s to make myisamchk very silent.</p></blockquote>
<p>Other database repair tools:</p>
<p><strong>REPAIR Table SQL Statement (MyISAM Only)</strong></p>
<p>Usage:</p>
<blockquote><p>mysql&gt; REPAIR TABLE tablename;</p></blockquote>
<p>In case the indexing file is missing or is corrupted u can use the USE_FRM option.</p>
<blockquote><p>mysql&gt; REPAIR TABLE tablename USE_FRM;</p></blockquote>
<p><strong>mysqlcheck Utility (MyISAM Only)</strong></p>
<p>Usage:</p>
<blockquote><p>mysqlcheck -r database table -uuser -ppass</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2008/11/repairing-corrupted-mysql-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manual transfering CPanel sites from WHM</title>
		<link>http://www.itsolutionskb.com/2008/11/manual-transfering-cpanel-sites-from-whm/</link>
		<comments>http://www.itsolutionskb.com/2008/11/manual-transfering-cpanel-sites-from-whm/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 10:00:55 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[WHM/Cpanel]]></category>
		<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=394</guid>
		<description><![CDATA[Using WHM of Cpanel.net to transfer full backups of your site is a very powerfull way to transfer your whole site from one server to another. Doing that you can have a full site restoration to the new server without any limitations. Old Server: On the old server you will need first to create a [...]]]></description>
			<content:encoded><![CDATA[<p>Using WHM of Cpanel.net to transfer full backups of your site is a very powerfull way to transfer your whole site from one server to another. Doing that you can have a full site restoration to the new server without any limitations.</p>
<p><strong>Old Server:</strong><br />
On the old server you will need first to create a backup of the site username using pkgacct tool. To do this you must have root privileges on the server.</p>
<blockquote><p>cd /home<br />
/scripts/pkgacct USERNAME</p></blockquote>
<p>This will create a cpmove-USERNAME.tar.gz file which you will need to transfer to the new server to restore it.</p>
<p><a href="http://www.itsolutionskb.com/wp-content/uploads/2008/11/1_pkgacct.png" rel="lightbox[394]"><img class="alignnone size-medium wp-image-398" title="Backup of Account" src="http://www.itsolutionskb.com/wp-content/uploads/2008/11/1_pkgacct-300x186.png" alt="" width="300" height="186" /></a></p>
<p>To move the file to the new server can be done in various ways including FTP, SCP or just moving it to the public_html folder of your old server so you can download it from the new server directly.</p>
<p>In case you want to move the file to public_html you will need to do the following:</p>
<blockquote><p>mv /home/cpmove-USERNAME.tar.gz /home/USERNAME/public_html<br />
chmod 777 cpmove-USERNAME.tar.gz</p></blockquote>
<p><strong>New Server:</strong></p>
<p>After you have transfered your cpmove-USERNAME.tar.gz file to the new server you have to restore the whole account back.</p>
<p>First lets assume that you have moved the backup file to public_html the steps to continue are:</p>
<blockquote><p>cd /home<br />
wget http://public_html_of_site.com/cpmove-USERNAME.tar.gz<br />
/scripts/restorepkg USERNAME</p></blockquote>
<p>When done just edit the DNS settings to reflect the new server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2008/11/manual-transfering-cpanel-sites-from-whm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fatal error: Call to undefined function: imagettfbbox()</title>
		<link>http://www.itsolutionskb.com/2008/10/fatal-error-call-to-undefined-function-imagettfbbox/</link>
		<comments>http://www.itsolutionskb.com/2008/10/fatal-error-call-to-undefined-function-imagettfbbox/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 18:27:00 +0000</pubDate>
		<dc:creator>Glafkos Charalambous</dc:creator>
				<category><![CDATA[WHM/Cpanel]]></category>
		<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://www.itsolutionskb.com/?p=134</guid>
		<description><![CDATA[It seems that you do not have TTF (Free Type) support compiled with PHP. You will have to login as root to WHM interface and under Menu and Category Software select Apache Update When you click on Apache Update do the following steps: 1) Start Customizing Based on Profile 2) Click Next Step 3 times [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that you do not have TTF (Free Type) support compiled with PHP. You will have to login as root to WHM interface and under Menu and Category Software select Apache Update</p>
<p>When you click on Apache Update do the following steps:</p>
<p>1) Start Customizing Based on Profile<br />
2) Click Next Step 3 times<br />
3) Click on Exhaustive Options List<br />
4) Check TTF (FreeType)<br />
5) Save and Build!</p>
<p>The recompilation of Apache and PHP will run on background. Wait until it finish.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itsolutionskb.com/2008/10/fatal-error-call-to-undefined-function-imagettfbbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
