<?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>XPC Design &#187; Tech</title>
	<atom:link href="http://www.xpcdesign.com/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xpcdesign.com</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2012 02:55:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Moved your Magento install, admin section broken</title>
		<link>http://www.xpcdesign.com/2010/12/moved-your-magento-install-admin-section-broken/</link>
		<comments>http://www.xpcdesign.com/2010/12/moved-your-magento-install-admin-section-broken/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 08:06:07 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[magento]]></category>
		<guid isPermaLink="false">http://www.xpcdesign.com/?p=508</guid>
		<description><![CDATA[If you&#8217;ve moved your Magento install to another folder and assume you&#8217;ve covered all your bases, but for some reason the admin section just won&#8217;t ]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve moved your Magento install to another folder and assume you&#8217;ve covered all your bases, but for some reason the admin section just won&#8217;t work, then I have a fix for you. Specifically if you can log into the admin section, but once you click on any link it gives you an error.<span id="more-508"></span></p>
<p>My first suggestion would be to enable error logs first to see what the error is. Usually this can be done by going to the /errors folder and renaming local.xml.sample to local.xml. Make sure you return it to its original state when you&#8217;re done due to security reasons. The error page should give a full print out of what&#8217;s wrong.</p>
<p>If you see &#8220;Could not determine temp directory, please specify a cache_dir manually&#8221;</p>
<ol>
<li>Find and edit this file: /lib/Zend/Cache/Backend/File.php</li>
<li>Find the &#8216;cache_dir&#8217; setting.</li>
<li>Modify it so it looks like: &#8216;cache_dir&#8217; =&gt; <strong>&#8216;var/tmp&#8217;</strong>,</li>
</ol>
<p><em>Credit to <a href="http://screencastworld.com/2010/04/articles/magento-commerce-index-manager-how-to-fix-could-not-determine-temp-directory-please-specify-a-cache_dir-manually">ScreencastWorld</a> for pointing me in the right direction.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xpcdesign.com/2010/12/moved-your-magento-install-admin-section-broken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make More Room in Google Calendar for Automatically Updating iCal Feeds</title>
		<link>http://www.xpcdesign.com/2010/11/make-google-calendar-look-much-nicer/</link>
		<comments>http://www.xpcdesign.com/2010/11/make-google-calendar-look-much-nicer/#comments</comments>
		<pubDate>Sat, 27 Nov 2010 18:32:06 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[google calendar]]></category>
		<category><![CDATA[ical]]></category>
		<guid isPermaLink="false">http://www.xpcdesign.com/?p=501</guid>
		<description><![CDATA[Go to your calendar settings and set your 4 day custom calendar to either 2 or 3 weeks depending on how much space you need ]]></description>
			<content:encoded><![CDATA[<p>Go to your calendar settings and set your 4 day custom calendar to either 2 or 3 weeks depending on how much space you need per day. That calendar will morph into the style of the monthly calendar, just with more space for events.<span id="more-501"></span></p>
<p>Then you can use awesome custom iCal feeds that automatically update, like:</p>
<p>Movies &amp; TV:</p>
<ul>
<li><a href="webcal://www.kouzos.com/ical/DVD.ics">DVD Movies</a></li>
<li><a href="webcal://trulycertifiable.com/calendars/Blu-ray.ics ">Blu-ray Movies</a></li>
<li><a href="http://www.myepisodes.com/forum/viewtopic.php?t=280">Custom TV Show Schedule</a> This one is a bit more difficult and requires you to host a php script on a web server (<a href="http://www.xpcwebhosting.com/">which I can provide through my hosting company</a>), but it&#8217;s my favorite and the single most useful thing I&#8217;ve ever added to my Google Calendar (I used to track TV shows manually before).</li>
</ul>
<p>Games:</p>
<ul>
<li><a href="webcal://www.trulycertifiable.com/calendars/PC_Games.ics">PC Game Releases</a></li>
<li><a href="webcal://trulycertifiable.com/calendars/Sony_PS3.ics">Sony PS3 Game Releases</a></li>
<li><a href="webcal://trulycertifiable.com/calendars/Sony_PSP.ics">Sony PSP Game Releases</a></li>
<li><a href="webcal://www.trulycertifiable.com/calendars/Xbox_360.ics">Xbox 360 Game Releases</a></li>
<li><a href="webcal://trulycertifiable.com/calendars/Nintendo_Wii.ics">Nintendo Wii Game Releases</a></li>
<li><a href="webcal://www.trulycertifiable.com/calendars/Nintendo_DS.ics">Nintendo DS Game Releases</a></li>
</ul>
<p>Music:</p>
<ul>
<li>If you&#8217;re a last.fm user, they have iCal links for <a href="http://www.last.fm/home/eventrecs">recommended concerts and events in your area</a>, but their <a href="http://www.last.fm/home/newreleases">new album releases section</a> only has an RSS feed.</li>
</ul>
<p>Note: Google already has sports teams (with live score updates),  holidays, birthdays, etc. built right in to the &#8220;Add interesting  calendars&#8221; option.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xpcdesign.com/2010/11/make-google-calendar-look-much-nicer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios SSL/Connection Issue Solved</title>
		<link>http://www.xpcdesign.com/2010/05/nagios-sslconnection-issue-solved/</link>
		<comments>http://www.xpcdesign.com/2010/05/nagios-sslconnection-issue-solved/#comments</comments>
		<pubDate>Wed, 26 May 2010 19:33:31 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical Issues]]></category>
		<category><![CDATA[nagios]]></category>
		<guid isPermaLink="false">http://www.xpcdesign.com/?p=457</guid>
		<description><![CDATA[On /etc/nagios/nrpe.cfg, (remote server) comment out the following line: #allowed_hosts= They say it ignores this config line if you use xinet.d, but they are totally ]]></description>
			<content:encoded><![CDATA[<p>On /etc/nagios/nrpe.cfg, (remote server) comment out the following line:</p>
<ul>
<li>#allowed_hosts=</li>
</ul>
<p>They say it ignores this config line if you use xinet.d, but they are totally wrong. I used to get the &#8220;Host &lt;blah&gt; is not allowed to talk to us!&#8221; error because of this.</p>
<p>The command I used to test the connection (on the host server) is:</p>
<ul>
<li>/usr/lib/nagios/plugins/check_nrpe -H &lt;remote_server_ip&gt;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.xpcdesign.com/2010/05/nagios-sslconnection-issue-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Commands and Paths for a Plesk Server</title>
		<link>http://www.xpcdesign.com/2010/03/plesk-commands-and-paths/</link>
		<comments>http://www.xpcdesign.com/2010/03/plesk-commands-and-paths/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 03:37:54 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://www.xpcdesign.com/?p=411</guid>
		<description><![CDATA[This is my on-going cheat sheet of Linux commands for my Plesk server running on CentOS 5. I will keep updating this as I go ]]></description>
			<content:encoded><![CDATA[<p>This is my on-going cheat sheet of Linux commands for my Plesk server running on CentOS 5. I will keep updating this as I go on. Read more to see the list: <span id="more-411"></span></p>
<p><strong>Restarting Firewall</strong></p>
<ul>
<li>/etc/rc.d/init.d/psa-firewall stop</li>
<li>/etc/rc.d/init.d/psa-firewall start</li>
</ul>
<p><strong>Restart Plesk</strong></p>
<ul>
<li>/etc/init.d/psa stop</li>
<li>/etc/init.d/psa start</li>
</ul>
<p><strong>Restart MySQL</strong></p>
<ul>
<li>/etc/init.d/mysqld restart</li>
</ul>
<p><strong>Optimize all MySQL databases and tables</strong></p>
<ul>
<li>mysqlcheck -Ao -u username -ppassword <strong>(Optimize all)</strong></li>
<li>mysqlcheck -Aa -u username -ppassword <strong>(Just analyze)</strong></li>
<li>mysqlcheck -Aao -auto-repair -u username -ppassword<strong> (Analyze, repair and optimize)</strong></li>
</ul>
<p><strong>Run Logwatch</strong></p>
<ul>
<li>logwatch &#8211;print &#8211;detail High &#8211;archives &#8211;range All</li>
</ul>
<p><strong>Change Ownership</strong></p>
<ul>
<li>chown user:group /some/folder</li>
<li>chown user:group /some/folders-and-the-files-inside/*</li>
</ul>
<p><strong>Copy Contents of a Folder to Another</strong></p>
<ul>
<li>cp -r /some/folders-and-the-files-inside/* /some/folder</li>
</ul>
<p><strong>Check Sub-folder Sizes in the Current Folder<br />
</strong></p>
<ul>
<li>du -sh *</li>
</ul>
<p><strong>Check Total Size of a Folder<br />
</strong></p>
<ul>
<li>du -sh</li>
</ul>
<p><strong>List Partitions and Drive Space Usage</strong></p>
<ul>
<li>df -k</li>
</ul>
<p><strong>Splunk Commands</strong></p>
<ul>
<li>/opt/splunk/bin/splunk stop</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.xpcdesign.com/2010/03/plesk-commands-and-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMARTd Commands for SATA Drives</title>
		<link>http://www.xpcdesign.com/2010/02/smartd-output-for-sata-drives/</link>
		<comments>http://www.xpcdesign.com/2010/02/smartd-output-for-sata-drives/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 01:22:47 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[smartd]]></category>
		<guid isPermaLink="false">http://www.xpcdesign.com/?p=400</guid>
		<description><![CDATA[Show all SMART information smartctl -d ata -a /dev/sda1 -a = Show all SMART information for device. -d = Specify the device type to one of: ]]></description>
			<content:encoded><![CDATA[<p><strong>Show all SMART information</strong></p>
<div class="codesnip-container" >smartctl -d ata -a /dev/sda1</div>
<ul>
<li><strong>-a</strong> = Show all SMART information for device.</li>
<li><strong>-d</strong> = Specify the device type to one of: ata, scsi, marvell, 3ware (ata is selected above).</li>
<li><strong>/dev/sda1</strong> = The drive.</li>
</ul>
<p><strong>Run a self-test</strong></p>
<div class="codesnip-container" >smartctl -d ata -t offline /dev/sda1</div>
<div class="codesnip-container" >smartctl -d ata -t long /dev/sda1</div>
<p><strong>Output self-test and other log results</strong></p>
<ul>
<li>smartctl -d ata -l selftest /dev/sda1</li>
<li>smartctl -d ata -l error /dev/sda1</li>
<li>smartctl -d ata -l selective /dev/sda1</li>
<li>smartctl -d ata -l directory /dev/sda1</li>
</ul>
<p><strong>Output all options</strong></p>
<div class="codesnip-container" >smartctl -h</div>
<p><strong>Misc</strong></p>
<ul>
<li>Enable smart by editing /etc/smartd.conf file.</li>
<li>Smart Configuration file: /etc/smartd.conf</li>
<li>Start/Stop smart: /etc/init.d/smartd start | stop</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.xpcdesign.com/2010/02/smartd-output-for-sata-drives/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/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 14/31 queries in 0.015 seconds using disk: basic

Served from: www.xpcdesign.com @ 2012-02-05 01:54:51 -->
