<?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>Hardware Tutorials</title>
	<atom:link href="http://www.hardwaretutorials.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hardwaretutorials.com</link>
	<description>Tutorials on hardware, software, operating systems and more.</description>
	<lastBuildDate>Tue, 15 May 2012 13:01: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>Changing your timezone in Debian</title>
		<link>http://www.hardwaretutorials.com/2012/05/changing-your-timezone-in-debian/</link>
		<comments>http://www.hardwaretutorials.com/2012/05/changing-your-timezone-in-debian/#comments</comments>
		<pubDate>Tue, 15 May 2012 13:01:14 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[timezone]]></category>

		<guid isPermaLink="false">http://www.hardwaretutorials.com/?p=99</guid>
		<description><![CDATA[If you want to change your timezone on Debian, use the following command. dpkg-reconfigure tzdata]]></description>
			<content:encoded><![CDATA[<p>If you want to change your timezone on Debian, use the following command.</p>
<pre>dpkg-reconfigure tzdata</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hardwaretutorials.com/2012/05/changing-your-timezone-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manually update Awstats on cPanel</title>
		<link>http://www.hardwaretutorials.com/2012/05/manually-update-awstats-on-cpanel/</link>
		<comments>http://www.hardwaretutorials.com/2012/05/manually-update-awstats-on-cpanel/#comments</comments>
		<pubDate>Wed, 09 May 2012 12:03:07 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[awstats]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://www.hardwaretutorials.com/?p=93</guid>
		<description><![CDATA[Awstats is updated by cPanel once per day, but if you want to force a manual update, you can do so with the following command. /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -config=example.com -update]]></description>
			<content:encoded><![CDATA[<p>Awstats is updated by cPanel once per day, but if you want to force a manual update, you can do so with the following command.</p>
<pre>/usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -config=example.com -update</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hardwaretutorials.com/2012/05/manually-update-awstats-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing your SSH port</title>
		<link>http://www.hardwaretutorials.com/2012/05/changing-your-ssh-port/</link>
		<comments>http://www.hardwaretutorials.com/2012/05/changing-your-ssh-port/#comments</comments>
		<pubDate>Thu, 03 May 2012 11:59:00 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[port 22]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.hardwaretutorials.com/?p=90</guid>
		<description><![CDATA[If you want to change your SSH port to something a little less obvious, it&#8217;s easy to do. It&#8217;s debatable how much security it actually gives you, but it will certainly make you feel safer, and that is probably the most important thing. pico /etc/ssh/sshd_config I&#8217;m using pico in this example, but vim will work [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to change your SSH port to something a little less obvious, it&#8217;s easy to do. It&#8217;s debatable how much security it actually gives you, but it will certainly make you feel safer, and that is probably the most important thing.</p>
<pre>pico /etc/ssh/sshd_config</pre>
<p>I&#8217;m using pico in this example, but vim will work just as well. You should find a line which is commented out, specifying that the port is 22. This doesn&#8217;t need to be uncommented normally, as it defaults to port 22.</p>
<pre>#Port 22</pre>
<p>Just uncomment this and put a new port number in.</p>
<pre>Port 8473</pre>
<p>Now save the file and exit. Finally, restart SSH for it to take affect.</p>
<pre>/etc/rc.d/init.d/sshd restart</pre>
<p>Don&#8217;t forget, next time you SSH in you will need to use the new port number!</p>
<pre>ssh -p 8473 hostname</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hardwaretutorials.com/2012/05/changing-your-ssh-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating away from register globals</title>
		<link>http://www.hardwaretutorials.com/2012/04/migrating-away-from-register-globals/</link>
		<comments>http://www.hardwaretutorials.com/2012/04/migrating-away-from-register-globals/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 11:51:15 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[decprecation]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[register globals]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.hardwaretutorials.com/?p=87</guid>
		<description><![CDATA[If you are luckily enough to work in a Web 2.0 start up, you probably won&#8217;t have to deal with too much legacy code. But for the rest of us, we can often find ourselves working with code which can be even decades out of date. One of the big issues in PHP has been [...]]]></description>
			<content:encoded><![CDATA[<p>If you are luckily enough to work in a Web 2.0 start up, you probably won&#8217;t have to deal with too much legacy code. But for the rest of us, we can often find ourselves working with code which can be even decades out of date.</p>
<p>One of the big issues in PHP has been the deprecation of register globals. Of course, this happened quite a long time ago, because the idea of register globals was just plain stupid, but recent versions of PHP (5.3 onwards), will now throw a deprecation error.</p>
<p>So, we need to find a way to turn register globals off.</p>
<p>The end solution is of course to refactor the code so it doesn&#8217;t use register globals at all. Anything short of this is going to be a security nightmare, it&#8217;s like a ticking time bomb sitting on your server. But until then, there is a way you can emulate it in your PHP code while you work to get rid of it, allowing you to turn the register global settings off.</p>
<p>All you need is something like this in your code.</p>
<pre>foreach ($_REQUEST as $key => $val) {
	$$key = $val;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hardwaretutorials.com/2012/04/migrating-away-from-register-globals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Table is full MySQL error</title>
		<link>http://www.hardwaretutorials.com/2012/04/table-is-full-mysql-error/</link>
		<comments>http://www.hardwaretutorials.com/2012/04/table-is-full-mysql-error/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 11:47:38 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[storage engine]]></category>

		<guid isPermaLink="false">http://www.hardwaretutorials.com/?p=84</guid>
		<description><![CDATA[If you&#8217;re using MySQL&#8217;s MEMORY table storage engine for anything intensive, you may run into the following error. Table is full This means what it says &#8211; memory tables have a fixed size they are allowed to me, 16mb by default, and once they reach this size, MySQL will prevent you from inserting any more [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re using MySQL&#8217;s MEMORY table storage engine for anything intensive, you may run into the following error.</p>
<pre>Table is full</pre>
<p>This means what it says &#8211; memory tables have a fixed size they are allowed to me, 16mb by default, and once they reach this size, MySQL will prevent you from inserting any more data, to prevent the table from using too much memory.</p>
<p>If you run into this error, you can either increase the size in MySQL&#8217;s configuration, or you can switch to a disk based table engine such as Archive or InnoDB.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hardwaretutorials.com/2012/04/table-is-full-mysql-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using locate to search for files from the terminal</title>
		<link>http://www.hardwaretutorials.com/2012/04/using-locate-to-search-for-files-from-the-terminal/</link>
		<comments>http://www.hardwaretutorials.com/2012/04/using-locate-to-search-for-files-from-the-terminal/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 11:44:04 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[file search]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[locate]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.hardwaretutorials.com/?p=81</guid>
		<description><![CDATA[Need to locate a specific file somewhere on your system? Luckily, there is an appropriated named search tool which you can use to do that. It&#8217;s called locate and it&#8217;s very similar to file search in Windows file manager. Not all Linux installs come with locate, so you may need to install it. yum install [...]]]></description>
			<content:encoded><![CDATA[<p>Need to locate a specific file somewhere on your system? Luckily, there is an appropriated named search tool which you can use to do that. It&#8217;s called locate and it&#8217;s very similar to file search in Windows file manager.</p>
<p>Not all Linux installs come with locate, so you may need to install it.</p>
<pre>yum install locate</pre>
<p>Also, the first time you run it, it will need to build the database, so that will take a little longer. But once it is up and running, it is pretty fast. Simply use the command followed by a file name, or even just part of a file name, to get a list of all the files on your system that match.</p>
<pre>locate httpd.conf</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hardwaretutorials.com/2012/04/using-locate-to-search-for-files-from-the-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac VNC client location</title>
		<link>http://www.hardwaretutorials.com/2012/04/mac-vnc-client-location/</link>
		<comments>http://www.hardwaretutorials.com/2012/04/mac-vnc-client-location/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 11:39:52 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[vnc]]></category>
		<category><![CDATA[vnc client]]></category>
		<category><![CDATA[vnc viewing client]]></category>

		<guid isPermaLink="false">http://www.hardwaretutorials.com/?p=77</guid>
		<description><![CDATA[There are quite a few different VNC clients available for Mac, and most of them are, in my experience, pretty disappointing. And totally unnecessary, because OS X actually comes with a build in VNC viewing client which works fine. For some reason though, Apple have kept it pretty well hidden. Never fear though, because once [...]]]></description>
			<content:encoded><![CDATA[<p>There are quite a few different VNC clients available for Mac, and most of them are, in my experience, pretty disappointing. And totally unnecessary, because OS X actually comes with a build in VNC viewing client which works fine. For some reason though, Apple have kept it pretty well hidden.</p>
<p>Never fear though, because once you know the location, it&#8217;s easy to find and use.</p>
<pre>/System/Library/CoreServices/Screen Sharing.app</pre>
<p>It&#8217;s pretty simple, but then I&#8217;ve never found the need for all the extra crap a lot of the viewing clients come with &#8211; I just want to be able to control a remote computer!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hardwaretutorials.com/2012/04/mac-vnc-client-location/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox updater stuck in a loop</title>
		<link>http://www.hardwaretutorials.com/2012/04/firefox-updater-stuck-in-a-loop/</link>
		<comments>http://www.hardwaretutorials.com/2012/04/firefox-updater-stuck-in-a-loop/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 11:35:35 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[logitech]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[updating]]></category>
		<category><![CDATA[upgrading]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.hardwaretutorials.com/?p=73</guid>
		<description><![CDATA[From time to time, Firefox might try to update itself and get itself stuck an a loop where every time you try and open it, it tries to upgrade itself, fails, closes and then you have to try and open it again and the same thing happens. 95% of the time, this problem is caused [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time, Firefox might try to update itself and get itself stuck an a loop where every time you try and open it, it tries to upgrade itself, fails, closes and then you have to try and open it again and the same thing happens.</p>
<p>95% of the time, this problem is caused by Logitech webcam software.</p>
<p>I don&#8217;t know why, I don&#8217;t know how, but the problem has hit my system several times and every time after some googling, the suggestion to try and close my Logitech camera software comes up and as soon as I do, Firefox is able to upgrade itself and open fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hardwaretutorials.com/2012/04/firefox-updater-stuck-in-a-loop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Persistent sudo</title>
		<link>http://www.hardwaretutorials.com/2012/03/persistent-sudo/</link>
		<comments>http://www.hardwaretutorials.com/2012/03/persistent-sudo/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 11:32:57 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[administator]]></category>
		<category><![CDATA[persistent sudo]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[su]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[super user]]></category>

		<guid isPermaLink="false">http://www.hardwaretutorials.com/?p=70</guid>
		<description><![CDATA[Sometimes, you have a number of tasks to complete as an administrator and having to put sudo in front of every command just becomes annoying. Luckily, you can change into persistent sudo mode. sudo -i This will then prompt you for your password and once successfully entered, you will be transfered to the root user. [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes, you have a number of tasks to complete as an administrator and having to put sudo in front of every command just becomes annoying. Luckily, you can change into persistent sudo mode.</p>
<pre>sudo -i</pre>
<p>This will then prompt you for your password and once successfully entered, you will be transfered to the root user.</p>
<p>It is much like doing su, except that you are prompted for your own password, rather than the root account&#8217;s password.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hardwaretutorials.com/2012/03/persistent-sudo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>View disk space usage by directory in Linux</title>
		<link>http://www.hardwaretutorials.com/2012/03/view-disk-space-usage-by-directory-in-linux/</link>
		<comments>http://www.hardwaretutorials.com/2012/03/view-disk-space-usage-by-directory-in-linux/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 11:29:52 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[disk space]]></category>
		<category><![CDATA[disk usage]]></category>
		<category><![CDATA[du]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.hardwaretutorials.com/?p=67</guid>
		<description><![CDATA[If you need to get a break down of how much space each directory is using, you can do that using the du command. Using a few choice options it will produce a list of all directories in the current folders and how big they are. du -sch]]></description>
			<content:encoded><![CDATA[<p>If you need to get a break down of how much space each directory is using, you can do that using the du command. Using a few choice options it will produce a list of all directories in the current folders and how big they are.</p>
<pre>du -sch</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hardwaretutorials.com/2012/03/view-disk-space-usage-by-directory-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

