<?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>Linux, Open Source and Web 2.0</title>
	<atom:link href="http://articles.itecsoftware.com/feed" rel="self" type="application/rss+xml" />
	<link>http://articles.itecsoftware.com</link>
	<description>Itec Software</description>
	<lastBuildDate>Mon, 08 Feb 2010 23:59:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hot To Install Memcache And PHP Client On Mac Snow Leopard</title>
		<link>http://articles.itecsoftware.com/web-development/hot-to-install-memcache-and-php-client-on-mac-snow-leopard</link>
		<comments>http://articles.itecsoftware.com/web-development/hot-to-install-memcache-and-php-client-on-mac-snow-leopard#comments</comments>
		<pubDate>Mon, 08 Feb 2010 23:59:32 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[memcache]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[PECL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5-memache]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=346</guid>
		<description><![CDATA[I recently installed the memcached daemon on my MacBook Pro, incuding the necessary PHP client for development purposes. I just prefer to work locally instead of using a VM running Linux. And the process is actually quite simple and straight forward. Please note, I have included both clients, the old standard one and the newer [...]]]></description>
			<content:encoded><![CDATA[<p>I recently installed the memcached daemon on my MacBook Pro, incuding the necessary PHP client for development purposes. I just prefer to work locally instead of using a VM running Linux. And the process is actually quite simple and straight forward. Please note, I have included both clients, the old standard one and the newer PECL extension, because I deal with different applications and also lots of people seems to get confused when they install one version and their memcache classes cannot get instantiated and throw errors. So, if in doubt, just install both.</p>
<p>These are the five (four if you know which extension you want) components needed:</p>
<p>- libevent (requred library for memcached)</p>
<p>- memcached daemon</p>
<p>- libmemcached (required library for the php client)</p>
<p>- php extension (standard)</p>
<p>- php extension (PECL)</p>
<p>Now open your terminal and off we go:<span id="more-346"></span></p>
<p><em> Note: if you don&#8217;t want to install wget, you can alternatively use &#8220;curl -O&#8221;)</em></p>
<p><span style="color: #008000;"><strong><span style="color: #000000;">Installing libevent:</span></strong></span><br />
<span style="color: #008000;"><br />
$ cd /tmp<br />
$ wget http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz (if you&#8217;re brave, you can try the 2.0 beta)<br />
$ tar zxvf libevent-1.4.13-stable.tar.gz<br />
$ ./configure<br />
$ make<br />
$ sudo make install</span></p>
<p><span style="color: #008000;"><strong><span style="color: #000000;">Installing memcached:</span></strong></span></p>
<p><span style="color: #008000;">$ wget http://memcached.googlecode.com/files/memcached-1.4.1.tar.gz<br />
$ tar xzvf memcached-1.4.1.tar.gz<br />
$ cd memcached-1.4.1<br />
$ ./configure<br />
$ make<br />
$ make test<br />
$ sudo make install</span><br />
<span style="color: #008000;">$ memcached -d -P pidfile -l 127.0.0.1</span> (this will start the memcached daemon)<br />
<span style="color: #008000;">$ ps aux | grep &#8216;memcached&#8217; <span style="color: #000000;">(this should confirm that memcached is running and how much memory is assigned to it)</span></span></p>
<p><strong><span style="color: #008000;"><span style="color: #000000;">Installing libmemcached:</span></span></strong></p>
<p><span style="color: #008000;">$ wget http://launchpad.net/libmemcached/1.0/0.34/+download/libmemcached-0.34.tar.gz<br />
$ tar -zxvf libmemcached-0.34.tar.gz<br />
$ cd libmemcached-0.34<br />
$ ./configure<br />
$ make<br />
$ sudo make install</span></p>
<p><strong><span style="color: #000000;">Installing PECL memcache extension:</span></strong></p>
<p><span style="color: #008000;">$ cd /tmp<br />
$ pecl download memcached<br />
$ tar xzvf memcached-1.0.0.tgz<br />
$ cd memcached-1.0.0<br />
$ phpize<br />
$ ./configure<br />
$ make<br />
$ sudo make install</span></p>
<p><strong><span style="color: #000000;">Installing PHP memcache extension:</span></strong></p>
<p><span style="color: #008000;">$ cd /tmp<br />
$ wget http://pecl.php.net/get/memcache-2.2.4.tgz<br />
$ tar -zxvf memcache-2.2.4.tgz<br />
$ cd memcache-2.2.4<br />
$ phpize &amp;&amp;<br />
$ ./configure<br />
$ make<br />
$ sudo make install</span></p>
<p>Once all the steps are completed successfully, ensure that the extension directory is specified as the same as the output of the terminal after the extensions installed. Otherwise correct in php.ini.</p>
<p>Also add the line(s) to load the extension(s) in the php.ini file, in the extension section:</p>
<p>extension=memcached.so<br />
extension=memcache.so</p>
<p>And finally restart apache:<br />
<span style="color: #008000;">$ sudo apachectl restart</span></p>
<p>And verify in phpinfo that memcache(d) is loaded and working.</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/web-development/hot-to-install-memcache-and-php-client-on-mac-snow-leopard/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s new in Google&#8217;s Search update &#8211; code named Caffeine</title>
		<link>http://articles.itecsoftware.com/web-development/whats-new-in-google-search-update-code-name-caffeine</link>
		<comments>http://articles.itecsoftware.com/web-development/whats-new-in-google-search-update-code-name-caffeine#comments</comments>
		<pubDate>Fri, 15 Jan 2010 19:34:41 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[caffeine]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[webmaster]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=338</guid>
		<description><![CDATA[Google’s search algorithm update, codenamed “Google Caffeine” in set to launch in the coming days. Google Caffeine is said to stir up the Webmaster / SEO world with a slew of algorithm updates. Most predominantly, it will be much quicker than the current Google search and rely more on keyword strings in the page content, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://articles.itecsoftware.com/wp-content/uploads/2010/01/google-caffeine1.jpg"><img class="alignleft size-medium wp-image-341" style="margin-left: 10px; margin-right: 10px;" title="google-caffeine" src="http://articles.itecsoftware.com/wp-content/uploads/2010/01/google-caffeine1-236x300.jpg" alt="Google Caffeine" width="236" height="300" /></a>Google’s search algorithm update, codenamed “Google Caffeine” in set to launch in the coming days. Google Caffeine is said to stir up the Webmaster / SEO world with a slew of algorithm updates. Most predominantly, it will be much quicker than the current Google search and rely more on keyword strings in the page content, and it will make real-time search much more important.</p>
<p>The new focus on real-time search results means that sites that consistently ranked high will take a hit. This will give smart webmasters who understand the dynamic of  real-time social media an excellent opportunity to markedly boost their Google rankings.</p>
<p>Here is a summary of what we know about Google Caffeine and it&#8217;s effect on SEO:</p>
<p><strong>Page load speed will be important</strong></p>
<p>The time it takes for a webpage to load is now important  to rank high on Google. Studies have shown that improving page load speed results in improved user retention and increased conversions.</p>
<p>Check out Google&#8217;s Site Performance diagnostic tool in their <a href="https://www.google.com/webmasters/tools/home?hl=en" target="_blank">Google Webmaster Accounts</a>. Basically, it boils down to:</p>
<ol>
<li>Writing lean HTML and CSS code</li>
<li>More intelligent use of Javascript</li>
<li>Compressing html, css and Javascript</li>
<li>Improve browser page caching</li>
</ol>
<p><span id="more-338"></span></p>
<p><strong>Fresh Content Wins</strong></p>
<p>Pages with static content will drop in the search rankings and more dynamic businesses with active blogs will take their place. This update declares war on “black hat” SEO spammers and rewards webmasters that provide up to date, meaningful and original content.</p>
<p>Ideas to keep your site dynamic:</p>
<ol>
<li>Publish dynamic content like blog posts, comments, press releases and company news. You should try to add fresh content daily.</li>
<li>Encourage user interaction through profiles, comments, social bookmarking and social media links.</li>
</ol>
<p><strong>Backlinks Rule</strong></p>
<p>The Google Caffeine update will not affect off-page factors much, so quality and relevant backlinks will continue to be an important ranking factor. However,  links and references from social media sites like Facebook and Twitter will be weighted higher.</p>
<p>There you have it. Try to take advantage of Google’s new Caffeine and update your blog regularly, improve page load speed by using Google’s Webmaster Tools to pinpoint sections that are slowing things down and employ a strong backlink strategy that targets the viral potential of social media networks.</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/web-development/whats-new-in-google-search-update-code-name-caffeine/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Moonlight 2 implements Silverlight 2 on Linux</title>
		<link>http://articles.itecsoftware.com/web-development/moonlight-2-implements-silverlight-2-on-linux</link>
		<comments>http://articles.itecsoftware.com/web-development/moonlight-2-implements-silverlight-2-on-linux#comments</comments>
		<pubDate>Mon, 21 Dec 2009 16:47:48 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Moonlight]]></category>
		<category><![CDATA[Novell]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=336</guid>
		<description><![CDATA[One of the intricate aspects of open source software is in implementing support — where it is even possible to do so — for the wide realm of codecs, formats, and a plethora of proprietary technologies that users have come to rely on. One such technology is Microsoft&#8217;s Silverlight framework, which until early this year [...]]]></description>
			<content:encoded><![CDATA[<p>One of the intricate aspects of open source software is in implementing support — where it is even possible to do so — for the wide realm of codecs, formats, and a plethora of proprietary technologies that users have come to rely on. One such technology is Microsoft&#8217;s Silverlight framework, which until early this year was not available to Linux users.</p>
<p>This changed in January, when the first version of the <a title="Moonlight Project Home Page" href="http://www.mono-project.com/Moonlight" target="_blank">Moonlight Project</a> was released, providing Linux users with Open Source Silverlight support. Also included, provided that Moonlight has been obtained via Novell and meets certain other conditions, is a license to Microsoft&#8217;s free but closed-source Media Pack, containing codecs needed to decode audio and video streams.<span id="more-336"></span><br />
With Silverlight 1.0 support out of the way, Moonlight developers began on Silverlight 2, and late last week, delivered the results of that effort with the release of Moonlight 2. The new release implements — as the version number suggests — support for Silverlight 2, complete with a new patent agreement from Microsoft that clarifies the applicability of the commitment to Moonlight implementations obtained from sources other than Novell. Users are now protected from patent litigation without regard to who supplied a user&#8217;s version of Moonlight — use of the Microsoft Media Pack, however, continues to be restricted to versions of Moonlight provided by Novell.</p>
<p>In addition to support for Silverlight 2, the release implements a select number of features from Silverlight 3 — complete support is expected in Moonlight 3, a preview of which is to be released in the coming months, and after a brief interim, version 4. New features include: &#8220;support for Bitmap APIs, file dialogs, easing functions, pluggable media pipeline and custom Codecs, better streaming of multimedia content based on the quality of the user&#8217;s connections and this release embeds Mono runtime functionality, which allows developers to target Linux with rich Internet applications using a wide variety of programming languages, including C#, Ruby, Python and Javascript.&#8221;</p>
<p>Moonlight — and Mono in general — has not been without its share of controversy, however. The conditions placed by Microsoft on Moonlight use produced considerable confusion regarding its status — prompting the revised commitment included with Moonlight 2 — as did the restrictions regarding eligibility to use the Microsoft Media Pack. As one might expect, those who oppose the use of closed-source software entirely object to the need for proprietary codecs. Some have objected to the patent agreement between Novell and Microsoft on principle, while others believe the project is part of a conspiracy to undermine the Open Source community.</p>
<p>Moonlight 2 — including a license for the Microsoft Multimedia Pack — can be downloaded from the <a title="Mono Project Moonlight" href="http://www.go-mono.com/moonlight" target="_blank">Mono Project&#8217;s Moonlight</a> site. Additional information about Moonlight and the Mono project is available from the Mono Project website, as is information for those interested in joining in the project&#8217;s development.</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/web-development/moonlight-2-implements-silverlight-2-on-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Install Snow Leopard From USB</title>
		<link>http://articles.itecsoftware.com/useful-stuff/how-to-install-snow-leopard-from-usb</link>
		<comments>http://articles.itecsoftware.com/useful-stuff/how-to-install-snow-leopard-from-usb#comments</comments>
		<pubDate>Mon, 23 Nov 2009 20:43:40 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Useful Stuff]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=329</guid>
		<description><![CDATA[Ever been without a DVD/CDROM or installation disk?  Especially MacBook Air users undoubtedly come across this situation. This article will explain how to install Snow Leopard from an external device such as USB or disk drive.
You will need an appropriately sized external drive or USB Flash Drive, as the Snow Leopard install DVD&#8217;s size is [...]]]></description>
			<content:encoded><![CDATA[<p>Ever been without a DVD/CDROM or installation disk?  Especially MacBook Air users undoubtedly come across this situation. This article will explain how to install Snow Leopard from an external device such as USB or disk drive.</p>
<p>You will need an appropriately sized external drive or USB Flash Drive, as the Snow Leopard install DVD&#8217;s size is about 6.2 gigabytes. An 8GB USB stick like the <a href="http://www.amazon.com/gp/product/B000UZN2ZK?ie=UTF8&amp;tag=cudandsnu-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000UZN2ZK">SanDisk Cruzer 8GB</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=cudandsnu-20&amp;l=as2&amp;o=1&amp;a=B000UZN2ZK" border="0" alt="" width="1" height="1" /> is the perfect choice.</p>
<p>Now let&#8217;s plug in that USB stick and get started.</p>
<p>1. Start up Disk Utility and select your Flash Drive from the left side pane.</p>
<p>2. Select the Erase tab and set Format to Mac OS Extended (Journaled). It should be the first choice in the list. Set Name to <em>Snow Leopard or OS X Install</em> so you can easily keep track of it. Before you the Erase button, be sure that you copied any files or folders from the Flash Drive that you want to keep, as everything will get erased. You&#8217;ve been warned! Hit Erase.<span id="more-329"></span></p>
<p>3. After the Erase action has finished, we&#8217;re ready to move the installation files onto the stick. If you don&#8217;t already have the installation DVD inserted, do so. It should appear in the left side pane. Drag it&#8217;s image (Mac OS X Install DVD onto the source input field. Select your USB Flash Drive and drag it onto the Destination input field. Then hit Restore and wait for the process to finish. Be patient as it can take more than 20 minutes.</p>
<p>4. In case you try to install the OS now by clicking on the USB image, a warning may appear saying that you cannot install OS X from this volume. Ignore the message. Remove the installation DVD from the drive and restart your Mac with the USB plugged in. When your Mac boots up, press and hold the option/alt key until a menu with available drives appears. Select it and follow the prompts. At this point everything should proceed the same way as the regular DVD install.</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/useful-stuff/how-to-install-snow-leopard-from-usb/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To Add PHP Mcrypt Module On Snow Leopard 10.6</title>
		<link>http://articles.itecsoftware.com/web-development/how-to-add-php-mcrypt-module-on-snow-leopard-10-6</link>
		<comments>http://articles.itecsoftware.com/web-development/how-to-add-php-mcrypt-module-on-snow-leopard-10-6#comments</comments>
		<pubDate>Tue, 03 Nov 2009 20:39:47 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mcrypt]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=322</guid>
		<description><![CDATA[These instructions assume that you have a working Apache 2.2 / PHP 5.3 in place and want to add the php mcrypt module. It will work as a fresh install, but keep in mind that additional configuration steps after these instructions are necessary to get your webserver working properly. Those additional steps are omitted here, as there [...]]]></description>
			<content:encoded><![CDATA[<p>These instructions assume that you have a working Apache 2.2 / PHP 5.3 in place and want to add the php mcrypt module. It will work as a fresh install, but keep in mind that additional configuration steps after these instructions are necessary to get your webserver working properly. Those additional steps are omitted here, as there are countless resources available on the Internet.</p>
<p>1. If you don&#8217;t already have the mcrypt module (in /usr/lib), d<span style="background-color: #ffffff;">ownload the <span style="text-decoration: underline;">libmcrypt</span> source code from sourceforge <a href="http://sourceforge.net/projects/mcrypt/files/Libmcrypt/" target="_blank">here</a>. Then extract the downloaded file in a Terminal and move inside the created directory. (cd libmcrypt-2.5.8 in my case)</span></p>
<p>2. Execute the following lines in one command in your Terminal, if you have a 64bit version of Apache/PHP:</p>
<p><span style="color: #003300;"><em><span style="color: #008000;">CFLAGS=&#8221;-arch x86_64&#8243; \<br />
CXXFLAGS=&#8221;-arch x86_64&#8243; \<br />
./configure &#8211;disable-posix-threads</span></em></span></p>
<p>(for 32 bit versions: ./configure &#8211;disable-posix-threads)</p>
<p><span id="more-322"></span></p>
<p>2. In your Terminal, run:</p>
<p><span style="color: #003300;"><em><span style="color: #008000;">make</span></em></span></p>
<p>3. If no errors, in your Terminal run:</p>
<p><span style="color: #003300;"><em><span style="color: #008000;">sudo make install</span></em></span></p>
<p>4. Download the PHP source code from PHP&#8217;s website <a href="http://www.php.net/downloads.php#v5" target="_blank">here</a>. Extract in a Terminal and move into the extracted directory.</p>
<p>5. In your Terminal, run the following lines in one command:</p>
<p><span style="color: #003300;"><em><span style="color: #008000;">export MACOSX_DEPLOYMENT_TARGET=10.6 \<br />
CFLAGS=&#8221;-arch x86_64&#8243; \<br />
CXXFLAGS=&#8221;-arch x86_64&#8243;</span></em></span></p>
<p><span style="color: #003300;"><em><span style="color: #008000;"><br />
./configure &#8211;prefix=/usr/local/php5<br />
&#8211;mandir=/usr/share/man<br />
&#8211;infodir=/usr/share/info<br />
&#8211;sysconfdir=/etc \<br />
&#8211;with-config-file-path=/etc \<br />
&#8211;with-zlib \<br />
&#8211;with-zlib-dir=/usr \<br />
&#8211;with-openssl \<br />
&#8211;with-iconv=/usr \<br />
&#8211;enable-exif \<br />
&#8211;enable-ftp \<br />
&#8211;enable-mbstring \<br />
&#8211;enable-mbregex \<br />
&#8211;with-mcrypt \<br />
&#8211;enable-sockets \<br />
&#8211;with-mysql=/usr/local/mysql \<br />
&#8211;with-pdo-mysql=/usr/local/mysql \<br />
&#8211;with-mysqli=/usr/local/mysql/bin/mysql_config \<br />
&#8211;with-apxs2=/usr/sbin/apxs</span></em></span></p>
<p>6. Correct a bug in Makefile.</p>
<p>As a result of a bug in PHP 5.2.9 and 5.3.0, we&#8217;ll need to correct the file <span style="text-decoration: underline;">Makefile</span> generated by the configure phase. Let&#8217;s add ‘-lresolv‘ at the end of the line that begins with ‘EXTRA_LIBS‘. Leave a space and add it like &#8221; &#8230;   -lz -licucore -lm -lresolv to whatever is there already. Do not alter the exiting text, simply add it.</p>
<p>7. In your Terminal, run:</p>
<p><span style="color: #003300;"><em><span style="color: #008000;">make</span></em></span></p>
<p>8. If no errors, run:</p>
<p><span style="color: #003300;"><em><span style="color: #008000;">sudo make install</span></em></span></p>
<p>At this point, restart apache and check your configuration with phpinfo(). Look for mcrypt as it should appear as an enabled module.</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/web-development/how-to-add-php-mcrypt-module-on-snow-leopard-10-6/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MySQL &#8211; How To Analyze, Repair and Optimize all Tables</title>
		<link>http://articles.itecsoftware.com/web-development/mysql-how-to-analyze-repair-and-optimize-all-tables</link>
		<comments>http://articles.itecsoftware.com/web-development/mysql-how-to-analyze-repair-and-optimize-all-tables#comments</comments>
		<pubDate>Mon, 02 Nov 2009 18:14:10 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Useful Stuff]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[analyze table]]></category>
		<category><![CDATA[mysqlcheck]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[repair table]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=319</guid>
		<description><![CDATA[Ever come across a situation, where you&#8217;d like to check all tables in a database and have them all repaired and optimized? My guess is yes.
In case you didn&#8217;t know, there is a helpful MySQL utility called mysqlcheck, available as of version 3.23.38. It does exactly what we need.
To check all tables in all databases [...]]]></description>
			<content:encoded><![CDATA[<p>Ever come across a situation, where you&#8217;d like to check all tables in a database and have them all repaired and optimized? My guess is yes.</p>
<p>In case you didn&#8217;t know, there is a helpful MySQL utility called mysqlcheck, available as of version 3.23.38. It does exactly what we need.</p>
<p>To check all tables in all databases for corruption and errors and also fix them in one go, this is your command:</p>
<p><span style="color: #003300;"><em><span style="color: #008000;">mysqlcheck -u username -p password  &#8211;check &#8211;optimize &#8211;auto-repair &#8211;all-databases</span></em></span></p>
<p>mysqlcheck executes statements like CHECK TABLE, REPAIR TABLE, ANALYZE TABLE, and OPTIMIZE TABLE and chooses the best statements for any given operation and storage engine.</p>
<p>Note that the operations complete a lot faster if you can afford to to disable any external services, especially if your database is large.</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/web-development/mysql-how-to-analyze-repair-and-optimize-all-tables/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install MySQL Server, PHP and Apache on a Mac</title>
		<link>http://articles.itecsoftware.com/web-development/how-to-install-mysql-server-php-and-apache-on-a-mac</link>
		<comments>http://articles.itecsoftware.com/web-development/how-to-install-mysql-server-php-and-apache-on-a-mac#comments</comments>
		<pubDate>Sat, 24 Oct 2009 19:39:50 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=301</guid>
		<description><![CDATA[These instructions lead you thru the installation of the latest LAMP Stack on MacOS X Snow Leopard.
1 &#8211; Download the installation image from MySQL website here. Then double-click to mount and open the disk image.
2 &#8211; Install MySQL Server by double clicking the package &#8220;mysql-5.1.*****.pkg&#8221; and follow the menu, accepting the default values, unless you [...]]]></description>
			<content:encoded><![CDATA[<p>These instructions lead you thru the installation of the latest LAMP Stack on MacOS X Snow Leopard.</p>
<p>1 &#8211; Download the installation image from MySQL website <a href="http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg" target="_blank">here</a>. Then double-click to mount and open the disk image.</p>
<p>2 &#8211; Install MySQL Server by double clicking the package &#8220;mysql-5.1.*****.pkg&#8221; and follow the menu, accepting the default values, unless you want to change something and know exactly what you&#8217;re doing.</p>
<p>3 &#8211; Install MySQL Startup Item by double-clicking the package &#8220;MySQLStartupitem.pkg&#8221; and follow the menu.</p>
<p>4 &#8211; Install MySQL Preference Pane by double-clicking the file &#8220;MySQL.prefPane&#8221; and follow the menu. This item will simplify the management of your SQL Server. You can now use the &#8220;System Preferences&#8221; panel to start and stop the database server.</p>
<p>5 &#8211; Enable the php module in your apache config file. You might know that Snow Leopard already ships with Apache 2.2 and PHP 5.3, but it needs a couple of tweaks to make it work smoothly. So, open /etc/apache2/httpd.conf and search for &#8220;php5_module&#8221;. Remove the comment (#) in front of the line, save and close the file, then restart apache (sudo apachectl restart)</p>
<p><span id="more-301"></span></p>
<p>6 &#8211; Testing Apache/PHP. Let&#8217;s create an info file so we know what we got. Navigate to /Library/WebServer/Documents and create a file called phpinfo.php. Put the following line into the file, save and close. &#8220;&lt;?php phpinfo(); ?&gt;&#8221;. Now open your favorite browser and hit it (http://localhost/phpinfo.php). You should see a page like the one below, which shows you configuration details, modules enabled and other useful information.</p>
<p><img class="size-medium wp-image-307  alignleft" style="margin: 10px;" title="php-info-page" src="http://articles.itecsoftware.com/wp-content/uploads/2009/10/php-info-page-300x195.png" alt="PHP Info Page" width="300" height="195" /></p>
<p>7 &#8211; There is no php.ini out of the box (as you may have discovered by looking at the phpinfo page), but there is a sample file called &#8220;php.ini.default&#8221; which we&#8217;re going to use. Copy this file and save it as php.ini.</p>
<p>8 &#8211; Set the default time zone. As PHP 5.3 requires the timezone to be set, let&#8217;s do this inside php.ini, so we don&#8217;t have to worry about it anymore. You can always override it in your application&#8217;s bootstrap, if needed. Open /etc/php.ini and search for &#8220;[Date]&#8220;. Uncomment the line &#8220;date.timezone = &#8221; and add your timezone. Check the <a href="http://www.php.net/manual/en/timezones.php" target="_blank">php manual</a> for acceptable values. (example: date.timezone = &#8216;America/Los Angeles&#8217;)</p>
<p>And that&#8217;s it. You should now have a fully functional LAMP stack with Apache, PHP and MySQL server.</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/web-development/how-to-install-mysql-server-php-and-apache-on-a-mac/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing true-type (ttf) Fonts in Ubuntu</title>
		<link>http://articles.itecsoftware.com/web-development/installing-true-type-ttf-fonts-in-ubuntu</link>
		<comments>http://articles.itecsoftware.com/web-development/installing-true-type-ttf-fonts-in-ubuntu#comments</comments>
		<pubDate>Wed, 14 Oct 2009 15:24:16 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Useful Stuff]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[true-type]]></category>
		<category><![CDATA[ttf]]></category>
		<category><![CDATA[ttf in ubuntu]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=294</guid>
		<description><![CDATA[Installing true-type fonts in Ubuntu is an easy task. With literally thousands of free fonts available on the Internet, (from sites such as 1001 Free Fonts or DaFont), who could resist to add that extra spice to their documents or websites.
Ready? Here we go!
First, find and download your desired fonts into ~/Downloads/fonts. You may have [...]]]></description>
			<content:encoded><![CDATA[<p>Installing true-type fonts in Ubuntu is an easy task. With literally thousands of free fonts available on the Internet, (from sites such as <a href="http://www.1001freefonts.com" target="_blank">1001 Free Fonts</a> or <a href="http://www.dafont.com/" target="_blank">DaFont</a>), who could resist to add that extra spice to their documents or websites.</p>
<p>Ready? Here we go!</p>
<p>First, find and download your desired fonts into ~/Downloads/fonts. You may have to create that directory first. Then extract them and copy to the system fonts directory as follows:</p>
<pre style="margin: 0px; padding: 6px; overflow: auto; background-color: #ffffff; width: 640px; height: 146px; text-align: left;" dir="ltr"><span style="color: #003300;"><em><span style="color: #008000;">cd /usr/share/fonts/truetype
sudo mkdir customFonts
cd customFonts
sudo cp ~/Downloads/fonts/*.ttf .
sudo chown root.root *.ttf
sudo mkfontdir
cd ..
fc-cache</span></em></span></pre>
<p>And that&#8217;s it. If you had your favourite graphics program open during this process, you&#8217;ll likely need to restart it to see the added fonts.<br />
Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/web-development/installing-true-type-ttf-fonts-in-ubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to recover a lost Linux root password</title>
		<link>http://articles.itecsoftware.com/linux/how-to-recover-lost-linux-root-password</link>
		<comments>http://articles.itecsoftware.com/linux/how-to-recover-lost-linux-root-password#comments</comments>
		<pubDate>Sun, 11 Oct 2009 17:49:10 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Useful Stuff]]></category>
		<category><![CDATA[forgot root password]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[recover password]]></category>
		<category><![CDATA[root password]]></category>
		<category><![CDATA[single-user mode]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=286</guid>
		<description><![CDATA[Forgot your root password? Nice going. What now? Reinstall the machine from ground up? Sadly enough, I&#8217;ve seen this happening all too often while it&#8217;s surprisingly easy to change the password knowing the correct procedure. While this doesn&#8217;t work in all cases (like if you secured your machine with a GRUB password and forgot that [...]]]></description>
			<content:encoded><![CDATA[<p>Forgot your root password? Nice going. What now? Reinstall the machine from ground up? Sadly enough, I&#8217;ve seen this happening all too often while it&#8217;s surprisingly easy to change the password knowing the correct procedure. While this doesn&#8217;t work in all cases (like if you secured your machine with a GRUB password and forgot that as well), but here&#8217;s the procedure in case of a CentOS Linux machine.</p>
<p>Start off by rebooting your system. At the GRUB boot loader screen, move the highlighted entry with the arrow keys to interrupt the boot process. While the current boot entry is highlighted, press <strong>E</strong> and you can edit the kernel line.</p>
<div id="attachment_289" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-289" title="Grub boot loader screen" src="http://articles.itecsoftware.com/wp-content/uploads/2009/10/grub-boot-loader-screen-300x223.jpg" alt="Grub boot loader screen" width="300" height="223" /><p class="wp-caption-text">Grub boot loader screen</p></div>
<p>Use the arrow key to highlight the line that starts with <code>kernel</code>, and press <strong>E</strong> to edit the kernel parameters. When you get to the screen below, append  the number <strong><code>1</code></strong> at the end of the line. This will enable you to boot into <em>single-user mode</em>.</p>
<div id="attachment_290" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-290" title="Edit GRUB boot loader entry" src="http://articles.itecsoftware.com/wp-content/uploads/2009/10/edit-grub-boot-loader-kernel-entry-300x225.jpg" alt="Edit GRUB boot loader entry" width="300" height="225" /><p class="wp-caption-text">Edit GRUB boot loader entry</p></div>
<p>Next press <strong>Enter</strong>, then <strong>B</strong>, and the kernel will boot up into <em> single-user</em> mode. Once there you can run the  <code>passwd</code> command, changing the password for user root:</p>
<p><code> prod-093# passwd<br />
New UNIX password:<br />
Retype new UNIX password:<br />
passwd: all authentication tokens updated successfully </code></p>
<p>Next time you boot up, use your newly created password to login.</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/linux/how-to-recover-lost-linux-root-password/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 (Karmic Koala) beta review</title>
		<link>http://articles.itecsoftware.com/linux/ubuntu-9-10-karmic-koala-beta-review</link>
		<comments>http://articles.itecsoftware.com/linux/ubuntu-9-10-karmic-koala-beta-review#comments</comments>
		<pubDate>Thu, 01 Oct 2009 19:49:12 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[ubuntu 9.10]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=279</guid>
		<description><![CDATA[It&#8217;s that season again when as usual, Fedora and Ubuntu are prepping up for new releases, with the Ubuntu crew having already released the first beta of Ubuntu 9.10, dubbed Karmic Koala. Although is only a beta release and still needs a bit of polish, there&#8217;s plenty to love.
Earlier this year, Canonical announced plans to [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s that season again when as usual, Fedora and Ubuntu are prepping up for new releases, with the Ubuntu crew having already released the first beta of Ubuntu 9.10, dubbed Karmic Koala. Although is only a beta release and still needs a bit of polish, there&#8217;s plenty to love.</p>
<p>Earlier this year, Canonical announced plans to improve the boot experience, the goal being to get the system up and running smoother and much faster. And Karmic Koala doesn&#8217;t disappoint, but the eventual goal of a 10-second startup time will have to wait until Ubuntu 10.04 is released in 2010.</p>
<p>The Ubuntu One client software, part of  the <a href="http://one.ubuntu.com/">Ubuntu One</a> cloud storage tools, is designed to give you a simple way to backup, synchronize and share files over the web. Ubuntu One offers 2GB of free storage, and a 10GB option sets you back $10/month. Ubuntu One also offers public shared folders that other Ubuntu users can access natively from their PC, while non-Ubuntu users can access them via web browser.</p>
<p>Pidgin messaging client has been replaced with Empathy, something other GNOME distros have done as well. But Empathy isn&#8217;t just a new Instant Messaging client. It sports a much-improved framework known as Telepathy. More than just a Pidgin replacement, Telepathy offers video-chat and VOIP support, two things that aren&#8217;t even on Pidgin&#8217;s roadmap.</p>
<p>If you want to give this new beta release a spin yourself, download is available <a href="http://www.ubuntu.com/testing/karmic/beta" target="_blank">here</a>. To upgrade from your existing 9.04 version, press &#8220;CTL+F2&#8243;, then type &#8220;update-manager -d&#8221;<em><span style="color: #003300;"></span></em>, hit enter and follow the instructions.</p>
]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/linux/ubuntu-9-10-karmic-koala-beta-review/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
