<?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>Tony Narlock &#187; Notes</title>
	<atom:link href="http://blog.skiquel.com/category/notes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.skiquel.com</link>
	<description>Living life in the cloud</description>
	<lastBuildDate>Sun, 06 Jun 2010 13:38:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Privacy tips for computer data and storage</title>
		<link>http://blog.skiquel.com/2010/03/privacy-tips-for-computer-data-and-storage/</link>
		<comments>http://blog.skiquel.com/2010/03/privacy-tips-for-computer-data-and-storage/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 01:54:15 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Computer Forensics]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[big brother]]></category>
		<category><![CDATA[ccleaner]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[cocktail]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[eraser]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[incognito]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[locally stored objects]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[secure deletion]]></category>
		<category><![CDATA[shred]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=507</guid>
		<description><![CDATA[Computer's are akin to personal black boxes. It records things without you consenting or knowing. A common folk would think they deleted a file, when it's merely be cleared from sight. Files aren't gone until they're overwritten. What's more, applications leave databases, caches, and other logfiles which are impossible to keep track of. You can [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-704" title="120px-System-lock-screen.svg" src="http://blog.skiquel.com/wp-content/uploads/2010/03/120px-System-lock-screen.svg_.png" alt="" width="120" height="120" />Computer's are akin to personal black boxes. It records things without you consenting or knowing. A common folk would think they deleted a file, when it's merely be cleared from sight. Files aren't gone until they're overwritten. What's more, applications leave databases, caches, and other logfiles which are impossible to keep track of.</p>
<p>You can help protect and maintain privacy of your data using various methods:</p>
<ol>
<li>Avoid creation of extraneous logs - Use privacy mode in your browsers, avoid making logs in the first place. Watch out, vendors are always finding new ways to sneak spyware into your PC.</li>
<li>Erase files securely - Overwrite data with scrambled junk, then delete.</li>
<li>Overwrite empty space - Inflate a file with zeroes or random junk to swallow up any remaining data.</li>
<li>Use light encryption for your Hard Disk or User folder - Using crypto will offer piece of mind if a laptop is lost or stolen.</li>
</ol>
<h2>Adobe Flash (cross-platform)</h2>
<p>(Formerly known as Macromedia Flash.)</p>
<h4>Delete flash cookies (Locally stored objects)</h4>
<p><a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html">Flash settings manager</a> will allow you to delete flash cookies.</p>
<h2>Mozilla Firefox (cross-platform)</h2>
<p><img class="alignright size-full wp-image-716" title="Mozilla Firefox" src="http://blog.skiquel.com/wp-content/uploads/2010/03/firefox-128.png" alt="" width="128" height="128" />Grab, Flashblock and BetterPrivacy.</p>
<h4>Locally Stored Objects</h4>
<p>Get <a href="https://addons.mozilla.org/en-US/firefox/addon/6623">BetterPrivacy</a>.</p>
<h4>Flash junk</h4>
<p>Grab <a href="https://addons.mozilla.org/en-US/firefox/addon/433">Flashblock</a>.</p>
<h4>Javascript</h4>
<p>Grab <a href="https://addons.mozilla.org/en-US/firefox/addon/722">NoScript</a>.</p>
<h4>Advertisements</h4>
<p>Grab <a href="https://addons.mozilla.org/en-US/firefox/addon/1865">Adblock Plus</a>.</p>
<h4>Launch Firefox by Privacy Mode by default</h4>
<p>Launch Firefox.</p>
<p>In the location bar, type about:config.</p>
<p>It will "void your warranty", click OK.</p>
<p>In "Filter", type "private" and hit enter. This will help filter all those config variables.</p>
<p>Change <code>browser.privatebrowsing.autostart</code> to <code>true</code>.</p>
<p>Change <code>browser.privatebrowsing.dont_prompt_on_enter</code> to <code>true</code>.</p>
<h2>Microsoft Windows</h2>
<h4>Internet Explorer 8 in Privacy Mode</h4>
<p>Right-click an Internet Explorer Icon. Properties.  Shortcut.  After target, add " -private". Apply, OK. Click the icon, IE should launch in InPrivate mode.</p>
<p>By right clicking the IE icon on your taskbar, you'll also have the "task" of starting IE in inprivate mode. See <a href="http://www.megaleecher.net/Private_Invisible_Browsing_Using_IE8_InPrivate_Mode">this</a> also.</p>
<p><img class="alignright size-full wp-image-709" title="windows" src="http://blog.skiquel.com/wp-content/uploads/2010/03/windows.png" alt="" width="128" height="128" /></p>
<h4>Use Chrome in Incognito mode.</h4>
<p>Go into your start menu, search "Chrome". Google Chrome will appear, right click. Go to properties, append (add to the end) <code>-incognito</code>.</p>
<p>Click the wrench icon, Go to Options. Click the "Privacy tab", Uncheck everything under <strong>privacy</strong>.</p>
<p>Your shortcut will look something like: <code>C:\Users\&lt;Your username&gt;\AppData\Local\Google\Chrome\Application\chrome.exe -incognito</code></p>
<p>Pin this new shortcut to your taskbar.</p>
<p>Also consider using a privacy-friendly version of Chromium, <a href="http://www.srware.net/en/software_srware_iron.phpn">SRWare Iron</a> has been getting a lot of attention lately.</p>
<h4>Shred documents</h4>
<p><img class="alignright size-full wp-image-706" title="Shred documents" src="http://blog.skiquel.com/wp-content/uploads/2010/03/120px-Edit-delete-2.svg_.png" alt="" width="120" height="120" />Download <a href="http://eraser.heidi.ie/">Eraser</a>. Install it. You will now be able to right-click your trash bin to secure delete those files.</p>
<p>Download <a href="http://www.ccleaner.com">Ccleaner</a>, go to "Options", Go to "Settings".  Change <strong>Secure Deletion</strong> to "Secure file deletion (Slower)" and choose <a href="http://www.dtic.mil/whs/directives/corres/html/522022m.htm">DOD 5220.22-M</a> (3 passes). Check everything except "Wipe free space", even your form histories, close your browsers, Analyze. Run cleaner.</p>
<h4>Wipe your free space</h4>
<p>In <a href="http://www.ccleaner.com">CCleaner</a>,  Every week or so, check "Wipe free space" then Run Cleaner.</p>
<h4>Encrypt your Hard Drive</h4>
<p><img class="alignright size-full wp-image-707" title="Hard drive Encryption" src="http://blog.skiquel.com/wp-content/uploads/2010/03/120px-Drive-harddisk.svg_.png" alt="" width="120" height="120" />In <a href="http://blog.skiquel.com/2009/12/10-plus-essential-applications-for-windows-7/">10+ useful applications for Windows 7</a> I recommended <a href="http://www.truecrypt.org">Truecrypt</a> as a free solution for HD encryption. This <a href="http://www.truecrypt.org/docs/?s=tutorial">How-to</a> can help.  With truecrypt you can create containers for your documents and even your whole OS. If you keep a laptop with anything personal or professional on your computer make this a common practice.</p>
<h2>Mac OS X</h2>
<p><img class="alignright size-full wp-image-711" title="Mac OS X" src="http://blog.skiquel.com/wp-content/uploads/2010/03/mac.png" alt="" width="128" height="128" /></p>
<h4>Chrome and Firefox</h4>
<p>Use the tips above the Windows section. Firefox will let you go into <code>about:config</code> and change those variables. <a href="http://www.coolgeex.com/start-google-chrome-in-incognito-mode/">CoolGeex.com</a> has a helpful post about making an incognito shortcut for Google Chrome.</p>
<h4>Delete Locally Stored Objects</h4>
<p>Download, install (Drag to Applications) and run <a href="http://machacks.tv/2009/01/27/flushapp-flash-cookie-removal-tool-for-os-x/">Flush.app</a>.</p>
<h4>Encrypt your HD</h4>
<p>Clear at least half of your hard drive space.</p>
<p>Go into System Preferences. Click Security. Enable Filevault.</p>
<p>Wait like 10 hours.</p>
<h4>Secure delete files</h4>
<p>Click a <strong>Finder</strong> Window.</p>
<p>Click File, click Secure Empty Trash.</p>
<p>Grab <a href="http://www.maintain.se/cocktail/index.php">Cocktail</a>. Drag it to your Applications folder (install) and open.</p>
<p>In <strong>Cocktail Preferences</strong>, choose to secure delete those files. Schedule it to run nightly and rotate/erase logs, clear browser caches, etc. If you're not open to shelling over a few cents to protect yourself, you can try <a href="http://www.titanium.free.fr/index_us.html">Onyx</a>.</p>
<h4>Wipe your freespace</h4>
<p>Open <strong>Disk Utility</strong>.</p>
<p>Choose your partition on the left. It may be named Macintosh Hard Drive.</p>
<p>Click the <strong>Erase</strong> tab.</p>
<p>Use <strong>Erase free space</strong> and run over it at least once. If you have more time, do more passes.</p>
<h2>Linux</h2>
<p><img class="alignright size-full wp-image-714" title="Linux" src="http://blog.skiquel.com/wp-content/uploads/2010/03/tux.gif" alt="" width="128" height="128" /></p>
<h4>Chrome and Firefox</h4>
<p>Use the tips above the Windows section. Firefox will let you go into about:config and change those variables.</p>
<p>If you use Google Chrome, open ~/.bashrc and append <code>alias chrome='google-chrome -incognito &amp;'</code>.  Run <code>source ~/.profile</code> or <code>source ~/.bashrc</code>. Now <code>chrome</code> will run <code>google-chrome</code> in incognito mode.</p>
<h4>Encrypt hard drive</h4>
<p>Fedora and Ubuntu all offer options on installation to encrypt your /home/ folder. Be sure to pay attention to your install wizard and encrypt them. <em>Remember your password</em>, the encryption is based upon it.</p>
<p>I don't want to go over encryption via pure command line because there is too much chance you can destroy your data if you make a mistake. If you google an article on this, just be sure to go into <code>/home</code> and copy <code>cp -r /home/yourusername /home/yourusernamebackup</code> so your data doesn't just die.</p>
<h4>Secure delete commands</h4>
<p><strong>Note:</strong> These commands are for experienced Linux users. Don't use these unless you can understand what the commands inside mean, or else it's simply too much risk.</p>
<p>Open your terminal of choice. Open .bashrc <code>vim</code> or <code>nano</code>.  <code>vim ~/.bashrc</code>.</p>
<p>Append this to the bottom of your .bashrc:<br />
<code><br />
alias deleteeverything='find . -type f -execdir shred -u '{}' \;'<br />
alias salttheearth='dd if=/dev/zero of=junkfile ; rm junkfile'<br />
alias fogettaboutit='shred -u ~/.bash_history'<br />
</code></p>
<p>Run <code>source ~/.profile</code> or <code>source ~/.bashrc</code>. Here is an overview of these commands:</p>
<p><code>deleteeverything</code> will <a href="http://www.gnu.org/software/coreutils/manual/html_node/shred-invocation.html">shred</a> files cursively then delete them. When you're done with this, type <code>rm -rf</code> because the <code>-u</code> flag in shred won't rm folders. <strong>This command works relative to the current directory your in</strong>. Thanks opentux from <a href="http://www.linuxforums.org/forum/misc/46693-how-shred-entire-directory-tree.html">LinuxForums</a>.</p>
<p><code>salttheearth</code> will erase free space by inflating a gigantic file with /dev/zero to fill up all remaining free space, then delete the file. It takes a while.  /dev/random can give you better security. Thanks ssd.eff.org.</p>
<p><code>fogettaboutit</code> will securely delete your .bash_history. When you're done with this, you can <code>exit</code> your term session.</p>
<p>In combo moves, I like to use <code>salttheearth &amp; fogettaboutit</code>.</p>
<h2>Safely parting with your old hard drive</h2>
<p>Don't sell people equipment with your hard drive data. Destroy it. Buy a cheap one. Find a computer geek friend to help with the hard drive. Go to best buy with your computer (which has your Windows license on a sticker) and ask them to install a windows from an on-hand OEM disc. You just gave someone a cleaner computer.</p>
<ol>
<li>Secure delete data - delete everything and fill the disk with 0's. <a href="http://www.killdisk.com/">Kill Disk</a> is a solution that lets you put the software onto an ISO or floppy to run at boot. Do at least a single run of random data. The more passes and more randomness, the longer it will take. Theoretically, more randomness and passes is more secure.</li>
<li>Physically destroy it - Get a <a href="http://en.wikipedia.org/wiki/Torx">Torx screw driver</a> set. This will help you unscrew the screws that hold the drive together. Many drives now have multiple levels of wafers. Get a hammer to break them. Sand them. Shatter them into a million pieces. Put orange juice and pancake syrup on them. Get creative, make an art project out of it, put the digital flakes into colored sand-filled bottles and sell them at Sea World. Put them in a dumpster. You are secure my friend.</li>
</ol>
<h2>Overkill</h2>
<p>Spybot Resident - Spybot resident prompts you everytime a registry alteration is made. This is annoying and unnecessary unless you know computers well enough to understand the warnings.</p>
<p>Norton and other chunky antiviruses - Norton is notorious with slowing and bogging down computers. In my <a href="http://blog.skiquel.com/2009/12/10-plus-essential-applications-for-windows-7/">Top 10 applications for Windows</a> I tip my hat to Nod32 for a light, effective and fast AV solution.</p>
<p>Too much encryption - Unless you're really paranoid, is too painstaking. Many encryption appliances simply use your password as a key to encrypt your user folder. Typical people only need very light encryption. However if you have very important data know that using a portable medium is <a href="http://www.google.com/hostednews/ap/article/ALeqM5gGAxjgJqHdDe_L7C3q7GtR-gs_EQD9EMLTFO0">not a good idea</a>, consider consulting professionals.</p>
<h2>Updates</h2>
<p>Monday May 17th, 2010 - Added Internet Explorer 8 InPrivate Mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2010/03/privacy-tips-for-computer-data-and-storage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Debugging and troubleshooting postfix</title>
		<link>http://blog.skiquel.com/2010/03/debugging-and-troubleshooting-postfix/</link>
		<comments>http://blog.skiquel.com/2010/03/debugging-and-troubleshooting-postfix/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 18:48:25 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Sysadmin Lunchbreak]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[exim4]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=734</guid>
		<description><![CDATA[Error: Postfix isn't working with mail() on PHP automatically. Common problem: You have exim or something else running. Solution: try lsof -i :25. If you intend on using postfix, kill the pid of the app, remove the package of exim or sendmail if you have it installed. See This postfix thread on Ubuntu Forums. Other [...]]]></description>
			<content:encoded><![CDATA[<p>Error: Postfix isn't working with <code>mail()</code> on PHP automatically.</p>
<p>Common problem: You have exim or something else running.</p>
<p>Solution:  try <code>lsof -i :25</code>. If you intend on using postfix, kill the pid of the app, remove the package of exim or sendmail if you have it installed. See <a href="http://ubuntuforums.org/showthread.php?t=342683">This postfix thread</a> on Ubuntu Forums.</p>
<hr/>
<p>Other issue: Postfix isn't working (miscellaneous)</p>
<p>Solution: <code>tail /var/log/maillog</code> or <code>tail /var/log/mail.err</code> (<a href="http://www.macosxhints.com/article.php?story=20040727144509713">source</a>)</p>
<p>Error: <code>fatal: open lock file /var/lib/postfix/master.lock: unable to set exclusive lock: Resource temporarily unavailable</code></p>
<p>You may have another copy of postfix still open. Use <code>lsof -i :25</code> to track down which process. <code>kill</code> the pid and <code>postfix reload</code>.</p>
<hr/>
<p>Error: <code>postfix set-permissions</code> returns<br />
<code>chown: cannot access `/usr/lib/postfix/dict_cdb.so': No such file or directory</code>.</p>
<p>May be by design, <a href="https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/274108">#274108</a> in ubuntu launchpad says this command doesn't necessarily mean something's wrong.</p>
<h4>Helpful resources</h4>
<p>Ubuntu handbook page: <a href="https://help.ubuntu.com/community/Postfix">https://help.ubuntu.com/community/Postfix</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2010/03/debugging-and-troubleshooting-postfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add your user groups to sudoers file</title>
		<link>http://blog.skiquel.com/2010/03/add-your-user-groups-to-sudoers-file/</link>
		<comments>http://blog.skiquel.com/2010/03/add-your-user-groups-to-sudoers-file/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 04:55:10 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Kubuntu]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[sudoers]]></category>
		<category><![CDATA[visudo]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=558</guid>
		<description><![CDATA[sudo allows system administrators to delegate authority to other users on a server. In this post, we will show how user groups can sudo. Sudo (su "do") allows a system administrator to delegate authority to give certain users (or groups of users) the ability to run some (or all) commands as root or another user [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gratisoft.us/sudo/">sudo</a> allows system administrators to delegate authority to other users on a server. In this post, we will show how user groups can sudo.</p>
<blockquote><p>Sudo (su "do") allows a system administrator to delegate authority to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while providing an audit trail of the commands and their arguments.</p></blockquote>
<p>Some users mistakenly attempt to add themselves to the <code>/etc/sudoers</code> file directly. This doesn't work. Use the command <code>visudo</code>.</p>
<p><code># Members of the admin group may gain root privileges<br />
%admin ALL=(ALL) ALL</code></p>
<p>You can have add a user called penguin to <em>users</em>: <code>useradd -G users penguin</code></p>
<p>Then, you can add <strong>penguin</strong> to the <em>admin</em> admin group. <code>usermod -a -G admin penguin</code></p>
<p>Now penguin can <code>sudo</code>.</p>
<p>You can also give users ability to <code>sudo</code> without a password (for cron-type stuff).</p>
<p>Type <code>visudo</code> in terminal.</p>
<p>Uncomment <code># %sudo ALL=NOPASSWD: ALL</code> by removing the <code>#</code>, or add <code>%sudo ALL=NOPASSWD: ALL</code></p>
<p>Now add <strong>penguin </strong> to <em>sudo</em> group.</p>
<p><code>usermod -a -G sudo penguin</code></p>
<p>For more information on <code>sudo</code>, you can see the manual pages at <code>man sudo</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2010/03/add-your-user-groups-to-sudoers-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove services (mpd) from system startup in Linux</title>
		<link>http://blog.skiquel.com/2010/03/remove-services-mpd-from-system-startup-in-linux/</link>
		<comments>http://blog.skiquel.com/2010/03/remove-services-mpd-from-system-startup-in-linux/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 02:57:27 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Config]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[init.d]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mpd]]></category>
		<category><![CDATA[rc.d]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[symlink]]></category>
		<category><![CDATA[update-rc.d]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=546</guid>
		<description><![CDATA[I'm using MPD on Ubuntu and Debian and get annoyed by mpd starting at boot time under root. Your startup services lie in the /etc/rc.d folder. You will observe that ls -l /etc/rc4.d for instance, will show you these files are weighted to run in order and symlink to their corresponding startup scripts in /etc/init.d. [...]]]></description>
			<content:encoded><![CDATA[<p>I'm using <a href="http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki">MPD</a> on Ubuntu and Debian and get annoyed by mpd starting at boot time under root.</p>
<p>Your startup services lie in the <code>/etc/rc.d</code> folder. You will observe that <code>ls -l /etc/rc4.d</code> for instance, will show you these files are weighted to run in order and <a href="http://en.wikipedia.org/wiki/Symbolic_link">symlink</a> to their corresponding startup scripts in <code>/etc/init.d</code>.</p>
<p>To disable mpd, for instance, <code>update-rc.d</code> can help:</p>
<p><code>sudo update-rc.d -f mpd remove</code></p>
<p>Now you will be able to add mpd to a local user script on startup without having to <code>sudo mpd --kill</code> or <code>sudo killall mpd</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2010/03/remove-services-mpd-from-system-startup-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshooting locales in the cloud on debian and ubuntu</title>
		<link>http://blog.skiquel.com/2010/03/troubleshooting-locales-in-the-cloud-on-debian-and-ubuntu/</link>
		<comments>http://blog.skiquel.com/2010/03/troubleshooting-locales-in-the-cloud-on-debian-and-ubuntu/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 14:52:21 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Amazon web services]]></category>
		<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Rackspace Cloud Servers]]></category>
		<category><![CDATA[Slicehost]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[amazon ec2]]></category>
		<category><![CDATA[linode]]></category>
		<category><![CDATA[locales]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=503</guid>
		<description><![CDATA[If you use Amazon EC2 or Rackspace Cloud Servers, you may end up running into this after your create your instance. I often get these on Debian and Ubuntu (since it's debian based also). lennycloud:~# perl perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), [...]]]></description>
			<content:encoded><![CDATA[<p>If you use <a href="http://aws.amazon.com/ec2/">Amazon EC2</a> or <a href="http://www.rackspacecloud.com/cloud_hosting_products/servers">Rackspace Cloud Servers</a>, you may end up running into this after your create your instance. I often get these on Debian and Ubuntu (since it's debian based also).</p>
<p><code>lennycloud:~# perl<br />
perl: warning: Setting locale failed.<br />
perl: warning: Please check that your locale settings:<br />
LANGUAGE = (unset),<br />
LC_ALL = (unset),<br />
LANG = "en_US.UTF-8"<br />
are supported and installed on your system.<br />
perl: warning: Falling back to the standard locale ("C"). </code></p>
<p>You're missing <code>locales</code>.</p>
<p>Update your apt database. <code>sudo apt-get update</code></p>
<p>Download locales. <code>sudo apt-get install locales</code></p>
<p>Now configure it, and download what locales you need. <code>dpkg-reconfigure locales</code> on Debian. <code>sudo locale-gen en_US.UTF-8</code> on Ubuntu Hardy Heron 8.04 (Note: on server, you may be logged in as root).</p>
<p>I pick en_US ISO-8859-1, en_US.ISO-8859-15 ISO-8859-15 and en_US.UTF-8 UTF-8.</p>
<p>And that solves it.</p>
<p>Updated April 03, 2010 to include <code>locale-gen</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2010/03/troubleshooting-locales-in-the-cloud-on-debian-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use s3sync.rb + screen to move your files to the cloud</title>
		<link>http://blog.skiquel.com/2010/03/use-s3sync-rb-screen-to-move-your-files-to-the-cloud/</link>
		<comments>http://blog.skiquel.com/2010/03/use-s3sync-rb-screen-to-move-your-files-to-the-cloud/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 07:26:13 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[Amazon web services]]></category>
		<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[amazon aws]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[recursive]]></category>
		<category><![CDATA[s3]]></category>
		<category><![CDATA[s3sync]]></category>
		<category><![CDATA[s3sync.rb]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[simple storage]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=496</guid>
		<description><![CDATA[Move to your s3sync dir. screen ./s3sync.rb -r /home/tony/backups/ backup:backups -v screen means you will be able to run the command as a screen process. ctrl-d to detach screen, screen -r to resume. -r means recursive copy. /home/tony/backups is where cron stores you backupps. You can replace this with whatever dir you want to sync. [...]]]></description>
			<content:encoded><![CDATA[<p>Move to your <a href="http://s3sync.net/wiki">s3sync</a> dir.</p>
<p><code>screen ./s3sync.rb -r /home/tony/backups/ backup:backups -v</code></p>
<p><code>screen</code> means you will be able to run the command as a <a href="http://www.gnu.org/software/screen/">screen</a> process. ctrl-d to detach screen, <code>screen -r</code> to resume.</p>
<p><code>-r</code> means recursive copy.</p>
<p><code>/home/tony/backups</code> is where cron stores you backupps. You can replace this with whatever dir you want to sync.</p>
<p><code>backups</code> is the name of the bucket.  Do ./s3cmd createbucket <bucket_name> to create your bucket</p>
<p><code>:</code> is a seperator</p>
<p><code>backups</code> is a prefix for the bucket.</p>
<p><code>-v</code> means verbose, so you can see the progress in your screen.</p>
<p>If <code>screen</code> quits too fast, the command may not have worked.</p>
<p>If you detached and screen doesn't resume, your job may done, check your s3 to see if files transferred.</p>
<p>Also, make sure you have your <a href="http://code.google.com/p/s3sync-s3cmd/source/browse/trunk/s3sync/s3config.yml.example?r=2">s3config.yml</a> file ready, you need to copy your key from your <a href="http://aws.amazon.com/">Amazon AWS</a> account.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2010/03/use-s3sync-rb-screen-to-move-your-files-to-the-cloud/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>10-plus essential applications for Windows 7</title>
		<link>http://blog.skiquel.com/2009/12/10-plus-essential-applications-for-windows-7/</link>
		<comments>http://blog.skiquel.com/2009/12/10-plus-essential-applications-for-windows-7/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 00:55:04 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[essentials]]></category>
		<category><![CDATA[freeware]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=249</guid>
		<description><![CDATA[As a full-time Linux user, I'm not a very big Windows fan. However, I'd like to present some apps I zealously adhered to over my old days as a poweruser. When a friend or colleague has a bogged-down system (be it by viruses, badware or general oldness), I often ask if they're willing to Backup [...]]]></description>
			<content:encoded><![CDATA[<p>As a full-time Linux user, I'm not a very big Windows fan. However, I'd like to present some apps I zealously adhered to over my old days as a poweruser.</p>
<p>When a friend or colleague has a bogged-down system (be it by viruses, badware or general oldness), I often ask if they're willing to Backup their Documents/Music and reformat. This means installing applications over again, but the improvements are always substantial.</p>
<p><strong>Updates</strong></p>
<ul>
<li>March 20, 2010 - Dress up article with some screenshots / images.</li>
<li>March 17, 2010 - Added Sumatra PDF, a free, open source PDF viewer.</li>
</ul>
<p><strong>A note</strong></p>
<p><strong> </strong>The install wizards on these programs may bait you into downloading Yahoo! or Ask.com software. If the Terms of Service/Privacy policy in the install wizard says "I agree to xxx and to Installing Yahoo!/Ask.com", Don't check it. Just click next/Install. If you accidentally do, go to Add/Remove apps and uninstall, you don't want them.</p>
<p>Here are some of the apps I download after a fresh OEM install:</p>
<h3>Grab all your essentials in one sitting: Ninite</h3>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/allinone-ninite1.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-643" title="ninite (new)" src="http://blog.skiquel.com/wp-content/uploads/2009/12/allinone-ninite1.png" alt="" width="500" height="143" /></a></p>
<p>Type (License): Freeware (Proprietary)</p>
<p>Website: <a href="http://ninite.com/">http://ninite.com/</a></p>
<p>This program is a deliverance from the almighty himself. Check the boxes for the programs you want to install and it will create a batch installer. You need internet access to do this. It includes everything from Java and Flash to Dropbox, to VLC, to steam, Open Office, Abiword, Skype, etc.</p>
<p>I could end this post right here, but I'll go on.</p>
<h4>Tweaking: TuneUp Utilities 2006-2010</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/tweak-tuneup.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-644" title="tuneup utilities (new)" src="http://blog.skiquel.com/wp-content/uploads/2009/12/tweak-tuneup.png" alt="" width="500" height="143" /></a></p>
<p>Type (License): $49.00 / Demo (proprietary)</p>
<p>Website: <a href="http://www.tune-up.com/products/tuneup-utilities/">http://www.tune-up.com/products/tuneup-utilities/</a></p>
<p>The king of all system control apps. Has full features for performance tweaking, removing junk files, optimizing network settings and even theming. The 2010 version even has a turbo mode that removes system services to make your computer zip. It has <a href="http://www.tune-up.com/products/tuneup-utilities/features/">so many features</a> I can't fit them.</p>
<h4>Privacy / Performance: CCleaner</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/privacy-ccleaner1.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-645" title="ccleaner (new)" src="http://blog.skiquel.com/wp-content/uploads/2009/12/privacy-ccleaner1.png" alt="" width="500" height="143" /></a></p>
<p>Alternative to: TuneUp Utilities</p>
<p>Type (License): Freeware (proprietary)</p>
<p>Website: <a href="http://www.ccleaner.com">http://www.ccleaner.com</a></p>
<p>This is a free registry/cache/junk file cleaner.</p>
<p>Tip: Make sure you go into settings and choose to "Secure delete". Choose the DoD 3-pass clean.</p>
<p>Tip 2: Consider checking the box to erase "Free space" too. Not all the time because it's time-consuming.</p>
<h4>Privacy: Eraser</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/privacy-eraser2.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-646" title="eraser (new)" src="http://blog.skiquel.com/wp-content/uploads/2009/12/privacy-eraser2.png" alt="" width="500" height="143" /></a></p>
<p>Type (License): Freeware (Open Source)</p>
<p>Site: <a href="http://eraser.heidi.ie/">http://eraser.heidi.ie/</a></p>
<p>Description: Delete means delete. Microsoft considers hard drive encryption to be a feature you pay for and its filesystems are extremely insecure (FAT32 has no security, anyone can view anything, NTFS has little). Microsoft is very deceptive that Windows doesn't notify you that you're not really permanently deleting your files until you overwrite them.</p>
<p>Read more about eraser at Stanford's SLAC: <a href="http://www.stanford.edu/services/encryption/desktop/windows/securedelete.html">http://www.stanford.edu/services/encryption/desktop/windows/securedelete.html</a></p>
<p>Tip: Make sure to erase any <em>free space</em> on your hard drive as well.</p>
<p>Tip 2: You can also right click your Recycle bin and securely erase your bin.</p>
<h4>Privacy: Truecrypt</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/privacy-truecrypt1.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-647" title="truecrypt (new)" src="http://blog.skiquel.com/wp-content/uploads/2009/12/privacy-truecrypt1.png" alt="" width="500" height="143" /></a></p>
<p>Alternative to: Microsoft Bitlocker</p>
<p>Type (License): Freeware (Open Source)</p>
<p>Site: <a href="http://truecrypt.org">http://truecrypt.org</a></p>
<p>Even though you'll never need it. You never know when you'll get blindsided. You could lose your laptop, have it stolen, etc. Even having one layer of weak encryption will throw off thieves and give you great peace of mind.</p>
<h4>Lite, Effective Antivirus: NOD32</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/antivirus-nod32.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-633" title="nod32" src="http://blog.skiquel.com/wp-content/uploads/2009/12/antivirus-nod32.png" alt="" width="500" height="143" /></a></p>
<p>Type (License): $40/yr Subscription (Proprietary)</p>
<p>Website: <a href="https://www.eset.de">https://www.eset.de</a></p>
<p>ASM-based virus scanner. Very low memory footprint. Fast.</p>
<p>It also works great when using Windows 7 as a guest (a la VirtualBox)</p>
<h4>Free Antivirus Alternatives</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/antivirus-etc.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-634" title="Antivirus alternatives" src="http://blog.skiquel.com/wp-content/uploads/2009/12/antivirus-etc.png" alt="" width="500" height="143" /></a></p>
<h5>AVG Free</h5>
<p>Type (License): Free (Proprietary)</p>
<p>Website: <a href="http://free.avg.com/de-en/homepage">http://free.avg.com/de-en/homepage</a></p>
<h5>ClamAV</h5>
<p>Type (License): Free (Open Source)</p>
<p>Website: <a href="http://clamwin.com">http://clamwin.com</a></p>
<h5>Micro$oft Security Essentials</h5>
<p>Type (License): Free (Proprietary)</p>
<p>Website: <a href="http://www.microsoft.com/Security_Essentials/">http://www.microsoft.com/Security_Essentials/</a></p>
<h4>Audiophiles: Foobar</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/audio-foobar.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-635" title="Foobar" src="http://blog.skiquel.com/wp-content/uploads/2009/12/audio-foobar.png" alt="" width="500" height="143" /></a></p>
<p>Type (License): Freeware (<a href="http://www.foobar2000.org/?page=License">License</a>)</p>
<p>Website: <a href="http://www.foobar2000.org/">http://www.foobar2000.org/</a></p>
<p>Simple, playlist-based music player with a low memory footprint.</p>
<h4>Torrenting: µtorrent</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/bittorrent-utorrent.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-636" title="utorrent" src="http://blog.skiquel.com/wp-content/uploads/2009/12/bittorrent-utorrent.png" alt="" width="500" height="143" /></a></p>
<p>Website: <a href="http://www.utorrent.com/">http://www.utorrent.com</a></p>
<p>Type (License): Freeware (Proprietary)</p>
<p>Torrent client with tons of features, oddly small size and low-memory footprint. Very stable.</p>
<h4>Office Essentials: Open Office</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/office-openoffice.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-637" title="openoffice" src="http://blog.skiquel.com/wp-content/uploads/2009/12/office-openoffice.png" alt="" width="500" height="143" /></a></p>
<p>Alternative to: Microsoft Office</p>
<p>Website: http://www.openoffice.org</p>
<p>Type (License): Freeware (<a href="http://www.openoffice.org/license.html">License here</a>)</p>
<p>Get all your essentials with OpenOffice. Microsoft Word, Excel and Powerpoint are too pricy.</p>
<h4>PDF Viewer: Sumata</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/pdfviewer-sumatra.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-638" title="pdfviewer-sumatra" src="http://blog.skiquel.com/wp-content/uploads/2009/12/pdfviewer-sumatra.png" alt="" width="500" height="143" /></a></p>
<p>Alternative to: Adobe Reader</p>
<p>Website: <a href="http://blog.kowalczyk.info/software/sumatrapdf/index.html">http://blog.kowalczyk.info/software/sumatrapdf/index.html</a></p>
<p>Type (License): Freeware (Open source)</p>
<p>This is a very lite, stable PDF viewing solution.</p>
<h4>Gaming: Steam</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/gaming-steam.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-639" title="Steam" src="http://blog.skiquel.com/wp-content/uploads/2009/12/gaming-steam.png" alt="" width="500" height="143" /></a></p>
<p>Alternative to: Greedy retailers like Best Buy and Gamestop</p>
<p>Type (License): Freeware (Proprietary)</p>
<p>DRM gaming. But steam takes the pain out of it. No limits on redownloading the software you purchase. Stable. Time-tested. (You can grab this with Ninite too.)</p>
<p>You have to pay for the games, of course. However the long-term benefits of using Steam make it worth it. It saves you from scratched CD's and managing all your cd-keys.</p>
<p>Steam store also offers generous software bundles of related games (Civilization, Valve, etc) and can save you <em>tons</em> of money.</p>
<h4>Virtualization / Guest OS: Virtualbox</h4>
<p><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/virtualization-virtualbox.png" rel="lightbox[249]"><img class="aligncenter size-full wp-image-640" title="virtualbox" src="http://blog.skiquel.com/wp-content/uploads/2009/12/virtualization-virtualbox.png" alt="" width="500" height="143" /></a></p>
<p>Alternative to: VMWare Workstation, VirtualPC</p>
<p>Type (License):  Freeware (<a href="http://www.virtualbox.org/wiki/Licensing_FAQ">License details here</a>)</p>
<p>Website: <a href="http://www.virtualbox.org">http://www.virtualbox.org</a></p>
<p>If you want to try out Linux or keep a sandbox'd operating system to do programming on, VirtualBox is will accept Windows, Linux and *BSD as guest OS's. It'll run on Linux too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2009/12/10-plus-essential-applications-for-windows-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Notes: Repairing a broken G1 / HTC Dream</title>
		<link>http://blog.skiquel.com/2009/12/notes-repairing-a-broken-g1-htc-dream/</link>
		<comments>http://blog.skiquel.com/2009/12/notes-repairing-a-broken-g1-htc-dream/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 23:04:59 +0000</pubDate>
		<dc:creator>Tony Narlock</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[htc dream]]></category>
		<category><![CDATA[t-mobile g1]]></category>

		<guid isPermaLink="false">http://blog.skiquel.com/?p=240</guid>
		<description><![CDATA[Recently had a situation where I borked my G1 / HTC Dream. It took me hours to fix. This isn't a tutorial on how to install third party roms or root your G1, it's more of a troubleshooting thing. Screen would be stuck on the "T-mobile G1 Screen". If it's on there for longer than [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_241" class="wp-caption alignright" style="width: 160px"><a href="http://blog.skiquel.com/wp-content/uploads/2009/12/5654_HTC_Dream-black-open.jpg" rel="lightbox[240]"><img class="size-thumbnail wp-image-241" title="5654_HTC_Dream-black-open" src="http://blog.skiquel.com/wp-content/uploads/2009/12/5654_HTC_Dream-black-open-150x150.jpg" alt="" width="150" height="150" /></a><p class="wp-caption-text">HTC Dream / T-Mobile G1</p></div>
<p>Recently had a situation where I borked my G1 / HTC Dream. It took me hours to fix. This isn't a tutorial on how to install third party roms or root your G1, it's more of a troubleshooting thing.</p>
<p>Screen would be stuck on the "T-mobile G1 Screen". If it's on there for longer than 5-10 minutes, you have have an issue.</p>
<p>Had to pull battery out many times.</p>
<p>SPL to use is HardSPL. Look here: http://code.google.com/p/android-roms/wiki/Install_Hard_SPL. To check your SPL boot holding Camera+Disconnect buttons. Hold camera to switch between Fastboot and serial.</p>
<p>HardSPL includes fastboot. Fastboot lets you flash recovery images when no other options are available. You can grab flashboot for Linux/OS X/Windows at http://developer.htc.com/adp.html.</p>
<p>Fastboot binary may require you type sudo before, for elevated use permissions.</p>
<p><a href="http://developer.android.com/sdk/index.html">Download the SDK</a> for your operating system, move fastboot into the /tools folder. If on linux or OS X, chmod +x fastboot.</p>
<p>$ sudo ./fastboot flash recovery recovery_image.img</p>
<p>Recovery images. <a href="http://forum.xda-developers.com/showthread.php?p=3915123">cm-recovery</a> 1.4 is OK. However <a href="http://forum.xda-developers.com/showthread.php?t=566669">RA-Dream</a> (amon recovery) is superior (supports adb, console and sd card mounting from it). Big time saver because you'll be transferring stuff to/from your SD card often.</p>
<p>Reinstalling Cyanogen sometimes means you may need to install the original HTC 1.6 image (MD5sum: b3e12b004c155761a10b1a848288e0c3) http://www.baroukh.com/adp1/signed-dream_devphone_userdebug-ota-14721.zip</p>
<p>For the fastboot image (no signature for updater to check against, fastboot only, MD5: a06a3d24ff4cbe5c81317e41891e6965): http://www.baroukh.com/adp1/signed-dream_devphone_userdebug-img-14721.zip</p>
<p>Then you can grab Cyanogenmod and upgrade via Recovery: http://forum.xda-developers.com/showthread.php?t=567610</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.skiquel.com/2009/12/notes-repairing-a-broken-g1-htc-dream/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
