<?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"
	>

<channel>
	<title>de</title>
	<atom:link href="http://duivesteyn.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://duivesteyn.net</link>
	<description>programming &#124; engineering &#124; automation</description>
	<pubDate>Sun, 10 Aug 2008 10:07:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Joomla Joomlart 1.0.xx WYSIWYG editor not loading</title>
		<link>http://duivesteyn.net/2008/joomla-joomlart-10xx-wysiwyg-editor-not-loading/</link>
		<comments>http://duivesteyn.net/2008/joomla-joomlart-10xx-wysiwyg-editor-not-loading/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 08:21:59 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://duivesteyn.net/2008/joomla-joomlart-10xx-wysiwyg-editor-not-loading/</guid>
		<description><![CDATA[
Code:
&#60;?php if ( $my-&#62;id ) { initEditor(); } ?&#62;
&#60;/head&#62;

]]></description>
			<content:encoded><![CDATA[<p><span style="color: #2d3542; font-family: arial; font-size: 12px;"></p>
<div class="smallfont" style="color: #2d3542; font-size: 12px; margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="background-image: url(http://www.joomlart.com/forums/images/joomla/line.gif); background-repeat: repeat-x; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: #f7f7f7; width: 640px; height: 50px; text-align: left; overflow-x: auto; overflow-y: auto; background-position: 0% 0%; padding: 6px; margin: 0px; border: 1px inset initial;" dir="ltr">&lt;?php if ( $my-&gt;id ) { initEditor(); } ?&gt;
&lt;/head&gt;</pre>
<p></span></p>
]]></content:encoded>
			<wfw:commentRss>http://duivesteyn.net/2008/joomla-joomlart-10xx-wysiwyg-editor-not-loading/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fix Colours in Mac OS X Terminal</title>
		<link>http://duivesteyn.net/2008/fix-colours-in-mac-os-x-terminal/</link>
		<comments>http://duivesteyn.net/2008/fix-colours-in-mac-os-x-terminal/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 04:50:22 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://duivesteyn.net/2008/fix-colours-in-mac-os-x-terminal/</guid>
		<description><![CDATA[just edit (or create the file) ~/.bash_profile, and enter the follwing line:
alias ls=&#8221;ls -G&#8221;
use nano/textmate, or vi
&#160;

]]></description>
			<content:encoded><![CDATA[<p>just edit (or create the file) ~/.bash_profile, and enter the follwing line:</p>
<p><span style="color: #333333; font-family: -webkit-monospace; font-size: 11px; line-height: 20px;">alias ls=&#8221;ls -G&#8221;</span></p>
<p>use nano/textmate, or vi</p>
<p>&nbsp;</p>
<p><a href="../../../"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://duivesteyn.net/2008/fix-colours-in-mac-os-x-terminal/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SSH Authorize</title>
		<link>http://duivesteyn.net/2008/ssh-authorize/</link>
		<comments>http://duivesteyn.net/2008/ssh-authorize/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 11:03:39 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://duivesteyn.net/2008/ssh-authorize/</guid>
		<description><![CDATA[scp ~/.ssh/id_dsa.pub username@arvo.suso.org:.ssh/authorized_keys
]]></description>
			<content:encoded><![CDATA[<p>scp ~/.ssh/id_dsa.pub username@arvo.suso.org:.ssh/authorized_keys</p>
]]></content:encoded>
			<wfw:commentRss>http://duivesteyn.net/2008/ssh-authorize/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mac edit crontab with nano (crontab -e)</title>
		<link>http://duivesteyn.net/2008/mac-edit-crontab-with-nano-crontab-e/</link>
		<comments>http://duivesteyn.net/2008/mac-edit-crontab-with-nano-crontab-e/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 10:35:08 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://duivesteyn.net/2008/mac-edit-crontab-with-nano-crontab-e/</guid>
		<description><![CDATA[Just run the code:
export EDITOR=nano
then its as per normal,
crontab -e
]]></description>
			<content:encoded><![CDATA[<p>Just run the code:<br />
export EDITOR=nano</p>
<p>then its as per normal,<br />
crontab -e</p>
]]></content:encoded>
			<wfw:commentRss>http://duivesteyn.net/2008/mac-edit-crontab-with-nano-crontab-e/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CPanel - Where is the mysql Folder</title>
		<link>http://duivesteyn.net/2008/cpanel-where-is-the-mysql-folder/</link>
		<comments>http://duivesteyn.net/2008/cpanel-where-is-the-mysql-folder/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 10:02:40 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://duivesteyn.net/2008/cpanel-where-is-the-mysql-folder/</guid>
		<description><![CDATA[The mysql folder on cpanel (WHM) servers can be found by using the command:
find / -name &#8220;mysql&#8221;
&#160;
on my cpanel whm vps server I found it in: /var/lib/mysql/

]]></description>
			<content:encoded><![CDATA[<p>The mysql folder on cpanel (WHM) servers can be found by using the command:</p>
<p>find / -name &#8220;mysql&#8221;</p>
<p>&nbsp;</p>
<p>on my cpanel whm vps server I found it in: /var/lib/mysql/</p>
<p><a href="../../../"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://duivesteyn.net/2008/cpanel-where-is-the-mysql-folder/feed/</wfw:commentRss>
		</item>
		<item>
		<title>LIfe Automation - Life should be simple</title>
		<link>http://duivesteyn.net/2008/life-automation-life-should-be-simple/</link>
		<comments>http://duivesteyn.net/2008/life-automation-life-should-be-simple/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 11:01:24 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://duivesteyn.net/2008/life-automation-life-should-be-simple/</guid>
		<description><![CDATA[THis rocks, australia needs more of this!
Jott&#8482; - Official Site 
]]></description>
			<content:encoded><![CDATA[<p>THis rocks, australia needs more of this!</p>
<p><a href="http://jott.com/">Jott&trade; - Official Site </a></p>
]]></content:encoded>
			<wfw:commentRss>http://duivesteyn.net/2008/life-automation-life-should-be-simple/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Remove X-cart Footer</title>
		<link>http://duivesteyn.net/2008/remove-x-cart-footer/</link>
		<comments>http://duivesteyn.net/2008/remove-x-cart-footer/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 07:39:56 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://duivesteyn.net/2008/remove-x-cart-footer/</guid>
		<description><![CDATA[Removing or changing &#8220;Powered by X-Cart&#8221; logo
To do so, you should modify skin1/main/prnotice.tpl.
]]></description>
			<content:encoded><![CDATA[<p>Removing or changing &#8220;Powered by X-Cart&#8221; logo</p>
<p>To do so, you should modify skin1/main/prnotice.tpl.</p>
]]></content:encoded>
			<wfw:commentRss>http://duivesteyn.net/2008/remove-x-cart-footer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Add Sitemap To robots.txt For Autodiscovery</title>
		<link>http://duivesteyn.net/2008/add-sitemap-to-robotstxt-for-autodiscovery/</link>
		<comments>http://duivesteyn.net/2008/add-sitemap-to-robotstxt-for-autodiscovery/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 07:33:32 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://duivesteyn.net/2008/add-sitemap-to-robotstxt-for-autodiscovery/</guid>
		<description><![CDATA[All search crawlers recognize robots.txt, so it seemed like a good idea to use that mechanism to allow webmasters to share their Sitemaps. You agreed and encouraged us to allow robots.txt discovery of Sitemaps on our suggestion board. We took the idea to Google and Microsoft and are happy to announce today that you can [...]]]></description>
			<content:encoded><![CDATA[<p>All search crawlers recognize robots.txt, so it seemed like a good idea to use that mechanism to allow webmasters to share their Sitemaps. You agreed and encouraged us to allow robots.txt discovery of Sitemaps on our suggestion board. We took the idea to Google and Microsoft and are happy to announce today that you can now find your sitemaps in a uniform way across all participating engines. To do this, simply add the following line to your robots.txt file:  Sitemap: http://www.example.tld/sitemap.xml</p>
]]></content:encoded>
			<wfw:commentRss>http://duivesteyn.net/2008/add-sitemap-to-robotstxt-for-autodiscovery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Amazon s3 backup for web server files and SQL using bash</title>
		<link>http://duivesteyn.net/2008/amazon-s3-backup-for-webserver-public_html-sql-bash/</link>
		<comments>http://duivesteyn.net/2008/amazon-s3-backup-for-webserver-public_html-sql-bash/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 07:38:27 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[amazon]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[bash]]></category>

		<category><![CDATA[cpanel]]></category>

		<category><![CDATA[s3]]></category>

		<guid isPermaLink="false">http://duivesteyn.net/?p=94</guid>
		<description><![CDATA[I needed a solid backup method for my clients websites, where I wanted to improve from the previous method of backing up to a separate host in the US Hostmonster. Hostmonster expires in 80 days, so why renew for $100+/year just to house a few GB of client backups.
I wanted to use the Amazon S3 service for [...]]]></description>
			<content:encoded><![CDATA[<p>I needed a solid backup method for my clients websites, where I wanted to improve from the previous method of backing up to a separate host in the US Hostmonster. Hostmonster expires in 80 days, so why renew for $100+/year just to house a few GB of client backups.</p>
<p>I wanted to use the Amazon S3 service for my backups with an amazing reliability and a low monthly cost, so I  went ahead crawling the web for bash scripts that would suit my situation. The one I liked the most was <a href="http://www.bnee.com/2007/10/automatic-wordpress-backups-to-amazon-s3/">Here</a>, but I have adapted it to suit what I want.</p>
<p>Project is now sponsored at sourceforge at http://sourceforge.net/projects/des3bashwebsite/  </p>
<p><strong style="font-weight: bold;">My Requirements:</strong></p>
<p><strong>Environment</strong>: Redhat Cpanel X | WHM Server (VPS and shared - both)<br />
<strong> Language</strong>: BASH<br />
<strong> Automation</strong>: Cron Script <br />
<strong> Files</strong>: public_html directory and linked mysql database<br />
<strong> Desired Output</strong>:  A single blob housing the www files and the sql database on my s3<br />
<strong> Other</strong>: No archives left on server <br />
<strong>Frequency</strong>: Weekly or Monthly</p>
<p>I wanted to improve on the above script by being compatible with CPanel, include the SQL data for the website files, tar&#8217;ing both the www files and the sql files into one blob, and making the final filename more descriptive about the site. I want to use this script for a large number of websites that will all backup into a single bucket, so the file name was to be of the type: url-YYYYMMDD.tar.gz as to easily distinguish between backups.</p>
<p>This was to be a single dump of the whole website, and with filesize not an issue this is ideal towards the websites I create for clients.</p>
<p><strong>1. Setup the File Structure</strong></p>
<p>All my sites reside on separate cpanel accounts where the common file structure is:</p>
<blockquote><p>/home/$USER/ (home)<br />
/home/$USER/backup/    (website backup folder) <br />
/home/$USER/public_html/  (website files here)</p></blockquote>
<p>Setup the new base structure as </p>
<blockquote><p>/home/$USER/<br />
/home/$USER/s3/<br />
/home/$USER/backup/    <br />
/home/$USER/backup/sql/<br />
/home/$USER/public_html/ </p></blockquote>
<p><strong>2. Add Files</strong></p>
<p>copy the de-s3-web-backup.sh file into /home/$user/backup/ and set permissions as 760<br />
copy the s3-bash files into /home/$USER/s3 and set permissions 760 for all</p>
<p><strong>3. Create Key file</strong></p>
<p>Paste your amazon aws secret key into a text file and name it s3.key, and save in /home/$USER/s3/s3.key with permissions 760</p>
<p><strong>4. Create a new s3 Bucket</strong></p>
<p>Create a new amazon s3 for all your new downloads. <a href="http://www.rjonna.com/ext/s3fox.php">S3 Firefox Organizer </a>is great for this.</p>
<p><strong>5. Get the Script</strong></p>
<p>Download the script (from below) and upload it to your webserver in the /backup/ folder created above. Make sure the file privileges are 760. If you have a different file scheme, don&#8217;t put this in your public_html file </p>
<p><strong>6. Customise Script</strong></p>
<p>You need to input your server parameters into the script in order for it to run.</p>
<p><strong>AMAZONID</strong> is your amazon identification key<br />
<strong>BUCKET</strong> is your amazon aws s3 bucket<br />
<strong>SITE</strong> is a quick description of your website: example duivesteyn.net<br />
<strong>USER</strong> is the name of the user account. In CPanel this is your username<br />
<strong>mysqlusername</strong> is the MYSQL username for the website you are backing up<br />
<strong>mysqlpassword</strong> is your MYSQL password for the above username<br />
<strong>databases</strong> is the list of databases you are backing up example: &#8220;main&#8221; or &#8220;main1 main2&#8243; for 2 databases</p>
<p><strong>7. Add to cron</strong></p>
<p>Schedule the task to run automatically through cron. This is also available in your websites CPanel.<br />
Full Backup recommended weekly, and SQL backup recommended nightly.</p>
<blockquote><p>0 0 * * * sh /home/USER/de-website-backup.sh </p></blockquote>
<p>And thats it. be sure to test it by running it in a terminal first, and remember to checkup on your bucket from time to time.</p>
<p><strong>Download Here</strong> (GPL)</p>
<p>Version 1.01</p>
<p>https://sourceforge.net/projects/des3bashwebsite/</p>
<p> <br />
References: <a href="http://www.bnee.com/2007/10/automatic-wordpress-backups-to-amazon-s3/">Bnee.com</a> <a href="http://code.google.com/p/s3-bash/">s3-bash</a></p>
]]></content:encoded>
			<wfw:commentRss>http://duivesteyn.net/2008/amazon-s3-backup-for-webserver-public_html-sql-bash/feed/</wfw:commentRss>
		</item>
		<item>
		<title>duivesteyn.com.au nameservers</title>
		<link>http://duivesteyn.net/2008/duivesteyncomau-nameservers/</link>
		<comments>http://duivesteyn.net/2008/duivesteyncomau-nameservers/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 04:14:38 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://duivesteyn.net/2008/duivesteyncomau-nameservers/</guid>
		<description><![CDATA[ns1.duivesteyn.prodns.net.au&#160;(125.214.65.30)ns2.duivesteyn.prodns.net.au&#160;(125.214.67.202)
]]></description>
			<content:encoded><![CDATA[<p><span style="color: #551a8b;"><span style="color: #000000; border-collapse: collapse; font-family: arial; font-size: 13px;"><a href="http://ns1.duivesteyn.prodns.net.au/" target="_blank">ns1.duivesteyn.prodns.net.au</a>&nbsp;(<a href="http://125.214.65.30/" target="_blank">125.214.65.30</a>)<br /><a href="http://ns2.duivesteyn.prodns.net.au/" target="_blank">ns2.duivesteyn.prodns.net.au</a>&nbsp;(<a href="http://125.214.67.202/" target="_blank">125.214.67.202</a>)</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://duivesteyn.net/2008/duivesteyncomau-nameservers/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
